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

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