Zen Cart Logo
Forums / Discounts/Coupons, Gift Certificates, Newsletters, Ads / Why is Coupon taking MORE than it should? Example provided.

Why is Coupon taking MORE than it should? Example provided.

Views: 1,874

Results 1 to 2 of 2
19 Apr 2023, 11:20 PM
#1
jeff_mash avatar

jeff_mash

Totally Zenned

Join Date:
Aug 2004
Posts:
731
Plugin Contributions:
0

Why is Coupon taking MORE than it should? Example provided.

1.5.8a - Why is the ot_coupon not calculating this correctly?

Example: I have a 20% off coupon with restrictions: Only allow discount on product from Category A.

I added that product to my order along with an indifferent item from Category B.

The Problem: The 20% discount being taken off is MORE than 20% when used with multiple items.

This screenshot should help: Attachment 20268

And here is my Coupon Settings which appear to be correct (allowing the 20% discount to only apply to items in that category): Attachment 20270

And here are the settings for the ot_coupon, where I don't have it calculating tax or shipping: Attachment 20269

At first, I thought it might be related to Sales Tax (thinking that the coupon was somehow calculating tax). However, it doesn't seem to be related to tax, because I reproduced it on an order without tax.

Check out this example: Attachment 20267

As you can see, it works fine with the one item (which qualifies for the discount). But when I add a second item which isn't part of the discount category, the 20% value isn't calculated correctly.

Can anyone help explain why those two problems are happening?

20 Apr 2023, 1:36 AM
#2
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,065
Plugin Contributions:
56

Re: Why is Coupon taking MORE than it should? Example provided.

Just to 'weed out' other interactions, what happens if you disable "Reward Points"?