Author Topic: coupon code not working  (Read 17315 times)

rotaryswing

  • Jr. Member
  • **
  • Posts: 17
    • View Profile
coupon code not working
« on: September 04, 2008, 10:04:57 AM »
I've checked to make sure the module is installed and created a promotion that requires a coupon. It is at http://www.oneplanegolfswing.com:8780/konakart/Welcome.do

When you add the coupon code "golfsmart" nothing happens, although it should take 15% off the price. The date is active.

pete

  • Administrator
  • Sr. Member
  • *****
  • Posts: 226
    • View Profile
    • KonaKart Website
Re: coupon code not working
« Reply #1 on: September 04, 2008, 10:11:54 AM »
Does it work in the checkout screen ?
Do you get anything in the log ?
Have you set up a default customer so that it can estimate the shipping costs when someone isn't logged in. http://www.konakart.com/configurationfaq.php#What_is_a_default_customer_

rotaryswing

  • Jr. Member
  • **
  • Posts: 17
    • View Profile
Re: coupon code not working
« Reply #2 on: September 04, 2008, 10:50:22 AM »
The default customer trick fixed it, sorry!

pete

  • Administrator
  • Sr. Member
  • *****
  • Posts: 226
    • View Profile
    • KonaKart Website
Re: coupon code not working
« Reply #3 on: September 04, 2008, 10:58:56 AM »
That's OK. In the Order Totals section of the Admin App you should make the sort order of the "Total" order total, greater than that of the "discount" order total otherwise the discount won't get subtracted.

rotaryswing

  • Jr. Member
  • **
  • Posts: 17
    • View Profile
Re: coupon code not working
« Reply #4 on: September 04, 2008, 08:04:27 PM »
Ok, I changed the sort order of total to 99, the product discount is 22, order total discount is 20. After changing it, now the discount doesn't show up at all. Before I changed the total to 99 it showed up, but didn't give the discount once transferred to PayPal.

rotaryswing

  • Jr. Member
  • **
  • Posts: 17
    • View Profile
Re: coupon code not working
« Reply #5 on: September 04, 2008, 08:17:04 PM »
Also now when I use the coupon code "softlaunch" on the order confirmation page, nothing happens at all.

http://www.oneplanegolfswing.com:8780/konakart

pete

  • Administrator
  • Sr. Member
  • *****
  • Posts: 226
    • View Profile
    • KonaKart Website
Re: coupon code not working
« Reply #6 on: September 05, 2008, 12:15:30 AM »
Quote
Ok, I changed the sort order of total to 99, the product discount is 22, order total discount is 20. After changing it, now the discount doesn't show up at all. Before I changed the total to 99 it showed up, but didn't give the discount once transferred to PayPal.

Are you sure that you only changed the sort order ? Take a look at our online demo (which works). The ordering we use is :
Order Total Discount : 20
Product Discount      : 22
Total                      : 40

rotaryswing

  • Jr. Member
  • **
  • Posts: 17
    • View Profile
Re: coupon code not working
« Reply #7 on: September 05, 2008, 07:39:34 AM »
Yes, but either way, I changed the numbers to match yours and the result is still the same, it does not show up at all now.

rotaryswing

  • Jr. Member
  • **
  • Posts: 17
    • View Profile
Re: coupon code not working
« Reply #8 on: September 05, 2008, 07:53:30 AM »
Ok, I've got it working to where it shows the discount on the page. On the shopping cart page, it takes it off but then you have to re-enter the code on the actual checkout page. That's problem 1. The second is that once it forwards to paypal, the deduction is no longer there.

pete

  • Administrator
  • Sr. Member
  • *****
  • Posts: 226
    • View Profile
    • KonaKart Website
Re: coupon code not working
« Reply #9 on: September 05, 2008, 09:23:55 AM »
Quote
Ok, I've got it working to where it shows the discount on the page. On the shopping cart page, it takes it off but then you have to re-enter the code on the actual checkout page. That's problem 1. The second is that once it forwards to paypal, the deduction is no longer there.

1. The coupon does have to be rentered during checkout. The cart page is really just a place where you should be able to see details (shipping, promotion etc.) so that you aren't forced to register to see that stuff. It frustrates people to have to register in order to see how much shipping will cost. In some cases, after logging in, the promotion may not even apply to you any more. You could always save the coupon code on the session and use it for checkout if that is what you want.

2. Is order total the last item in the sort order ?

rotaryswing

  • Jr. Member
  • **
  • Posts: 17
    • View Profile
Re: coupon code not working
« Reply #10 on: September 05, 2008, 09:57:40 AM »
Yes, coupon code is last in the sort at 40, next down is shipping at 25 and then discounts at 22 and 20

rotaryswing

  • Jr. Member
  • **
  • Posts: 17
    • View Profile
Re: coupon code not working
« Reply #11 on: September 05, 2008, 11:15:19 AM »
Just to confirm nothing was hosed accidentally, I did a fresh install and got the exact same behavior, everything looks great and then when it goes to paypal it shows the total without the discount.

pete

  • Administrator
  • Sr. Member
  • *****
  • Posts: 226
    • View Profile
    • KonaKart Website
Re: coupon code not working
« Reply #12 on: September 05, 2008, 11:57:42 AM »
Quote
Yes, coupon code is last in the sort at 40, next down is shipping at 25 and then discounts at 22 and 20

That is the problem. Order Total should be last.

rotaryswing

  • Jr. Member
  • **
  • Posts: 17
    • View Profile
Re: coupon code not working
« Reply #13 on: September 05, 2008, 12:02:00 PM »
Sorry, that was mistyped, Total is last at 40. Order is:

Subtotal
Order total discount
Product discount
Shipping
Total

pete

  • Administrator
  • Sr. Member
  • *****
  • Posts: 226
    • View Profile
    • KonaKart Website
Re: coupon code not working
« Reply #14 on: September 05, 2008, 12:07:53 PM »
Maybe you could post a screenshot of the checkout screen showing the order details just before checkout ?