Additionnal information will not break the template anymore
This commit is contained in:
parent
b8612b7dfd
commit
44da8e13b1
@ -1808,8 +1808,6 @@ body#order table#cart_summary tbody tr.cart_item .cart_description h5 a{
|
|||||||
body#category ul#product_list li div.list-product-price{
|
body#category ul#product_list li div.list-product-price{
|
||||||
font-size:12px;
|
font-size:12px;
|
||||||
padding:0px 2% 0px 4%;
|
padding:0px 2% 0px 4%;
|
||||||
position: absolute;
|
|
||||||
bottom: 10px;
|
|
||||||
}
|
}
|
||||||
body#category ul#product_list li div.list-product-price span.old_price{
|
body#category ul#product_list li div.list-product-price span.old_price{
|
||||||
display:block;
|
display:block;
|
||||||
@ -5123,16 +5121,12 @@ body#product #best-sellers_block_product{
|
|||||||
}
|
}
|
||||||
*/
|
*/
|
||||||
#product_list li div.productQuantityAlert{
|
#product_list li div.productQuantityAlert{
|
||||||
text-align: center;
|
height: 25px;
|
||||||
/*width: 250px;*/
|
|
||||||
margin: 0 !important;
|
|
||||||
padding: 5px 0 !important;
|
|
||||||
/* background-color: #f49cc3;
|
|
||||||
box-shadow: 0px 5px 8px -3px #b5b1b1; */
|
|
||||||
background-color: #fff;
|
background-color: #fff;
|
||||||
/*position: absolute;*/
|
display: block;
|
||||||
bottom: 0px;
|
line-height: 20px;
|
||||||
left: 0;
|
text-align: right;
|
||||||
|
float: right;
|
||||||
}
|
}
|
||||||
.productQuantityAlert p{
|
.productQuantityAlert p{
|
||||||
color: #F45BB7;
|
color: #F45BB7;
|
||||||
|
@ -28,23 +28,6 @@
|
|||||||
{if $product_reduction>0}
|
{if $product_reduction>0}
|
||||||
<span class="reduction">(-{$product_reduction|round|string_format:'%d'}%)</span>
|
<span class="reduction">(-{$product_reduction|round|string_format:'%d'}%)</span>
|
||||||
{/if}
|
{/if}
|
||||||
{if isset($product.quantity_all_versions) && $product.quantity_all_versions <= $last_qties && $product.quantity_all_versions > 0}
|
|
||||||
<div class="productQuantityAlert">
|
|
||||||
{if $product.quantity_all_versions == 1}
|
|
||||||
<p>{l s='Warning: 1 item in stock!' mod='categoryscroll'}</p>
|
|
||||||
{else}
|
|
||||||
<p>{l s='Warning :' mod='categoryscroll'} {$product.quantity_all_versions} {l s='items in stock' mod='categoryscroll'}</p>
|
|
||||||
{/if}
|
|
||||||
</div>
|
|
||||||
{elseif !isset($product.quantity_all_versions) && $product.quantity <= $last_qties && $product.quantity > 0}
|
|
||||||
<div class="productQuantityAlert">
|
|
||||||
{if $product.quantity == 1}
|
|
||||||
<p>{l s='Warning: 1 item in stock!' mod='categoryscroll'}</p>
|
|
||||||
{else}
|
|
||||||
<p>{l s='Warning :' mod='categoryscroll'} {$product.quantity} {l s='items in stock' mod='categoryscroll'}</p>
|
|
||||||
{/if}
|
|
||||||
</div>
|
|
||||||
{/if}
|
|
||||||
{/if}
|
{/if}
|
||||||
{/if}
|
{/if}
|
||||||
{* <span class="gradient">
|
{* <span class="gradient">
|
||||||
@ -55,6 +38,23 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
{if isset($product.quantity_all_versions) && $product.quantity_all_versions <= $last_qties && $product.quantity_all_versions > 0}
|
||||||
|
<div class="productQuantityAlert">
|
||||||
|
{if $product.quantity_all_versions == 1}
|
||||||
|
<p>{l s='Warning: 1 item in stock!' mod='categoryscroll'}</p>
|
||||||
|
{else}
|
||||||
|
<p>{l s='Warning :' mod='categoryscroll'} {$product.quantity_all_versions} {l s='items in stock' mod='categoryscroll'}</p>
|
||||||
|
{/if}
|
||||||
|
</div>
|
||||||
|
{elseif !isset($product.quantity_all_versions) && $product.quantity <= $last_qties && $product.quantity > 0}
|
||||||
|
<div class="productQuantityAlert">
|
||||||
|
{if $product.quantity == 1}
|
||||||
|
<p>{l s='Warning: 1 item in stock!' mod='categoryscroll'}</p>
|
||||||
|
{else}
|
||||||
|
<p>{l s='Warning :' mod='categoryscroll'} {$product.quantity} {l s='items in stock' mod='categoryscroll'}</p>
|
||||||
|
{/if}
|
||||||
|
</div>
|
||||||
|
{/if}
|
||||||
<div class="clearfix"></div>
|
<div class="clearfix"></div>
|
||||||
</li>
|
</li>
|
||||||
{/foreach}
|
{/foreach}
|
||||||
|
@ -56,29 +56,29 @@
|
|||||||
{if $product_reduction>0}
|
{if $product_reduction>0}
|
||||||
<span class="reduction">(-{$product_reduction|round|string_format:'%d'}%)</span>
|
<span class="reduction">(-{$product_reduction|round|string_format:'%d'}%)</span>
|
||||||
{/if}
|
{/if}
|
||||||
{if isset($product.quantity_all_versions) && $product.quantity_all_versions <= $last_qties && $product.quantity_all_versions > 0}
|
|
||||||
<div class="productQuantityAlert">
|
|
||||||
{if $product.quantity_all_versions == 1}
|
|
||||||
<p>{l s='Warning: 1 item in stock!'}</p>
|
|
||||||
{else}
|
|
||||||
<p>{l s='Warning :'} {$product.quantity_all_versions} {l s='items in stock'}</p>
|
|
||||||
{/if}
|
|
||||||
</div>
|
|
||||||
{elseif !isset($product.quantity_all_versions) && $product.quantity <= $last_qties && $product.quantity > 0}
|
|
||||||
<div class="productQuantityAlert">
|
|
||||||
{if $product.quantity == 1}
|
|
||||||
<p>{l s='Warning: 1 item in stock!'}</p>
|
|
||||||
{else}
|
|
||||||
<p>{l s='Warning :'} {$product.quantity} {l s='items in stock'}</p>
|
|
||||||
{/if}
|
|
||||||
</div>
|
|
||||||
{/if}
|
|
||||||
{/if}
|
{/if}
|
||||||
{/if}
|
{/if}
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
{if isset($product.quantity_all_versions) && $product.quantity_all_versions <= $last_qties && $product.quantity_all_versions > 0}
|
||||||
|
<div class="productQuantityAlert">
|
||||||
|
{if $product.quantity_all_versions == 1}
|
||||||
|
<p>{l s='Warning: 1 item in stock!'}</p>
|
||||||
|
{else}
|
||||||
|
<p>{l s='Warning :'} {$product.quantity_all_versions} {l s='items in stock'}</p>
|
||||||
|
{/if}
|
||||||
|
</div>
|
||||||
|
{elseif !isset($product.quantity_all_versions) && $product.quantity <= $last_qties && $product.quantity > 0}
|
||||||
|
<div class="productQuantityAlert">
|
||||||
|
{if $product.quantity == 1}
|
||||||
|
<p>{l s='Warning: 1 item in stock!'}</p>
|
||||||
|
{else}
|
||||||
|
<p>{l s='Warning :'} {$product.quantity} {l s='items in stock'}</p>
|
||||||
|
{/if}
|
||||||
|
</div>
|
||||||
|
{/if}
|
||||||
<div class="clearfix"></div>
|
<div class="clearfix"></div>
|
||||||
</li>
|
</li>
|
||||||
{/foreach}
|
{/foreach}
|
||||||
|
Loading…
Reference in New Issue
Block a user