View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0005795 | OXID eShop (all versions) | 1.02. Price calculations (discounts, coupons, additional costs etc.) | public | 2014-06-19 18:15 | 2016-06-02 13:24 |
Reporter | thomas_oppelt | Assigned To | |||
Priority | high | Severity | major | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Product Version | 4.8.6 / 5.1.6 | ||||
Fixed in Version | 4.9.8 / 5.2.8 | ||||
Summary | 0005795: Percentual voucher assigned to article leads to wrong VAT and netto sum calculation in mixed baskets | ||||
Description | Percentual vouchers assigned to certain article leads to wrong VAT and netto sum calculation in mixed baskets. Mixed = basket contains voucher assigned and none-assigned articles. For comparison u can use the oxarticles.OXSKIPDISCOUNTS flag instead of assigning voucher to articles. In that case the calculation is correct. Find for both cases Snapshots attached. | ||||
Steps To Reproduce | 1) Setup coupon series with percentual discount (settings see snap attached) 2) Assign an article to this series (test case article number 2103) 3) Add this article to basket and any article else (test case article number 2102) 4) Go to basket and add the coupon number => This results in a VAT calculated as if the coupon would have been valid for ALL articles in the basket. As a sideeffect the netto sum is also wrong displayed. To get to correct calculation (and we used that as a "workaround") u can do this instead of using voucher to article assignment: 1) Setup coupon series with percentual discount (settings see snap attached) 2) Set "Skip all negative Discounts" on article extension tab checked (test case article number 2102) 3) Add this article to basket and any article else (test case article number 2103) 4) Go to basket and add the coupon number => VAT and netto sum is calculated correctly | ||||
Tags | Calculations, Price Calculation, Voucher | ||||
Attached Files | |||||
Theme | Azure | ||||
Browser | All | ||||
PHP Version | Not defined | ||||
Database Version | Not defined | ||||
|
Fixed in PR https://github.com/OXID-eSales/oxideshop_ce/pull/311 |
|
FYI: This bug is currently in code review and will most likely be included in the next release. |
|
This bug fix is actually released in 4.9.8 / 5.2.8 as confirmed with release package and as stated in the linked report. |
|
Thank you Adrian. |