View Issue Details

IDProjectCategoryView StatusLast Update
0000719OXID eShop (all versions)1.02. Price calculations (discounts, coupons, additional costs etc.)public2012-12-07 15:07
ReporterReisacherThomas Assigned To 
PrioritynormalSeveritymajorReproducibilityalways
Status resolvedResolutionfixed 
Product Version4.0.1.0 revision 15990 
Fixed in Version4.1.0 revision 17976 
Summary0000719: Discount with Pickuplists
DescriptionWith 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.
TagsDiscount
Attached Files
Admin.jpg.zip (198,177 bytes)
Theme
BrowserAll
PHP Version5.2.6
Database Version5.0.33

Relationships

has duplicate 0000718 closed Discount with Pickuplists 

Activities

ReisacherThomas

2009-03-31 11:19

reporter   ~0000655

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.

ralf_trapp

2009-04-01 14:48

reporter   ~0000665

Waiting for english translation as german leads to significantly longer time to solve tickets.

ReisacherThomas

2009-04-01 18:35

reporter   ~0000673

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.

dainius.bigelis

2009-04-02 09:54

reporter   ~0000678

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

dainius.bigelis

2009-04-02 11:47

reporter   ~0000681

Last edited: 2009-04-02 11:52

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.

dainius.bigelis

2009-04-03 16:17

reporter   ~0000703

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.

arvydas_vapsva

2009-04-03 17:20

reporter   ~0000707

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.

arvydas_vapsva

2009-04-03 17:23

reporter   ~0000708

to install module go to Admin => Master Settings => Core Settings => System => Modules and enter "oxdiscount => oxsupport_oxdiscount". Press save!

arvydas_vapsva

2009-04-03 17:28

reporter   ~0000709

extract archive to modules folder