Current path: home/webdevt/www/schtroumpf.fr/themes/stomp/templates/catalog/_partials/
?? Go up: /home/webdevt/www/schtroumpf.fr/themes/stomp/templates/catalog
{block name='product_flags'}
<ul class="product-flags {if (isset($smarty.get.view) and $smarty.get.view == 'leftcol') or (Module::isEnabled('an_theme') and Module::getInstanceByName('an_theme')->getParam('productslider_minisPos') == 'left')}flags-left{/if}">
{foreach from=$product.flags item=flag}
<li class="product-flag {$flag.type}">{$flag.label}</li>
{/foreach}
{if $product.has_discount}
{if $product.discount_type === 'percentage'}
<li class="product-flag discount discount-percentage">{$product.discount_percentage_absolute}</li>
{else}
<li class="product-flag discount discount-amount">
{l s='Save %amount%' d='Shop.Theme.Catalog' sprintf=['%amount%' => $product.discount_to_display]}
</li>
{/if}
{/if}
</ul>
{/block}