View Issue Details

IDProjectCategoryView StatusLast Update
0002254OXID eShop (all versions)1.02. Price calculations (discounts, coupons, additional costs etc.)public2012-12-07 15:07
ReporterAlxPick Assigned To 
PriorityurgentSeveritymajorReproducibilityalways
Status resolvedResolutionno change required 
Product Version4.4.5 revision 31315 
Summary0002254: Discount malfunction if categories selected
DescriptionIf categories are selected for an discount, the discount is always applied to any article selected. It's no longe rpossibel to apply it in whole.
Steps To ReproduceMake a discount for sum, add all cats, remove one, add 2 articles.
TagsDiscount
Attached Files
bug_oxid_cat_math.jpg (95,729 bytes)   
bug_oxid_cat_math.jpg (95,729 bytes)   
oxid_button_prob.jpg (24,123 bytes)   
oxid_button_prob.jpg (24,123 bytes)   
oxid_rule.png (41,272 bytes)   
oxid_rule.png (41,272 bytes)   
Theme
BrowserAll
PHP Versionany
Database Versionany

Activities

dainius.bigelis

2010-12-10 17:00

reporter   ~0003799

Reminder sent to: AlxPick

Hi,

We didn't really understand what is the issue in your case?
You create a discount, assign all the categories to it and then discount is applied for products, which even do not belongs to these categories?
Please describe the case in more details.

AlxPick

2010-12-10 17:40

reporter   ~0003803

Last edited: 2010-12-10 17:43

Ok, I try to describe it better:

There are 2 ways for discounts, one for the whole basket, one for each article. The basket one gets triggered with values > 0.

If you are in basket mode and apply categories, it does not work anymore.

You don't get a single article per basket if you choosen an article from the category you wanted, you get one per article instead, even if configured otherwise.

So there is no way to make a give away for the whole basket (single article) with articles just from a few chossen categories.

dainius.bigelis

2010-12-14 18:15

reporter   ~0003816

Reminder sent to: AlxPick

Hi,

Thank you for description, but, sorry, it's still confusing for me, esp. when you say: "You don't get a single article per basket <...>, you get one per article instead".
As I understood, you have such case:
1. Create a discount for sum, Purchase Price: from 1 to 1000.
2. Then assign All the categories to this discount.
3. Then Unassign one category from discount, i.e. "Party" (from our DemoData).
4. In the frontend I add one product from category "Party" (product assigned only to this category) to the basket. The discount is NOT applied to the product.
5. Then I add additionally other products from other categories to the basket. Then the discount is still not applied for article from "Party" category, but is applied for articles from other categories.
So if we are talking about this case - it works well for me.
Can you please confirm, that you experience the problem exactly on such case? or please correct me what I did wrong.

AlxPick

2010-12-14 18:49

reporter   ~0003818

I attached a pciture to illsustrate this. This happens even if the articles are in the same category. I always get +1 giveaway per article instead for the whole basket after limiting it. The rule is exactly the same, just with and without assigned categories.

A similar problem exists with shipping rules, if I add them just for a category, it behaves in the same way strange and adds up for every article out of sudden giving crap values.

I have vertified it in a live PE system and a fresh setup development CE with demo data.

dainius.bigelis

2010-12-28 14:53

reporter   ~0003908

Reminder sent to: AlxPick

hi,

Thanks for screenshots - that was very helpful. Now it's clear that we are talking about the itm discount and the discount calculation concept in general.
As I understood - the problem is, that when no categories are assigned - it adds one product (per entire basket), and when categories are assigned - it addds by one itm product (discount) for each product in basket, from selected categories.
Basically - there is no unique opinion about how discounts should be calculated in this case - for entire sum in basket, or per each assigned category, or per each product of assigned categories.
So we have inserted the feature request to implement one additional option (with few selections) to solve that case. Please check here:
http://oxid.uservoice.com/forums/31940-feature-requests/suggestions/411461-discount-for-category-should-have-an-option-per-a?ref=title

In our opinion - when this feature will be implemented - it will solve such cases when it's not clear WHEN discount should be calculated and WHAT is the object for discount (basket, category, product, etc.).
Thank you for your report and effort discussing this case.
For now this entry is closed.

dainius.bigelis

2010-12-28 14:53

reporter   ~0003909

Closed as possible solution for this case is feature request and will be implemented in some future releases.