// Fixed shopping cart line reduction
This commit is contained in:
@@ -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}
|
||||
|
||||
Reference in New Issue
Block a user