View Single Post
  #3  
Old 01-05-2004, 01:49 PM
 
Xixao Xixao is offline
 

Advanced Member
  
Join Date: Dec 2003
Posts: 32
 

Default

This is pretty obvious code, but I thought I'd add it here, cause it makes the addition look a lot cleaner. Replace the code listed above with:

Quote:

{if $cart.coupon_discount ne 0}
<center>A coupon code has already been used on this order</center>
{else}
{if $active_modules.Discount_Coupons ne ""}
{include file="modules/Discount_Coupons/add_coupon.tpl}
{/if}
{/if}



That's it. Just a few extras. Nothing special.
Reply With Quote