How to apply all discounts from discount function?

DanteFXX
Shopify Partner
14 2 6

Hi guys,

 

I would like to add two or more bundle offers to the cart using a single discount function and I don't see any reasons (based on logic) why they can't be applied together. However, currently the DiscountApplicationStrategy has only two options - Maximum and First. It appears that both of them simply choose the same discount based on their own logic. Am I correct? 

Will a third option, like "All," be added in the near future, or is there another way to work around this limitation?

 

DanteFXX_0-1692275491902.png

 

Reply 1 (1)

lizk
Shopify Staff
246 57 70

Hi there 👋

You can follow along on this GitHub issue regarding a discount application strategy of all, the team is working on implementing this!

To learn more visit the Shopify Help Center or the Community Blog.