View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0002576 | OXID eShop (all versions) | 1.02. Price calculations (discounts, coupons, additional costs etc.) | public | 2011-03-02 13:19 | 2012-12-07 15:07 |
Reporter | olav | Assigned To | |||
Priority | high | Severity | major | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Product Version | 4.4.5 revision 31315 | ||||
Fixed in Version | 4.5.9 revision 43186 | ||||
Summary | 0002576: Discount is added to cart multiple times if category is restricted | ||||
Description | In 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 Information | I have reported this as ticket #1222926 to [email protected] | ||||
Tags | Discount | ||||
Attached Files | |||||
Theme | Both | ||||
Browser | All | ||||
PHP Version | any | ||||
Database Version | any | ||||
|
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). |