Discussing APIs and development related to customers, discounts, and order management.
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?