Jump to content

Как правильно задать условие в product-list.tpl


Recommended Posts

Кто может подсказать как правильно задать условия в product-list.tpl 

Если у товара есть комбинации выводим ожно слово, если нету то скрывает его.

 

Пробовал такой вариант, работает не корректно.

{if isset($product->groups) == 0} style="display:none"{/if}
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...