View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0000719 | OXID eShop (all versions) | 1.02. Price calculations (discounts, coupons, additional costs etc.) | public | 2009-03-19 11:06 | 2012-12-07 15:07 |
Reporter | ReisacherThomas | Assigned To | |||
Priority | normal | Severity | major | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Product Version | 4.0.1.0 revision 15990 | ||||
Fixed in Version | 4.1.0 revision 17976 | ||||
Summary | 0000719: Discount with Pickuplists | ||||
Description | With discounts from 3 article (discount 5 per part), sometimes even from 2 articles in the discount. Could the variants linked. Bei Rabatten ab 3 Artikel, (Rabatt 5 pro Teil), wird manchmal auch schon ab 2 Artikeln der Rabatt berechnet. Könnte mit den Varianten zusammenhängen. | ||||
Tags | Discount | ||||
Attached Files | |||||
Theme | |||||
Browser | All | ||||
PHP Version | 5.2.6 | ||||
Database Version | 5.0.33 | ||||
has duplicate | 0000718 | closed | Discount with Pickuplists |
|
Bei einer Bestellung von einem oder zwei T-Shirts gibt es keinen Rabatt. Erst ab drei T-Shirts soll es einen Rabatt geben. Wird die Menge im Warenkorb erhöht, klappt die Rabattberechnung. Wird der gleiche Artikel zwei Mal bestellt, wird ein Rabatt gewährt – dass ist verkehrt! Immer wenn zwei gleiche Artikel bestellt bzw. ausgewählt werden, funktioniert die Berechnung nicht. |
|
Waiting for english translation as german leads to significantly longer time to solve tickets. |
|
With an order of one or two T-shirts there is no discount. Only from three T-shirts there should be a discount. If the amount is raised in the goods basket, the discount calculation works as it is expected. If the same article is ordered twice, a discount is granted - this is not right! Whenever two same articles are ordered or are selected, the calculation does not function. |
|
Reminder sent to: ReisacherThomas Hi, I cannot reproduce this case. As I understood, the problem is that: - user has bought the same article some time ago. Then he ordered 3 units and got discount, what is correct. And now he orders the same article again, but only 2 units of this article, and again he gets discount, which is not correct (because in order there are only 2 articles, not 3). I tried orders with the same article, when discount is defined for category, also for article, also tried with variants of the same article, but unable to reproduce the case. Can you please write more details about this case: - discount is defined for some category or for particular articles? - this case happens when user buys any articles (related to this discount), or only varianta articles? - do you have any modules installed in the shop, which affects discount calculation, or articles/variants in the shop? If yes, please try if the same bug exists when the modules are disabled in your shop. Best regards, Dainius Bigelis |
|
Now I can reproduce this case also localy. The bug occurs when article has Selection List, and the same article (has no variants) just with different Selection List values is added to the basket twice. Then in the basket there are two different entries of the same article (just selection list values are different), both with quantity 1, and the discount is applied in the order. |
|
More details how to reproduce the case: problem not occurs when discount is not assigned to any item. I reproduced it when had discount assigned to category. |
|
problem is in oxdiscount::isForBasketAmount() method. Urgent fix is provided as module (see attached file "oxsupport_oxdiscount.zip") and can be used until next release. |
|
to install module go to Admin => Master Settings => Core Settings => System => Modules and enter "oxdiscount => oxsupport_oxdiscount". Press save! |
|
extract archive to modules folder |