To create a Shopify discount app that automatically applies discounts tagged to products upon cart addition, exclusively for logged-in users. How can I implement this feature as I am creating a custom shopify app using Discount products - Function.
Hey @VishalChandola
I’d recommend running through this tutorial to become familiar with all of the pieces of the puzzle, and then adapting to your use case.
Am I reading correctly, that this is not possible for non-shopify-plus-shops and custom Apps that are not publicly available in Shopify App Store?
- Public apps that are distributed through the Shopify App Store and contain functions can be used by stores on any plan. Only stores on a Shopify Plus plan can use custom apps that contain Shopify Function APIs.
https://shopify.dev/docs/apps/functions
How else is this possible without a custom app in a store that is on a “shopify” or “advanced” plan? It would be great to get a hint into a direction.
Product “X” with regular price 30€ and metafield “custom_price.1” = 20€
- Customer “Y” with tag or metafield “group” = “custom_price_1” sees product X for 20€ in collections and product detail (solved within liquid)~~
- Customer “Y” with tag or metafield “group” = “custom_price_1” buys product X for 20€