View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0003587||OXID eShop (all versions)||1.02. Price calculations (discounts, coupons, additional costs etc.)||public||2012-02-15 15:21||2012-12-07 15:07|
|Target Version||Fixed in Version||4.5.9 revision 43186|
|Summary||0003587: Category or product specific discounts round the discount value BEFORE multiplying x amount.|
|Description||By 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 Reproduce||set:|
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.