<{if $couponlist}> <{foreach from=$cartData.couponlist item=coupon}>
<{/foreach}> <{else}> <{/if}>