Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Where is code for controlling category images?


Zorreaux

Recommended Posts

There is an image in the heading, to the right of the "Let's see what we have here" line and the "Show All Manufacturers" pulldown menu. Where is the code that controls that? I want to eliminate both the image and the pulldown.

Link to comment
Share on other sites

Hi

To remove the image

In your index.php around line 272 find

<td align="right"><?php echo tep_image(DIR_WS_IMAGES . $image, HEADING_TITLE, HEADING_IMAGE_WIDTH, HEADING_IMAGE_HEIGHT); ?></td>

 

change it to

 

<td align="right"><?php// echo tep_image(DIR_WS_IMAGES . $image, HEADING_TITLE, HEADING_IMAGE_WIDTH, HEADING_IMAGE_HEIGHT); ?></td>

 

The manufacturers filter in a setting in admin / configuration / product listing. set it to 0

 

Nic

Sometimes you're the dog and sometimes the lamp post

[/url]

My Contributions

Link to comment
Share on other sites

  • 1 month later...

Hi,

 

how do i get the category/manufacturer images to display only if available and not have the red x if they are not available.

 

I have STS and header tags modules installed.

 

Thanks

 

Johnny

Getting better with mods but no programmer am I.

Link to comment
Share on other sites

how do i get the category/manufacturer images to display only if available and not have the red x if they are not available.
In admin >> Configuration >> Images, set Images Required to false. Not sure if STS does anything to change that behavior or not. Fairly certain that Header Tags does not.

Always back up before making changes.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...