Re: Adding a blank line..
OK, leave the original if statement as it was then:
{if $discount gt 0}
<font class="MarketPrice">{$lng.lbl_market_price}: <s>
{include file="currency.tpl" value=$products[product].list_price}
</s></font><br />
{/if}
Just before that if statement, there should be another if statement that starts:
{if $products[product].list_price gt 0 and $products[product].taxed_price lt $products[product].list_price}
We will use that for the {else}
Add this then, immediately after your first, original if statement.
{else}
<br /><br />
So you should have something looking like this:
{if $products[product].list_price gt 0 and $products[product].taxed_price lt $products[product].list_price}
{math equation="100-(price/lprice)*100" price=$products[product].taxed_price lprice=$products[product].list_price format="%3.0f" assign=discount}
{if $discount gt 0}
<font class="MarketPrice">{$lng.lbl_market_price}: <s>
{include file="currency.tpl" value=$products[product].list_price}
</s></font><br />
{/if}
{else}
<br /><br />
{/if}
Let me know if that makes sense.
|