13265 - remove "sale by box" for product with 1 article

This commit is contained in:
Rodney Figaro 2017-05-12 17:42:31 +02:00
parent b1ec03723e
commit 63266300b3

View File

@ -46,7 +46,7 @@
<!-- Infos produits --> <!-- Infos produits -->
<div class="md6 sm7 lg-pl0 md-pl0 sm-pl0"> <div class="md6 sm7 lg-pl0 md-pl0 sm-pl0">
<h5 class="product-name" itemprop="name">{$product.name|truncate:60:'...'|escape:'html':'UTF-8'}</h5> <h5 class="product-name" itemprop="name">{$product.name|truncate:60:'...'|escape:'html':'UTF-8'}</h5>
{if (!isset($product.online_only) || !$product.online_only) && isset($product.nb_per_box)} {if (!isset($product.online_only) || !$product.online_only) && isset($product.nb_per_box) && $product.nb_per_box>1}
<span class="product-packing">{l s='Sale by box of'} <span>{$product.nb_per_box}</span> {l s='bottles'}</span> <span class="product-packing">{l s='Sale by box of'} <span>{$product.nb_per_box}</span> {l s='bottles'}</span>
{/if} {/if}