View Issue Details

IDProjectCategoryView StatusLast Update
0004632OXID eShop (all versions)1.02. Price calculations (discounts, coupons, additional costs etc.)public2018-12-06 08:03
Reportermichael_keiluweit 
PrioritynormalSeverityfeatureReproducibilityalways
Status closedResolutionunable to reproduce 
Product Version4.6.5 revision 49955 
Target VersionFixed in Version 
Summary0004632: If a coupon has a min. order sum and assigned articles, it should only count assigned articles for the min. order sum.
Descriptionrequirements:
A coupon which is only assigned to one article.
The coupon is only valid if a minimum order sum is reached.


how it works now:
A coupon counts the whole basket cost and compares the total sum with the minimum order sum of the coupon itself. If basket total sum is more than the min. order sum of the coupon, then the coupon is valid and grants the discount. It ignores it if the coupon is only assigned to some categories or articles.


As it should work:
If a coupon has a min. order sum and is assigned to a category or an article, the calculation of the min. order sum should consider only the prices of assigned categories / articles.
Steps To Reproduce1. create two articles (article A = 100€ and article B = 1.000€).
2. create a coupon.
3. set minimum costs to 1.000€.
4. assign the coupon only to article A which costs 100€.
5. add article A to the basket and try to activate the coupon (it will fail).
6. add article B, so the total sum is now 1.100€.
7. try to activate the coupon - it will work

Please see attached screenshots 1 - 4.png
Additional InformationTested in CE 4.6.5.
Tagscoupon, Coupons
ThemeAzure
BrowserAll
PHP VersionNot defined
MySQL VersionNot defined

Activities

michael_keiluweit

2012-10-16 11:00

developer  

1.png (98,053 bytes)
1.png (98,053 bytes)

michael_keiluweit

2012-10-16 11:00

developer  

2.png (54,060 bytes)
2.png (54,060 bytes)

michael_keiluweit

2012-10-16 11:00

developer  

3.png (105,407 bytes)
3.png (105,407 bytes)

michael_keiluweit

2012-10-16 11:00

developer  

4.png (127,291 bytes)
4.png (127,291 bytes)

QA

2018-12-05 11:07

administrator   ~0012722

Last edited: 2018-12-05 11:13

View 2 revisions

- Rewrote the whole entry.
- marked as feature

-MK

QA

2018-12-06 08:00

administrator   ~0012726

Last edited: 2018-12-06 08:03

View 2 revisions

Tested it again and it isn't reproducible anymore. (EE 6.1.1)

Created two articles (a=100; b=1000).
Created a discount which is valid from quantitiy 0 : 0 and purchase price 500 to 1.000.000. Assigned only article A to it.

At frontend I added article A four times to the basket (=400€). No discount was given. I increased the amount to 5 articles (500€) and the discount was given.
Then I changed the amount to 4 (400), the discount was gone. After that I added the article B (1000€) to the basket so the value was 1400€ but the discount was still not granted.
-> works as expected.

-MK