A space to discuss GraphQL queries, mutations, troubleshooting, throttling, and best practices.
Hello,
Is there a way to create automatic discount for specific customers only?
Like Customer A, B and C only, will get 20% automatic discount but not other customers?
I went through the docs for a very long time but I could not find anything like that.
If automatic discount for specific customers is not possible then a solution to creating discount code for specific customers will be apprecitated.
Thank you.
Hey @abdullah_omar04,
It's currently not possible to create an automatic discount that only applies to certain customers. When an automatic discount is active, it will apply to all carts that meet the restrictions.
If you can describe the specific functionality you're looking to achieve, I can try to make another suggestion.
JB | Solutions Engineer @ Shopify
- Was your question answered? Mark it as an Accepted Solution
- To learn more visit Shopify.dev or the Shopify Web Design and Development Blog
@_JB bro, Thank you.
Sorry for the late response, I have been very busy.
Basically, I am trying to create an app that will apply discounts to specific customers automatically. And there will be groups, like vips will get 25%, loyal ones will get 15%, etc.
Hey @abdullah_omar04,
I can't think of a way to make that fully automatic, the only way to apply a discount automatically is using an automatic discount, or Shopify Plus stores can use the Script Editor app.
However there may be other ways to achieve what you're looking to do. If you're sending e-mails to customers, you can append any store links with /discount/{{discount_code}}, and this will automatically apply a discount to the customer's cart. If the store uses the customer accounts feature, you can also consider surfacing a discount based on the logged in customer.
Although it's not automatic, another option could be implementing some kind of form on the cart page which asks for the e-mail, and adds the discount for eligible customers using the discount URL.
You may need to get creative with the implementation based on what's available, but don't hesitate to reach out if you have any questions.
JB | Solutions Engineer @ Shopify
- Was your question answered? Mark it as an Accepted Solution
- To learn more visit Shopify.dev or the Shopify Web Design and Development Blog