Spy on Your Competitors - Extended Free Trial!  GO!
Can you Set Prices Differently for Various Customers on Shopify?

Can you Set Prices Differently for Various Customers on Shopify?

Last modified: December 3, 2021

FAQ
Shopify Trial

Not all customers are created equal. Some customers are more valuable to your business than others and you might want to offer those loyal to your brand special pricing. This can be an interesting way for you to build more revenue from your loyal customers and grow your business.

There aren’t many ways that you can set prices different for different customers. You can use some apps like this one here that can offer personalised prices. But this can only do certain amounts and is good if you want to offer one price for one group and another for another group.

However, if you want to have a more complex system, then you can use this option where you add code, using the free Script Editor app.

Recommended: The 10 Best Shopify Bulk Price Editor Apps

# Name Image
Shopify
Shopify
More Info
1
BD Bulk Discount Price Editor
BD Bulk Discount Price Editor
More Info
2
Bulk Price Editor/Price Change
Bulk Price Editor/Price Change
More Info
3
Bulk Price Editor
Bulk Price Editor
More Info
4
T2 Pro Bulk Price Editor
T2 Pro Bulk Price Editor
More Info
5
PE (Discount & Price Editor)
PE (Discount & Price Editor)
More Info
6
RH Advance Bulk Price Editor
RH Advance Bulk Price Editor
More Info
7
Bulk Price Editor & Discounts
Bulk Price Editor & Discounts
More Info
8
Simple Bulk Price Editor
Simple Bulk Price Editor
More Info
9
Ablestar Bulk Product Editor
Ablestar Bulk Product Editor
More Info
10
Products Bulk Editor
Products Bulk Editor
More Info
Show More
Click here for more information about The 10 Best Shopify Bulk Price Editor Apps.

How to Set Prices Differently for Various Customers on Shopify Steps

Here are the instructions on how you can achieve these various prices on the website.

Step 1 – Log In

The first step is to log into your store using your credentials.

Step 2 – Add App

Ensure that you’ve added the free Script Editor app to your store. If not, go to the app store, and then you can install the app on your Shopify account.

Step 3 – Add Customer Tags

Now you need to add tags to the customers where you want to offer special prices. For instance, you can add a tag that reads ‘Customer5’ or ‘Cus10’ that refers to a discounted amount or percentage on your products.

Add these throughout certain customers.

Step 4 – Add Code

Now you can add some code into the Math Filter that is perfect for setting a discounted amount for specific customers on your store

{% if customer.tags contains 'Customer5' %}
{{ variant.price - 5.00 | money }}
{% else %}
{{ settings.free_price_text }}
{% endif %}

This tells the website that if your customer has the tag ‘Customer5’ then they get $5 off the product price. Remember to save this when complete.

Or you can use the Script Editor app and use this code to add multiple discount points for customers depending on what tag they have.

TAG = "CUS" #customer tag
DISCOUNTS_BY_TAG = { #array of discounts
"CUS1" => 1,
"CUS2" => 2,
"CUS3" => 3,
"CUS4" => 4,
"CUS5" => 5,
"CUS6" => 6,
}
MESSAGE = "Customer discount" #this is the text that appears next to discount credit
customer = Input.cart.customer
if customer #checks to see if user is logged in
if customer.tags.include?(TAG) #checks to see if user has appropriate discount tag
DISCOUNTS_BY_TAG.each_pair do |tag, discount| #cycle through the above array of tags
if customer.tags.include?(tag) #pairs the customer's discount level from the above array of tags
discount = #{discount}
Input.cart.line_items.each do |line_item|
line_item.change_line_price(
line_item.line_price * (Decimal.new(1) - discount / 100),
message: MESSAGE,
)
end
end
end
end
end
Output.cart = Input.cart

This will fetch the right amount to discount the product by related to what level the customer should have. Note that if you delete the code app from your store, this code will no longer work.

Final Word: Can you Set Prices Differently for Various Customers on Shopify?

You can set different prices for various customers, though this is done as a code. Using a free app this can be done easily. You can use the code above to help you offer this on your website and build more loyalty on your store.

Recap:
Read More
Got Something To Say?

Your email address will not be published. Required fields are marked *

Free Trial