GX-Abgewiesen #64430
geschlossenBeim Einlösen eines prozentualen Rabatt-Kupons, der auf Kategorien eingeschränkt ist, wird die MwSt. falsch berechnet, sofern für die Kundengruppe Nettopreise angezeigt werden.
0%
Beschreibung
Beim Einlösen eines prozentualen Rabatt-Kupons, der auf Kategorien eingeschränkt ist, wird die MwSt. falsch berechnet, sofern für die Kundengruppe Nettopreise angezeigt werden.
Außerdem verdoppelt sich fälschlicherweise der Kuponwert, wenn man einen weiteren Artikel im Warenkorb hat, der nicht in der Kategorie liegt, wo der Rabatt-Kupon gilt.
EDIT 08.10.2019
When you redeem a percentage discount coupon that is restricted to categories, VAT is calculated incorrectly if net prices are displayed for the customer group.
Also, if you have another item in your shopping cart that is not in the category where the discount coupon applies, the coupon value is wrongly doubled.
Preconditions:
- Have at least 2 categories with products ready
- go to Customers > Customer Groups >>> Create
- choose a name for the Customer Group and fill in the forms as follows:
- Prices tax: excl. tax
- Show tax in order total: true
- Show prices: true
- add this customer group
- add a customer (user1) to this customer group (Customers > Customers >> Customer Status (dropdown), choose the respective customer group
- go to Shop Settings > Special Modules >>> Activate Gift Voucher System (true)
- go to Vouchers > Coupon Admin >>> Create
- choose a name for your new coupon and fill in the forms as follows:
- Coupon Amount: 50%
- Coupon Code: xxx
- Uses per Customer: [nothing]
Valid Category List: [ID of one category]
log into frontend as user1
go to the category where the 50%-coupon applies
put an item from this category into the basket
go to your basket
apply the coupon
calculate the VAT
expected:
item 1: 18.49 € (without VAT)
coupon: 50%
shipping: free
18.49 € / 2 = 9.245 € (item1 - 50% = 9.245 € 9.245 € + VAT 19% = 11.00155 €)
9.245 € x 1.19 = 11.00155 € (total)
11.00155 € - 9.245 € = 1.75655 € (VAT)
the shop whatsoever calculates 2.04 € VAT which equals 11.28 € (total)now put an additional item in the basket, from another category, where the coupon doesn't apply
go to your basket
calculate the VAT, the coupon and the total
expected:
item1: 18.49 €
item2: 16.76 €
coupon: 50%
*shipping: free
18.49 € / 2 = 9.245 €
16.76 € + 9.245 € = 26.005 €
26.005 € x 1.19 = 30.94595 € (total)
30.94595 € - 26.005 € = 4.94095 € (VAT)
the shop whatsoever applies the coupon two times on item1 (-18.50 €) and the VAT is also calculated wrong (see screenshot)
Dateien