Jump to content

Category (second) ID variable


Recommended Posts

Hi.

Prestashop 1.7.4.

My product belongs to two category - ID=10 and ID=510.

If the product belongs to category ID = 510, I want to display something extra.

ID = 510 is not a default category.

{if $product.id_category == 510 }, {if $id_category == 510 } - did not work.

Anyone have any idea?

 

Edited by slawekmoskal (see edit history)
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...