Rajout de l'unité
This commit is contained in:
@@ -88,7 +88,16 @@ div.container {
|
|||||||
background-color: #95c11e;
|
background-color: #95c11e;
|
||||||
border-left: 0;
|
border-left: 0;
|
||||||
border-color: #95c11e;
|
border-color: #95c11e;
|
||||||
|
color: white;
|
||||||
}
|
}
|
||||||
|
.btn-primary:hover,
|
||||||
|
.btn-primary:focus {
|
||||||
|
background-color: white;
|
||||||
|
border-left: 0;
|
||||||
|
border-color: white;
|
||||||
|
color: #95c11e;
|
||||||
|
}
|
||||||
|
|
||||||
.navbar-default .navbar-nav>li>a {
|
.navbar-default .navbar-nav>li>a {
|
||||||
color: #3c3c3b;
|
color: #3c3c3b;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -206,21 +206,8 @@
|
|||||||
{* List of currency : The currency used to describe the product price, in three-letter ISO format. *}
|
{* List of currency : The currency used to describe the product price, in three-letter ISO format. *}
|
||||||
<meta itemprop="priceCurrency" content="{currency attr="code"}">
|
<meta itemprop="priceCurrency" content="{currency attr="code"}">
|
||||||
|
|
||||||
<span id="pse-promo">
|
{ifloop rel="dp"}
|
||||||
<span class="special-price">
|
{loop type="digressive" name="dp" product_id=$product_id quantity=1}
|
||||||
{ifloop rel="dp"}
|
|
||||||
{loop type="digressive" name="dp" product_id=$product_id quantity=1}
|
|
||||||
<span class="price-label">{intl l="Special Price:"} </span><span id="pse-price" class="price">
|
|
||||||
{if $IS_PROMO}
|
|
||||||
{format_money number=$TAXED_PROMO_PRICE symbol={currency attr="symbol"}}
|
|
||||||
{else}
|
|
||||||
{format_money number=$TAXED_PRICE symbol={currency attr="symbol"}}
|
|
||||||
{/if}
|
|
||||||
{intl l="unite"}
|
|
||||||
</span>
|
|
||||||
{/loop}
|
|
||||||
{/ifloop}
|
|
||||||
{elseloop rel="dp"}
|
|
||||||
<span id="pse-promo">
|
<span id="pse-promo">
|
||||||
<span class="special-price"><span class="price-label">{intl l="Special Price:"} </span><span id="pse-price" class="price">{format_money number=$TAXED_PROMO_PRICE symbol={currency attr="symbol"}}</span></span>
|
<span class="special-price"><span class="price-label">{intl l="Special Price:"} </span><span id="pse-price" class="price">{format_money number=$TAXED_PROMO_PRICE symbol={currency attr="symbol"}}</span></span>
|
||||||
<meta itemprop="price" content="{if $IS_PROMO}{$TAXED_PROMO_PRICE}{else}{$TAXED_PRICE}{/if}">
|
<meta itemprop="price" content="{if $IS_PROMO}{$TAXED_PROMO_PRICE}{else}{$TAXED_PRICE}{/if}">
|
||||||
@@ -229,15 +216,25 @@
|
|||||||
<span class="old-price"><span class="price-label">{intl l="Regular Price:"} </span><span id="pse-price-old" class="price">{format_money number=$TAXED_PRICE}</span></span>
|
<span class="old-price"><span class="price-label">{intl l="Regular Price:"} </span><span id="pse-price-old" class="price">{format_money number=$TAXED_PRICE}</span></span>
|
||||||
{/if}
|
{/if}
|
||||||
</span>
|
</span>
|
||||||
{/elseloop}
|
{/loop}
|
||||||
</span>
|
{/ifloop}
|
||||||
|
{elseloop rel="dp"}
|
||||||
|
<span id="pse-promo">
|
||||||
|
<span class="special-price"><span class="price-label">{intl l="Special Price:"} </span><span id="pse-price" class="price">{format_money number=$TAXED_PROMO_PRICE symbol={currency attr="symbol"}}</span></span>
|
||||||
<meta itemprop="price" content="{if $IS_PROMO}{$TAXED_PROMO_PRICE}{else}{$TAXED_PRICE}{/if}">
|
<meta itemprop="price" content="{if $IS_PROMO}{$TAXED_PROMO_PRICE}{else}{$TAXED_PRICE}{/if}">
|
||||||
|
|
||||||
{if $SHOW_ORIGINAL_PRICE}
|
{if $SHOW_ORIGINAL_PRICE}
|
||||||
<span class="old-price"><span class="price-label">{intl l="Regular Price:"} </span><span id="pse-price-old" class="price">{format_money number=$TAXED_PRICE}</span></span>
|
<span class="old-price"><span class="price-label">{intl l="Regular Price:"} </span><span id="pse-price-old" class="price">{format_money number=$TAXED_PRICE}</span></span>
|
||||||
{/if}
|
{/if}
|
||||||
</span>
|
</span>
|
||||||
|
{/elseloop}
|
||||||
</div>
|
</div>
|
||||||
|
<!-- Affichage de l'unité (au kg, à l'unité) //-->
|
||||||
|
{if $pse_count = 1}
|
||||||
|
{loop name="attributes" type="attribute" product="$product_id" order="manual"}
|
||||||
|
<span class="unite">{$TITLE}</span>
|
||||||
|
{/loop}
|
||||||
|
{/if}
|
||||||
|
|
||||||
<div id="pse-validity" class="validity alert alert-warning" style="display: none;" >
|
<div id="pse-validity" class="validity alert alert-warning" style="display: none;" >
|
||||||
{intl l="Sorry but this combination does not exist."}
|
{intl l="Sorry but this combination does not exist."}
|
||||||
|
|||||||
Reference in New Issue
Block a user