How to implement customer specific pricing in headless ecommerce?

Solved

How to implement customer specific pricing in headless ecommerce?

opten
Shopify Partner
6 0 2

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!

 

 

 

 

Accepted Solution (1)
michaeltheodore
Explorer
59 6 9

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

View solution in original post

Replies 7 (7)

michaeltheodore
Explorer
59 6 9

How are you setting the customer tag?

opten
Shopify Partner
6 0 2

I am setting the customer tags in the Shopify admin

michaeltheodore
Explorer
59 6 9

What framework are you using to access the Storefront API?

opten
Shopify Partner
6 0 2

Not quiet sure yet, either react with next or vue with nuxt.
Do you have any recommendations?

michaeltheodore
Explorer
59 6 9

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

opten
Shopify Partner
6 0 2

This yould do the job, thanks for your help!

Bigboss322
New Member
8 0 0

Where can I find some more feedback?