View Issue Details

IDProjectCategoryView StatusLast Update
0002576OXID eShop (all versions)1.02. Price calculations (discounts, coupons, additional costs etc.)public2012-12-07 15:07
Reporterolav Assigned To 
PriorityhighSeveritymajorReproducibilityalways
Status resolvedResolutionfixed 
Product Version4.4.5 revision 31315 
Fixed in Version4.5.9 revision 43186 
Summary0002576: Discount is added to cart multiple times if category is restricted
DescriptionIn our shop we have a discount rule that adds a single gift item to every shopping cart. This works nicely; even with multiple articles in the cart, the gift item is added only once.

The problem starts when I restrict the discount rule to a set of categories, such that the gift item is no longer added for articles of a special, exempted category. Field oxdiscount__oxitmamount in the admin form is still "1".

Once I add this restriction, gift items are added to the cart multiple times.
Additional InformationI have reported this as ticket #1222926 to [email protected]
TagsDiscount
Attached Files
ThemeBoth
BrowserAll
PHP Versionany
Database Versionany

Activities

dainius.bigelis

2012-03-05 00:16

reporter   ~0005880

The problem is that when discount has assigned categories, it ignores the option "Multiply". If there are several products in the basket from assigned categories, it still should react to this option, and give one itm-discount-product (if multiply is OFF), or several itm-discount-products (if multiply is ON, amount should be multiplied by relevant products in the basket).