Page 1 of 1

the coupons are not retracted from the totals

Posted: Mon Oct 08, 2018 10:17 pm
by godly75
the coupons are not retracted from the totals
Image
And sometimes I cannot add a product to the cart. Dunno why (with options selected)
http://encounters.be/shop/index.php?rou ... uct_id=221

Re: the coupons are not retracted from the totals

Posted: Mon Oct 08, 2018 11:21 pm
by Johnathan
In OpenCart, the "Sub-Total" Order Total should ALWAYS best first, and the "Total" Order Total should ALWAYS be last. Otherwise you may get calculation errors, which is the reason it's not working in your case.

Re: the coupons are not retracted from the totals

Posted: Mon Oct 08, 2018 11:40 pm
by godly75
Thx! Didn't know that it worked that way :)
So what order should a coupon be?

- handling fee's,...
- Shipping
- Subtotals
- coupons
- Taxes
- Totals

Btw, seems that the subtotal is not showing it's order
Image

Re: the coupons are not retracted from the totals

Posted: Tue Oct 09, 2018 1:23 am
by Johnathan
The middle line items generally don't matter, but I usually suggest this order so that Taxes get added correctly:

Sub-Total
Shipping
Coupon
other fees/discounts
Taxes
Total

Re: the coupons are not retracted from the totals

Posted: Tue Oct 09, 2018 4:45 am
by godly75
Thank you Johnatan !

Re: the coupons are not retracted from the totals

Posted: Tue Oct 09, 2018 4:56 am
by Johnathan
You're welcome :)