13265 - replace text "bottle" by product unity in product list

This commit is contained in:
Rodney Figaro 2017-05-30 18:18:12 +02:00
parent e33755356c
commit 62ade27516

View File

@ -48,7 +48,7 @@
<h5 class="product-name" itemprop="name">{$product.name|truncate:60:'...'|escape:'html':'UTF-8'}</h5>
<span class="product-packing">
{if (!isset($product.online_only) || !$product.online_only) && isset($product.nb_per_box) && $product.nb_per_box>1}
{l s='Sale by box of'} <span>{$product.nb_per_box}</span> {l s='bottles'}
{l s='Sale by box of'} <span>{$product.nb_per_box}</span> {$product.unity}{if !empty({$product.unity})}s{/if}
{/if}
</span>