Forums / General Questions / Discount Code Miscalculation

Discount Code Miscalculation

Started by bumba000 on 3 Nov 2026, 5:32 PM · Views: 11

Results 1 to 2 of 2
3 Nov 2026, 5:32 PM
#1
bumba000 avatar

bumba000

Totally Zenned

Join Date:
Feb 2007
Location:
Pennsylvania
Posts:
862
Plugin Contributions:
0

Discount Code Miscalculation

Hi All. Running ZC 2.2.2 on PHP8.5. I have just set up a discount code that should only be applying to products of one category while not applying to any other category. Setting are...

Coupon settings are 10%, Per qualifying item, Allowed Products based on total of allowed products, is allowed for products on sales or special.

Restrictions settings are Top/All categories = Deny, Allowed category = Allow.

Cart Totals:

1 x allowed category item $159.80

1 x restricted category item $88.95

sub-total $248.75

shipping $9.95

discount -$16.51

total $242.19

3 Nov 2026, 7:11 PM
#2
bumba000 avatar

bumba000

Totally Zenned

Join Date:
Feb 2007
Location:
Pennsylvania
Posts:
862
Plugin Contributions:
0

Re: Discount Code Miscalculation

Ok. so this is pretty strange. First I tried using a test customer account and it wasn't coming out right. Now testing using a guest checkout and it's working fine.