Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

editing the "New Products For.." box on index.php


Guest

Recommended Posts

Posted

I have on the front page under "New Products For August" 6 products in a table.

cn someone direct me on which file I need to edit if I want to have only 4 items instaed of 6?

 

I checked includes/moudles/new_products.php but it looks to me like I can only edit the info displayed there but not the table itself.

 

thanks in advanced.

Jane.

Posted

This may do it, I'm not sure.

 

In your Admin under: Configuration -> Maximum Values in the field "New Products Listing"

 

If it's set at 6 now, change it to 4 and see what happens.

If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you.

 

"Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice."

- Me -

 

"Headers already sent" - The definitive help

 

"Cannot redeclare ..." - How to find/fix it

 

SSL Implementation Help

 

Like this post? "Like" it again over there >

Posted

thanks alot Jim. that did it. however where is the related html that I can edit? I would like to assign my own css classes to the boxes.

Posted

It's all in stylesheet.css

 

Without more info about exactly what it is you want to change, I can't be any more help than that.

:blush:

If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you.

 

"Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice."

- Me -

 

"Headers already sent" - The definitive help

 

"Cannot redeclare ..." - How to find/fix it

 

SSL Implementation Help

 

Like this post? "Like" it again over there >

Posted

I have STS and my custom template. on my index.php there is the placeholder for the "whats new in..." which shows me now 4 products.

looking with firebug I can see the actual html table, but I can't find the file where its located.

 

please see the screenshot you'll understand me better.

 

 

oscgj5.png

Posted

In your stylesheet.css

 

It will look something like this:

 

.infoBoxContents {
 background: #f8f8f9;
 font-family: Verdana, Arial, sans-serif;
 font-size: 10px;
}

Your style will be different.

 

Look for the beginning line:

 

.infoBoxContents {

I don't know anything about STS or if this affects where you look/what you change...

:huh:

If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you.

 

"Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice."

- Me -

 

"Headers already sent" - The definitive help

 

"Cannot redeclare ..." - How to find/fix it

 

SSL Implementation Help

 

Like this post? "Like" it again over there >

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...