View Single Post
  #2  
Old 02-13-2008, 04:06 PM
  cflsystems's Avatar 
cflsystems cflsystems is offline
 

Veteran
  
Join Date: Apr 2007
Posts: 14,201
 

Default Re: Coupon box on final page of Checkout

Hey balinor,

That was bodering me too. Very nice and clean solution. Thanks for posting it. I did try it on my test site and it seems to work fine. I put the code between the cart and payment method selector. The coupon was applied with the correct amount and everything. Even when I went back to "View Cart" after applying the coupon, the cart was showing the amouth as discounted as I think it should. I also tested it with adding more products, changing the quantity in the cart, removing items from the cart... it was changing the discount number accordingly. The test checkout went fine and order was placed with the discount. So I thing it works the way you have it. At least for what I've checked.
One thing though - I just saw that after a coupon is applied the cart table listing the products also lists the coupon discount for each product but the title on the table, the label "discount" under subtotal, and on the invoice doesnt show how much is the discount. Not the amount taken off but the coupon itself - 5%, or $5, ... Is there any way to show this? Now customers will only see that there is a discount applied but they will have no idea what kind of discount.
__________________
Steve Stoyanov
CFLSystems.com
Web Development
Reply With Quote