For MPC beside Current price display also Old price if discounted
This commit is contained in:
@@ -1,6 +1,11 @@
|
||||
{if $mpc}
|
||||
<div class="b2c-price-block mpcrender">
|
||||
<span class="b2c-price-label">MPC:</span>
|
||||
<span class="b2c-price">{$mpc}</span>
|
||||
</div>
|
||||
{if isset($mpc_new) && $mpc_new > 0}
|
||||
<div class="b2c-price-block mpcrender">
|
||||
<span class="b2c-price-label">MPC:</span>
|
||||
|
||||
{if isset($mpc_old) && $mpc_old > $mpc_new}
|
||||
<span class="price price--regular">{$mpc_old}</span>
|
||||
{/if}
|
||||
|
||||
<span class="b2c-price">{$mpc_new}</span>
|
||||
</div>
|
||||
{/if}
|
||||
Reference in New Issue
Block a user