View Issue Details

IDProjectCategoryView StatusLast Update
0003587OXID eShop (all versions)1.02. Price calculations (discounts, coupons, additional costs etc.)public2012-12-07 15:07
Reportertomas_liubinas Assigned To 
Status resolvedResolutionfixed 
Fixed in Version4.5.9 revision 43186 
Summary0003587: Category or product specific discounts round the discount value BEFORE multiplying x amount.
DescriptionBy setting "from amount" value to 1 or 0 general discounts could be configured to calculate correct discounted price for 1 product OR basket amount respectively. This however does not work for category or product specific dicsounts.
Steps To Reproduceset:
test product price: 2.98 eur.
test discount for all shop products for amount 1-99999.
Put 200 test items to basket.
Result: product bruto sum: 596,00 €, discount sum: -11,92 €, total sum: 584,08 €
Change test dicsount amount to 0-999999
Result: product price is 2,92 €, brutton sum: 490,76 € , total sum is 584,00 €

That is correct, different cacluation strategies are chosen depending on "applicable discount amount" value.

But now, if you change the discount in such a way that it is applied only for specific category or product this diferentiation does not work anymore. Independently if you set discount amount to 0-99999 or 1-99999 the final basket amount is 584,00 € in both cases.

That should not happen. The correct calculation result for category or basket specific discount should be the same as for generic dicsount.
PHP Versionany
Database Versionany


has duplicate 0004750 closedjurate.baseviciene Wrong payment discount when direct item addition to other discount, based on 0003581 


There are no notes attached to this issue.