JohnHalflord Posted October 14, 2014 Share Posted October 14, 2014 Hi, i need to create if statement on product page, whether the product is in one specific category. What is the code for this? Thanks Link to comment Share on other sites More sharing options...
DrunkBug Posted October 14, 2014 Share Posted October 14, 2014 Use smarty variable {$id_category_current} if you need category id, or use {$return_category_name}, if you need category name. Link to comment Share on other sites More sharing options...
JohnHalflord Posted October 14, 2014 Author Share Posted October 14, 2014 yes, this is what i was searching for. thanks Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now