Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Category Image


glamourfish

Recommended Posts

Hi All,

 

I think Oscommerce has this feature but i some how scewed mine up and it no longers works. I am wanting to have an image display when I select a category. Say I have 3 Main categories:

Bikes

Cars

Trailors

When you click on "bikes" to show thw sub categories, I want an image of a bike to appear in the main area of the page. Make sense...any suggestions/help?

 

 

THANKS!!!

if at first you do succeed...try not to look surprised!

Link to comment
Share on other sites

you should check your catalog\index.php first for some code like:

 

<td class="pageHeading"><?php echo HEADING_TITLE; ?></td>
		<td class="pageHeading" align="right"><?php echo tep_image(DIR_WS_IMAGES . $category['categories_image'], $category['categories_name'], HEADING_IMAGE_WIDTH, HEADING_IMAGE_HEIGHT); ?></td>

Its where the categories image appears. You could also verify with your osc admin that the categories image exists. If you have a template its possible this code is controlled by the catalog\includes\header.php.

Link to comment
Share on other sites

Thanks a mill! Yep - i can't seem to find that line of code any place & I am using a template. Anything else I should be looking for? Or how can i add it back in? Do i just add it into the index.php file or will i need to add it to some other files as well?

if at first you do succeed...try not to look surprised!

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...