Jump to content

Cart rule: How to get only the biggest discount?


Vosteen

Recommended Posts

Hello,

 

We are a B2B shop, so we offer quantity discounts on many of our products.

Also certain customers get a general discount of let's say 5% - but sometimes 2%, sometimes 10%...so you can't pin it on one number. 

 

So there could be certain cases, where the quantity discount is better than the regular discount.

Or the other way round: The regular discount is better than the quantity discount.

 

And of course a customer must not get 5% additional to the quantity discount.

 

 

Is there any way to calculate what's the best/biggest discount for a customer? And then only use this one.

If the quantity discount offers the best price - ignore the regular discount.

If the regular discount is better, ignore the quantity...

 

 

Link to comment
Share on other sites

  • 2 weeks later...
  • 1 month later...

Well, I solved it for me.

It's perhaps a little complex, but anyways...

 

Long story short:

I linked the quantity discount/specific price to the correct groups

So a quantity discount/specific price that equals 5% discount is valid for the groups "0 percent", "1 percent", "2 percent", "3 percent", "4 percent" an "5 percent"

 

The important thing is: This discount is NOT valid for the group "6 percent" or higher!

 

 

This way a customer from the group "6 percent" doesn't see those "lesser" quantity discounts at all,

Otherwise Prestashop would give the customer a quantity price that is actual higher.

 

 

Example:

Group "25 percent"

Regular Price = 4,35

Group price -25% = 3,26

 

Specific price from 18pcs = 3,90

= 70,20 total 

(for regular customers)

 

Correct price with group discount =  58,68 total

 

 

 

You know what I mean?

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...