I have been trying to configure discount coupons for 2 days, and I have been unable to make them work ok with the taxes. The total I get is not right, and I do not even seem to know where the numbers I get are coming from.
I have two tax zones, 0% and 16%. With 0% tax zone the totals are right, with 16% tax zone they are not. I have "display prices with tax" true and working ok everywhere, a same item will be seen with a price of 34.48E for a 0% customer, and 40.00E for a 16% customer.
I have created a discount coupon for "free shipping" and another one for 12E discount, none of them seem to work.
(Note, shipping prices are "different" for the 2 types of customer so the s&h total is the same, for 16% tax zone it is 10.34+16%=12 , for 0% tax zone it is 12.00+0%=12)
0% customer with "free shipping" coupon - OK:
---
Subtotal: 34.48EUR
Envio Urgente (Postal Express): 12.00EUR
Vales Descuento:222f6e: -12.00EUR
IVA: 0.00EUR
Total: 34.48EUR
---
0% customer with "12E discount" coupon - OK:
---
Subtotal: 34.48EUR
Envio Urgente (Postal Express): 12.00EUR
Vales Descuento:de2699: -12.00EUR
IVA: 0.00EUR
Total: 34.48EUR
---
16% customer with "free shipping" coupon - WRONG:
---
Subtotal: 40.00EUR
Mensajeria (Empresa de mensajeria (CBL, MRW, UPS)): 12.00EUR
Vales Descuento:222f6e: -12.00EUR
IVA: 5.02EUR
Total: 37.85EUR
---
Total should be 40.00EUR, and IVA should be 5.52EUR.
16% customer with "12E discount" coupon - WRONG:
---
Subtotal: 40.00EUR
Mensajeria (Empresa de mensajeria (CBL, MRW, UPS)): 12.00EUR
Vales Descuento:de2699: -12.00EUR
IVA: 5.02EUR
Total: 37.85EUR
---
Same as above. I do not even understand where the 5.02E and 37.85E come from. If the total is 37.85E, the correct taxes should be 5.22E. If the taxes are 5.02E, since we are buying one item that costs 34.48E+taxes the total should be 39.50E.
The correct ammounts would be:
---
Subtotal: 40.00EUR
Mensajeria (Empresa de mensajeria (CBL, MRW, UPS)): 12.00EUR
Vales Descuento:de2699: -12.00EUR
IVA: 5.52EUR
Total: 40.00EUR
---
If I change the order of taxes and discounts on admin/modules/order total, what I get is:
---
Subtotal: 40.00EUR
Mensajeria (Empresa de mensajeria (CBL, MRW, UPS)): 12.00EUR
IVA: 7.18EUR
Vales Descuento:222f6e: -12.00EUR
Total: 37.85EUR
---
The taxes shown are calculated based on 52E before the discount is applied so I guess that is ok (16%), but again the total is 37.85E, when it should be 40E.
Strangely enough, the gift vouchers do seem to work ok.
16% customer with "12E" gift voucher - OK:
---
Subtotal: 40.00EUR
Mensajeria (Empresa de mensajeria (CBL, MRW, UPS)): 12.00EUR
Cupón Regalo: 12.00EUR
IVA: 7.18EUR
Total: 40.00EUR
---
The taxes shown are based on the 52EUR total, which I guess tecnically is ok, since they would paying taxes based on a 52EUR order, just paying 40E in cash/whatever and 12E with a gift voucher.
Any hints on how to proceed would be greatly appreciated, since I am starting to think that this might not be a config issue, but a bug somewhere. I'll be posting my config info next.
Thanks!





LinkBack URL
About LinkBacks







Bookmarks