View Single Post
  #1  
Old 01-25-2008, 06:44 PM
 
bcddd214 bcddd214 is offline
 

Member
  
Join Date: Jun 2007
Posts: 29
 

Default applying coupon discount AFTER global discounts

We have set up global volume discounts based on cart total levels, and want to employ a coupon discount of 10%. Right now, the volume discount on orders of $300.00 or more is 10%. The coupon discount is also set at 10%.

Currently, the totals are calculated (on a $300 order) as:

SUBTOTAL: 300.00
Discount: 30.00
Discount Coupon: 30.00
DISCOUNTED SUBTOTAL: 240.00

what we want it to do is:

SUBTOTAL: 300.00
Discount: 30.00
Discount Coupon: 27.00 <--10% of 300 - 30
DISCOUNTED SUBTOTAL: 243.00

How can this be done in the code? any help would be greatly appreciated!
__________________
John

X-Cart Gold v4.1.6
Reply With Quote