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

Stackability Resolution Strategy #6820

Open
brendan-shea-pm opened this issue Mar 6, 2023 · 0 comments
Open

Stackability Resolution Strategy #6820

brendan-shea-pm opened this issue Mar 6, 2023 · 0 comments
Labels
Promotions Issues related to the Promotions project

Comments

@brendan-shea-pm
Copy link

Most promotions with be set to not stack with promotions of the same type. For Order promos, they don't stack with other Order promos. Same for Item and Shipping, but the stacking is checked per Item and Shipping Method.

When a promotion is added to a cart that already has a conflicting promotion, the outcome should be that the promotion that gives the customer the highest value discount should remain on the cart, and the lesser one removed.

When a promotion is triggered, check whether there are any conflicting promotion types in the order, item(s), or shipping method

If there is a conflict, calculate the value of each conflicting promotion

Remove any promotion that does not have the highest value, so that only the highest value promotion remains

@brendan-shea-pm brendan-shea-pm added the Promotions Issues related to the Promotions project label Mar 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Promotions Issues related to the Promotions project
Projects
None yet
Development

No branches or pull requests

1 participant