vald Posted April 27, 2010 Share Posted April 27, 2010 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 More sharing options...
vald Posted April 28, 2010 Author Share Posted April 28, 2010 Is there any solution to this problem, please? Link to comment Share on other sites More sharing options...
rocky Posted April 28, 2010 Share Posted April 28, 2010 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 More sharing options...
tumil Posted September 21, 2016 Share Posted September 21, 2016 I have the same problem in Presta 1.6. How can I fix it here? Link to comment Share on other sites More sharing options...
rocky Posted September 23, 2016 Share Posted September 23, 2016 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 More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now