View Issue Details

IDProjectCategoryView StatusLast Update
0006614OXID eShop (all versions)1.02. Price calculations (discounts, coupons, additional costs etc.)public2017-06-23 10:33
ReporterDustinJeuck Assigned To 
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionno change required 
Platformall 
Product Version4.10.3 / 5.3.3 
Summary0006614: Wrong calculation of discountable price
DescriptionSome product configurator extensions set the price of an article dynamically by using setPrice and setRegularUnitPrice in the model "oxbasketitem".
This works during the whole order process.

Only the discount calculation uses the article price calculated in the oxbasket model in method "getBasketSummary".
Can you explain, why you use the price of the article in this calculation instead of using the price of the basketitem?

Steps To ReproduceChange an article price in an extension method by using setPrice and setRegularUnitPrice for a basketitem
Additional InformationA simple solution is attached on this ticket.
TagsNo tags attached.
Attached Files
ThemeNot defined
BrowserAll
PHP VersionAll
Database VersionAll

Activities

QA

2017-04-04 10:50

administrator   ~0012012

@DustinJeuck - Can you provide any scenario that gets affected by the current shop code. This will help in better understanding the bug, preferably provide a scenario that can be reproduced in our demoshop - https://demoshop.oxid-esales.com/professional-edition/