Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Category specific banners


beckerm

Recommended Posts

the banner HTML code is in catalog\includes\footer.php It calls the banner functions (includes\functions\banner.php) where you could test a variable like $current_category_id.

 

In the banner manager you add an extra field to store the categories_id, a specific banner is shown.

 

Then in the banner function you adjust the query to pickup banners shown for this category and return the banner_url

Link to comment
Share on other sites

http://www.oscommerce.com/community/contributions,2511/

 

I have installed this and I am very happy. Just need to figure out the french is all.

 

 

the banner HTML code is in catalog\includes\footer.php It calls the banner functions (includes\functions\banner.php) where you could test a variable like $current_category_id.

 

In the banner manager you add an extra field to store the categories_id, a specific banner is shown.

 

Then in the banner function you adjust the query to pickup banners shown for this category and return the banner_url

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...