Merge branch 'ticket/r13265-hide-product-text'
This commit is contained in:
commit
e747d2b070
@ -46,9 +46,11 @@
|
||||
<!-- Infos produits -->
|
||||
<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>
|
||||
{if (!isset($product.online_only) || !$product.online_only) && isset($product.nb_per_box)}
|
||||
<span class="product-packing">{l s='Sale by box of'} <span>{$product.nb_per_box}</span> {l s='bottles'}</span>
|
||||
<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'}
|
||||
{/if}
|
||||
</span>
|
||||
|
||||
<div class="product-details">
|
||||
<!-- Prix -->
|
||||
@ -57,9 +59,11 @@
|
||||
<div class="price">
|
||||
{if !isset($product.online_only) || !$product.online_only}
|
||||
{if isset($unitPrice)}
|
||||
<span class="unit-price">{displayPriceWithTaxTag price=$unitPrice} <span class="packing">/{if isset($product.unity)}{$product.unity}{/if}</span></span>
|
||||
<span class="unit-price">{displayPriceWithTaxTag price=$unitPrice} {if isset($product.nb_per_box) && $product.nb_per_box>1}<span class="packing">/{if isset($product.unity)}{$product.unity}{/if}</span>{/if}</span>
|
||||
{/if}
|
||||
{if isset($product.nb_per_box) && $product.nb_per_box>1}
|
||||
<span itemprop="price" class="current-price">{l s='soit'} {if !$priceDisplay}{displayPriceWithTaxTag price=$product.price}{else}{displayPriceWithTaxTag price=$product.price_tax_exc}{/if}<span> {l s='la boite'}</span></span>
|
||||
{/if}
|
||||
{else}
|
||||
<span class="unit-price">{if !$priceDisplay}{displayPriceWithTaxTag price=$product.price}{else}{displayPriceWithTaxTag price=$product.price_tax_exc}{/if}</span>
|
||||
{/if}
|
||||
|
Loading…
Reference in New Issue
Block a user