Discussing Shopify Functions development, deployment, and usage in Shopify apps.
We have successfully deployed our Shopify function for volume discounts. e.g.
Now the issue is
DiscountApplicationStrategy
is limiting discount application to only 1, even if more than 1 line items are eligible for discount. Is there any work around this? What is the actual benefit of this field?
Looking forward to more information, or a possible solution.
Thank you
DiscountApplicationStrategy
is just the strategy that's applied to the list of discounts. (the first satisfied condition discount or the maximum reduction discount)
The line items that are eligible for discount are defined in discounts.
Ex: If you want the targets of discount A is product B, product C, just define them (B,C) in targets and discount value (A) in value