Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Category Specific Info Boxes


Guest

Recommended Posts

Posted

Is anyone familiar with how I can designate a custom made Info Box to show only when a user is on a specific category?

Thanks in advance for your help.

 

Goodebox

Posted

you could duplicate the catalog\includes\boxes\information.php to custom.php. Then add whatever custom info you want. On your catalog\includes\column_left.php (or column_right.php) add the box with the category condition.

 

if( isset($current_category_id) && $current_category_id == 5)
 include(DIR_WS_BOXES . 'custom.php');

 

just change the 5 with whatever category id needs to be displayed as the specific category id.

Archived

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

×
×
  • Create New...