View Issue Details

IDProjectCategoryView StatusLast Update
0005795OXID eShop (all versions)1.02. Price calculations (discounts, coupons, additional costs etc.)public2016-06-02 13:24
Reporterthomas_oppelt 
PriorityhighSeveritymajorReproducibilityalways
Status resolvedResolutionfixed 
Product Version4.8.6 / 5.1.6 
Target VersionFixed in Version4.9.8 / 5.2.8 
Summary0005795: Percentual voucher assigned to article leads to wrong VAT and netto sum calculation in mixed baskets
DescriptionPercentual 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 Reproduce1) 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
TagsCalculations, Price Calculation, Voucher
ThemeAzure
BrowserAll
PHP VersionNot defined
MySQL VersionNot defined

Relationships

related to 0006204 resolvedHR Vat calculation is wrong when article is assigned to coupon serie 
child of 0006404 acknowledgedflorian.auer Wrong vat calculation for vouchers in baskets with mixed vat rates 

Activities

thomas_oppelt

2014-06-19 18:15

reporter  

thomas_oppelt

2014-06-19 18:15

reporter  

thomas_oppelt

2014-06-19 18:16

reporter  

Adrian.Kirchner

2016-01-16 18:52

reporter   ~0011435

Last edited: 2016-01-16 18:53

View 2 revisions

Fixed in PR https://github.com/OXID-eSales/oxideshop_ce/pull/311

HR

2016-02-29 12:20

manager   ~0011481

FYI: This bug is currently in code review and will most likely be included in the next release.

Adrian.Kirchner

2016-05-18 23:01

reporter   ~0011593

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.

anton.fedurtsya

2016-06-02 13:24

manager   ~0011617

Thank you Adrian.