Merge branch 'bootstrap' of https://github.com/PrestaShop/PrestaShop into bootstrap

This commit is contained in:
Kevin Granger
2013-11-05 16:42:24 +01:00
@@ -44,8 +44,8 @@
{/if}
{if isset($product.is_discounted) && $product.is_discounted}
<span class="price-percent-reduction small">
{assign var='priceReductonPercent' value= (($product.price_without_specific_price - $product.price)/$product.price_without_specific_price) * 100 * -1}
{$priceReductonPercent|string_format:"%d"}%
{assign var='priceReductonPercent' value=(($product.price_without_specific_price - $product.price_wt)/$product.price_without_specific_price) * 100 * -1}
{$priceReductonPercent|round|string_format:"%d"}%
</span>
<span class="old-price">{convertPrice price=$product.price_without_specific_price}</span>
{/if}