Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.

Category specific specials


Recommended Posts

The owner of the site that I am working on wants a Specials box which is category specific. That is, instead of Specials picked at random from an array of all products, rather they would be picked from the category or subcategory currently being viewed (in the center column). For instance, if one were viewing the Jewelry category, one would see one of several Jewelry specials in the Specials box.


In specials.php I put in the following to test category identification.


if ($current_category_id=="25")
echo "This is the Jewelry category";
echo "This is not the Jewelry category";


This works, but I am stumped as to how to pick and display the Specials products in given categories.


-Help would be appreciated and thanks in advance.

Link to comment
Share on other sites


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

  • Create New...