Jump to content

Shows double discount


Recommended Posts

Hi,

I have this problem. I have a group of customers with 5% discount. And every week I have a product in Specials with 10% discount. I want to exclude the group discount if a customer order a product from Specials. Is there any way?

Link to comment
Share on other sites

Change lines 1283-1284 of classes/Product.php from:

// Group reduction
if ($id_customer)

to:

// Group reduction
if ($id_customer AND !$reduc)

I haven't tested this code, but it should apply the group reduction only when there is no product reduction.
Link to comment
Share on other sites

  • 6 years later...
Try changing lines 3109-3110 of classes/Product.php:
        // Group reduction
        if ($use_group_reduction) {

to:

        // Group reduction
        if ($use_group_reduction && !$specific_price_reduction) {

This should stop the group reduction applying if there's a specific price reduction.

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...