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] Assigned To 
PriorityhighSeverityminorReproducibilityalways
Status resolvedResolutionno change required 
Product Version4.4.0 revision 28699 
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

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

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

possible fix:

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

Relationships

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 

Activities

dainius.bigelis

2010-12-08 15:35

reporter   ~0003785

Reminder sent to: [email protected]

Hi,

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:
http://oxid.uservoice.com/forums/31940-feature-requests/suggestions/411461-discount-for-category-should-have-an-option-per-a

Here the entry is closed.
Best regards,