Rayna Butler Posted August 14, 2020 Share Posted August 14, 2020 I like to show content on product pages only when the product is in a dedicated category and their subcategories. I do this in product.tpl like this at the moment. {if $category->id == 614 OR $category->id == 532 OR $category->id == 657 OR $category->id == 658 } ... {/if} I am pretty sure there is a better way like "if $category->id == 614 and all subcategories" How can I achieve that in Prestashop 1.6.1.24 Thanks, Dirk 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