{block name='product_flags'} <ul class="product-flags js-product-flags"> {if (isset($category->id) && $category->id == 9) || (isset($category.id) && $category.id == 9)} <li class="product-flag">{l s='Refurb'}</li> {elseif (isset($category->id) && $category->id != 15) || (isset($category.id) && $category.id != 15)} {foreach from=$product.flags item=flag} <li class="product-flag {$flag.type}">{$flag.label}</li> {/foreach} {/if} </ul> {/block}
utilisez les bon id category