Fetch order and line-item level discounts used?

You can set the combinesWith property of your discounts not to combine, and Shopify should select the best discount of the ones available to allocate to the order. Discount functions run in parallel so one can’t see what the other is doing. If you have a more complex use case, check Discounts Allocator Function API https://shopify.dev/docs/api/functions/reference/discounts-allocator

1 Like