A space to discuss GraphQL queries, mutations, troubleshooting, throttling, and best practices.
I've seen a similar question being asked about giving specific customers an automatic discount, but no clear solution to the problem has been posted that I can see.
Shopify provides by default the "Automatic Discount", but unlike promo codes, for some reason you cannot create an automatic discount that applies to groups of customers.
So fine. I am creating a Custom App in order to try to accomplish this.
Before I spend a week or two going down a rabbit hole that won't work, I thought I would put it to this community to weigh-in on the relative stupidity of the ideas I have come up with:
Idea #1:
Idea #2:
Neither of these solutions seems particularly robust. I have also read that webhooks don't reliably get received within any particular timeframe, so I don't know that I could rely upon them to be fast enough to update the checkout before the customer actually checks out. Using javascript to reload the page with a discount code just seems kludge-y.
Am I missing something? Is there an obvious better way to do this? Should we have used WooCommerce after all??
My post was marked as "spam" for the first day, so giving it a bump - hopefully gets some views.