label promo
This commit is contained in:
parent
95af59f476
commit
1cd90dd595
@ -4067,6 +4067,15 @@ main#categorycms { margin-bottom: 30px }
|
||||
background: #e4535d;
|
||||
color: #fff;
|
||||
}
|
||||
#product #buy_block .price-percent-reduction {
|
||||
background: #ffd51b;
|
||||
display: block;
|
||||
font-size: 28px;
|
||||
margin: -15px -30px 0 -30px;
|
||||
padding: 12px 15px 8px 15px;
|
||||
text-align: center;
|
||||
z-index: 5;
|
||||
}
|
||||
#product #image-block .product-new-label {
|
||||
background: #529bb6;
|
||||
color: #fff;
|
||||
@ -4498,6 +4507,7 @@ main#categorycms { margin-bottom: 30px }
|
||||
#product #main-info .pictos .picto:nth-child(even) { padding-left: 15px; }
|
||||
#product #main-info .pictos .picto .img { width: 100px; text-align: center; }
|
||||
#buy_block { padding-right: 15px; padding-left: 15px; }
|
||||
#product #buy_block .price-percent-reduction { padding-left: 10px; padding-right: 10px; margin: -15px -15px 0 -15px }
|
||||
|
||||
}
|
||||
/*************************************************************************************************************
|
||||
|
@ -219,6 +219,9 @@
|
||||
{if $product->on_sale && !$isFlash}
|
||||
<span class="solde">{l s='En solde !'}</span>
|
||||
{/if}
|
||||
{if $percentReduction}
|
||||
<span class="price-percent-reduction">{if $isFlash}{l s='Vente Flash'}{else}{l s='Promo'}{/if} | -{$percentReduction}%</span>
|
||||
{/if}
|
||||
{if $product->show_price && !isset($restricted_country_mode) && !$PS_CATALOG_MODE}
|
||||
<!-- prices -->
|
||||
<div>
|
||||
|
Loading…
Reference in New Issue
Block a user