View Issue Details

IDProjectCategoryView StatusLast Update
0002242OXID eShop (all versions)1.02. Price calculations (discounts, coupons, additional costs etc.)public2015-06-02 09:40
Reporter[email protected] 
Status resolvedResolutionno change required 
Product Version4.4.0 revision 28699 
Target VersionFixed in Version 
Summary0002242: wrong voucher discount
Descriptionif we create vouchers and add them to category, when they will only calculate discount from price not from price*count

$dVoucher = $oDiscount->getAbsValue($oCategoryPrice->getBruttoPrice());

$oCategoryPrice->getBruttoPrice() - don't multiplay with item count.

possible fix:

$dVoucher = $oDiscount->getAbsValue($oProductTotal->getBruttoPrice());
PHP Versionany
Database Versionany


related to 0005162 resolvedLinas Kukulskis Coupon calculation is not correkt, when articles are assigned and 
related to 0006063 acknowledgedflorian.auer Coupon Series: discount only on first article in basket if coupon is assigned on selected articles 
related to 0002454 resolvedLinas Kukulskis Calculate only once (valid only for product or category vouchers) --> Help is missing 



2010-12-08 15:35

reporter   ~0003785

Reminder sent to: [email protected]


There is no unique opinion about how the voucher discount should be calculated in the basket:
- per basket Total price, or
- per each product.

Here is one more option is possible:
- per Category (i.e. one amount per different categories).

Different calculations may be wanted in different shops, so we cannot apply some default policy for all these cases.
This can be solved by:
- customization directly in eShop (i.e. by preparing custom module),
- implementing the new option in eShop, as requested here:

Here the entry is closed.
Best regards,