Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Coupon code based pricing rule not working for multiple pricing rules. #28601

Open
fadilsiddique opened this issue Nov 29, 2021 · 7 comments
Open

Comments

@fadilsiddique
Copy link

Description of the issue

Context information (for bug reports)

Output of bench version

(paste here)

Steps to reproduce the issue

  1. Create multiple pricing rule based in coupon code for item groups. Let's say 10%,15%,100%
  2. Add items to the cart from point of sale.
  3. Apply any coupon code.

Observed result

Coupon code 15 and 100 percentage discounts 10%.

Expected result

coupon with 15% discount should reduce 15% and 100% should reduce 100%.

Stacktrace / full error message

(paste here)

Additional information

OS version / distribution, ERPNext install method, etc.

@fadilsiddique
Copy link
Author

Any updates?

@fadilsiddique
Copy link
Author

fadilsiddique commented Jan 3, 2022

Hi Team,

Any update on this issue?

@nemesis189
Copy link
Contributor

@fadilsiddique sorry about the delay, will be looking into it now.

@nemesis189
Copy link
Contributor

@fadilsiddique I created 3 pricing rules based on coupon code for the same Item Group. Is this the scenario that you have mentioned?
If so it throws validation for priority of pricing rules:

is this the issue?

@fadilsiddique
Copy link
Author

Yes, this is issue I faced. My case is I've different discount options for same items groups with different coupon codes.

@fadilsiddique
Copy link
Author

Hi Team,
Any update on this issue?

@nemesis189
Copy link
Contributor

@fadilsiddique for this you'll have to assign priority manually
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants