Jump to content

How to check for category in smarty on the product page?

Recommended Posts



I would appreciate some help with this.


I need to display different "Add to cart" button depending on the category the specific product's in. 

E.g. display a "Buy" button for certain product and an "Order" button for different ones. 


Is it achievable with a smarty {if} statement? Do I need to modify any php files?


Please help. Thanks!

Edited by darekm (see edit history)
  • Like 1
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Create New...