| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
applying coupon discount AFTER global discounts | |||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
![]() 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 |
|||||||
#2
|
|||||||
|
|||||||
![]() Please don't double post...I have removed your second post on this topic.
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
#3
|
|||||||||
|
|||||||||
![]() It's would be a violation because any type of discounts applying to product price at the same time, not to subtotal.
The most simple desicion without violation would be using discounts coupon with 9% not 10%. (i.e. you should decrese discount of coupons with percents of global discounts) SUBTOTAL: 300.00 Discount: 30.00 (10%) Discount Coupon: 27.00 (9%) DISCOUNTED SUBTOTAL: 243.00
__________________
Regards, Anthony Holub X-Cart Skins Store ![]() - twenty two different skins available; - both 4.1.x and 4.2.x versions compatible; - refresh you store now! Smart menu X-Cart add-on Featured Products Slide Show X-Cart add-on "What's New?" FREE X-Cart add-on |
|||||||||
|
|||
X-Cart forums © 2001-2020
|