Headless commerce and custom storefronts with Shopify APIs and SDKs
Hi all!
I am currently looking into the Shopify Storefront API, because i want to implement a shop with a headless approach.
The shop is a standard shop which i could implement with the Storefront API.
The only "complicated" feature should be customer specific prices for products.
For example if a customer has the tag "vip" the price of the product or a group of products should be 20$ instead of 25$.
And there should even be the option to give single customers different product prices.
I saw that there are many Shopify Plugins which do provide this kind of features, but for me none of them worked with the headless approach.
Does anyone have any experience implementing this kind of feature in a headless shop?
If someone could point me in the right direction, the help would be greatly appreciated.
Thanks!
Solved! Go to the solution
This is an accepted solution.
I use React so I'm biased in my recommendation but you can use what you're most comfortable with.
In any case the process for what you would like to do is similar across frameworks.
Here is my thought process on this:
1. Get customer tag with Storefront API.
2. Check it for 'VIP'
3. Apply. a discount code which you can also get with Storefront API
How are you setting the customer tag?
I am setting the customer tags in the Shopify admin
What framework are you using to access the Storefront API?
Not quiet sure yet, either react with next or vue with nuxt.
Do you have any recommendations?
This is an accepted solution.
I use React so I'm biased in my recommendation but you can use what you're most comfortable with.
In any case the process for what you would like to do is similar across frameworks.
Here is my thought process on this:
1. Get customer tag with Storefront API.
2. Check it for 'VIP'
3. Apply. a discount code which you can also get with Storefront API
This yould do the job, thanks for your help!
Where can I find some more feedback?
As a business owner, have you ever wondered when your customer's first impression of yo...
By Skye Jun 6, 2023We're excited to announce improvements to the threaded messaging experience in our communi...
By TyW May 31, 2023Thank you to everyone who participated in our AMA with Klaviyo. It was great to see so man...
By Jacqui May 30, 2023