Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

How can I remove images from search result


Guest

Recommended Posts

if you want to maintain the images in product listing but change them for the advanced search then one way would be:

 

1. Duplicate the catalog\includes\modules\product_listing.php file and give it a different name with a definition in the filenames.php so you can use it.

2. Modify the new file to exclude the image column.

3. Modify the catalog\advanced_search_result.php

 

from this:

  require(DIR_WS_MODULES . FILENAME_PRODUCT_LISTING);

 

to this

  require(DIR_WS_MODULES . FILENAME_SEARCH_PRODUCT_LISTING);

 

where the FILENAME_SEARCH_PRODUCT_LISTING should be the definition for your new file in the filenames.php

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...