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