Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Display products at top level on homepage


ozmart2005

Recommended Posts

Posted

I have what is a normal Osc installation. I have been playing around with it for a while but the only problem I can't seem to figure out is why my products at the top level don't display on the home page (I believe they should, right?). I have three categories with a number of sub-categories each and I have three sample products at the top level, but they don't display.

 

Can anyone tell me how to fix this, specifically:

1. Which file(s) governs the products displaying

2. Which piece(s) of php code are used

 

I may have inadvertantly commented something out. Thanks.

Posted
I have what is a normal Osc installation. I have been playing around with it for a while but the only problem I can't seem to figure out is why my products at the top level don't display on the home page (I believe they should, right?). I have three categories with a number of sub-categories each and I have three sample products at the top level, but they don't display.

 

Can anyone tell me how to fix this, specifically:

1. Which file(s) governs the products displaying

2. Which piece(s) of php code are used

 

I may have inadvertantly commented something out. Thanks.

 

Products are usually never displayed on the home page when not part of an infobox like "new product for july"

One must click on a category first.

 

The file controlling the product display is the same as the home page (frustrating, isn;t it?;-).

catalog/index.php renders the HTML code that you see dynamically, that means it changes depending on the category links you click on.

 

I would not recommend to play with the php code of index.php if you don't know too much what you are doing.

One thing you can start with is:

1) make your home page content blank by deleting all the text that is displayed in the index.php center part by going to this file (WHICH IS NOT THE MAIN INDEX.PHP FILE, but it's language definition):

 

catalog/includes/languages/english/index.php

 

and remove the blah blah that you will see there

 

2) change the settings of your new products infobox by playing with your store maximum values in admin, so you will be able to display only a big infobox with 10 or 20 products for example

Archived

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

×
×
  • Create New...