Jump to content

Edit History

slawekmoskal

slawekmoskal

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?

 

slawekmoskal

slawekmoskal

Hi.

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?

 

×
×
  • Create New...