I have read online about a PriceRule resource which can be used to modify the logic behind discount codes.
I have a discount code which gives 40% discount when there are more than 50 items, but this also works if I have for example 49 items + 1 other item. I want to make the code work only for the single items that have a quantity over 50.
I assume this would be pretty straight forward if I could access this logic myself. Can someone point me into whereabouts could I find these codes for my discounts?
I would also want my discount code to give 40% for items over 50 quantity, and 50% for items over 200 quantity.
Thanks
I have been playing a bit with GraphiQL, and I have found the priceRule has a field called: allocationMethod (PriceRuleAllocationMethod).
The value of this is ACROSS. Would my discount code have the desired behaviour if I manage to change this to EACH?
How can I modify this, I haven't been able to find an example.
I would appreciate any kind of help with this
User | Count |
---|---|
38 | |
24 | |
16 | |
12 | |
10 |