Apply only one discount per purchase

I have set up two discounts:

  1. discount A is 5% for a selected group of users
  2. discount B is 10% discount for selected products

Is it possible to set up that a user, who is eligible for both discounts will only get the 10% discount? Now he/she is getting both discounts, which is too much. I couldn’t find any setting for something like this.

I’m using Community Edition v 4.0.1.0

Hi Sandor,

long time no see :slight_smile:
Is everything running well? We are at Version 4.2.0 in the meantime and ditched the fourth number.

Why dont you install three discounts:
a) 5% for the users of discount A
b) 5% for users of discount B
c) 10% for users of both, A + B?

Regards

Hi!

We are doing very well with your shop, thanks for asking :slight_smile:

The problem is, that one discount is for a group of products, and the other is for a group of users. If a user has the 5% discount, because she’s a regular customer, but she is also eligible for the product discount (10%), we don’t want her to get 15%, only 10%. I think this a pretty usual case, most shops I’ve seen do it this way, so you can’t cummulate discounts. I think Oxid does not support this option, but it would be nice to have a discussion about how to fix this. I’m willing to edit the code, but need to know where is the best place, where I don’t mess up anything.

Thank for your help!

Hi Sandor,

I don’t see a way to handle it administrative. So a module that extends /core/oxdiscount would be needed.

Regards