Problem with discounts canceling our global discount. #550
vpawebmaster
started this conversation in
Feedback: Discounts APIs
Replies: 1 comment 1 reply
-
Found a way to fix this behaviour. There is a combinesWith flag that you can use, to allow this discount to combine with others. But you must set it when adding the function to your store with a mutation. Below is an example of how to do this.
The only problem that I can see with using this method, is we don't want discounts to stack. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
We have created a function that checks each line item in the cart and applies a volume discount if it meets certain criteria. This function works fine, however if another discount kicks in our function discount disappears. A single discount replaces all of our line discounts. See video:
https://www.loom.com/share/b91a13c7cc354811a95e0ff8784b98b6
Beta Was this translation helpful? Give feedback.
All reactions