Si nécessaire, on affiche le prix remisé dans la page produit (en plus du prix normal)

This commit is contained in:
2021-03-24 11:27:07 +01:00
parent d81d190d5e
commit 41cbee5e3c

View File

@@ -164,12 +164,14 @@
{$available = true} {$available = true}
<span class="regular-price col-xs-12"> <span class="regular-price col-xs-12">
<span itemprop="price" class="price"> <span itemprop="price" class="price">
<span class="special-price"><span class="price-label">{intl l="Special Price:"} </span><span class="price">{format_money number=$PRICE symbol={currency attr="symbol"}}</span></span> <span class="special-price"><span class="price-label">{intl l="Special Price:"} </span><span class="price"{if $PRICE neq $PRICE_REMISE} style="text-decoration:line-through;"{/if}>{format_money number=$PRICE symbol={currency attr="symbol"}}</span></span>
</span> </span>
</span> </span>
{*Prix remisé: <span class="price_remise">{format_money number=$PRICE_REMISE symbol={currency attr="symbol"}}</span> {if $PRICE neq $PRICE_REMISE}
Remise: -<span class="remise">{$REMISE}</span>% Prix remisé : <span class="price_remise"><strong>{format_money number=$PRICE_REMISE symbol={currency attr="symbol"}}</strong></span>
Nb jours: <span class="nb_jours">{$NB_JOURS}</span> jour(s)*} - Remise : -<span class="remise">{$REMISE}</span>%
- Nb jours : <span class="nb_jours">{$NB_JOURS}</span> jour(s)
{/if}
{/loop} {/loop}
{elseloop rel='disponibilite'} {elseloop rel='disponibilite'}