Our Partner & Developer boards on the community are moving to a brand new home: the .dev community forums! While you can still access past discussions here, for all your future app and storefront building questions, head over to the new forums.

Using Shopify Functions to create a buy x get y discount on a subscription

Using Shopify Functions to create a buy x get y discount on a subscription

Spencer_Brave
Shopify Partner
5 0 5

Hello, I need to figure out a way to automatically apply a buy x get y discount on a subscription product. I am currently using Shopify Scripts to achieve this functionality and it works great but with Scripts being deprecated in August of this year I need to find an alternative. The desired functionality is the customer is able to select a free product when purchasing a subscription.

 

Based on my research thus far, it looks like the best option is to create a custom Shopify app and use Shopify Functions in order to get this kind of discount. I have experience using Node.js but not GraphQL. Has anyone attempted this kind of discount within Functions or have any other suggestions for tackling this?

Replies 0 (0)