I have written my code like this,
{if $quant eq 1}
{if $val neq ""}
.....//some code
{else}
.....//some code
{/if}
{else if $quant eq 0}
.....//some code
{/if}
but the above nested smarty if condition is not working as expected and it always give the results in else condition.Can anyone help me please, Don't know where am making mistake...
In smarty you have to write if else condition like that:
OR
I hope this would help you.