How to apply all discounts from discount function?

How to apply all discounts from discount function?

DanteFXX
Shopify Partner
15 2 8

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 58 79

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.