If you want to change product pricing based on a customer tag in Shopify, the short answer is this: you can show different prices with Liquid, but if you need the actual checkout price to change, you should use a Shopify Functions-based app.
I have worked on Shopify apps for years, and this is one of those requests that comes up constantly for VIP pricing, trade discounts, member pricing, and B2B wholesale stores. The tricky part is that many older tutorials mix up display logic with real pricing logic, which leads to broken expectations at checkout.
In this guide, I will show you exactly how to change product prices for tagged customers, when the no-app Liquid method is enough, when it is not, and which apps are the most practical if you need a proper production-ready setup.
Can Shopify change product prices based on customer tags?
Yes, Shopify can change pricing behaviour based on customer tags, but the method matters. Liquid can change what the customer sees, while apps using Shopify Functions can change what they actually pay.
This distinction is the biggest thing merchants miss. If you only edit your theme so tagged customers see a lower price, Shopify may still use the base product price in the cart or checkout unless you apply a proper discount or pricing rule behind the scenes.
That is why this keyword often brings up old forum threads with partial answers. They usually solve the front-end display problem, not the real transactional pricing problem.
What is the best way to change the product price if the customer contains a specific tag?
The best method depends on whether you want a visual price change or a true checkout price change. For most live stores, an app is the better option because it is more reliable and scales better.
Here is the practical version:
- Use Liquid if you only need to show a different price on the storefront for logged-in tagged customers.
- Use a Shopify app if you need discounts, wholesale pricing, or customer-tag pricing to apply correctly in cart and checkout.
- Avoid old Script Editor tutorials unless you are specifically working through a migration plan. Shopify Scripts are being phased out, and June 30, 2026 is the key deadline merchants need to know.
If you are running a serious B2B or membership setup, I would not rely on theme-only logic. In my experience building Shopify apps, theme hacks are fine for testing, but they are not ideal for long-term pricing rules.
How do I change the displayed product price with Liquid?
You can change the displayed product price with Liquid by checking customer.tags and then using Shopify's math filters like times, minus, or divided_by. This works on product pages and other theme areas where price output is rendered.
This is the simplest no-app route. It is useful if you want a tagged customer, such as VIP or Trade, to see a discounted price when they are logged in.
Here is a basic example for 20% off for customers tagged VIP:
{% if customer and customer.tags contains 'VIP' %}
{{ product.price | times: 0.8 | money }}
{% else %}
{{ product.price | money }}
{% endif %}
You can also apply different discounts for different tags:
{% if customer and customer.tags contains 'GV20' %}
{{ product.price | times: 0.8 | money }}
{% elsif customer and customer.tags contains 'GV10' %}
{{ product.price | times: 0.9 | money }}
{% else %}
{{ product.price | money }}
{% endif %}
The key thing is that customer must be logged in, and tags are case-sensitive. If the tag in Shopify is vip but your code checks for VIP, it will not match.
Where should I add the Liquid code?
You should add the code in your theme's price-related files, usually wherever {{ product.price }} or {{ variant.price }} is rendered. On most modern themes, that often means a price snippet rather than the main product template.
The exact file depends on your theme. In Dawn and many Online Store 2.0 themes, common places include:
- snippets/price.liquid
- sections/main-product.liquid
- snippets/card-product.liquid for collection pages
- cart-related snippets if you also want the cart display to match
Go to Online Store - Themes - Edit code, then search for product.price, variant.price, or the existing money filter output. I strongly recommend testing on a duplicate theme first.
Can I subtract a fixed amount instead of a percentage?
Yes, you can subtract a fixed amount with Liquid using the minus filter. This works well if your pricing rule is something like £10 off or $45 off for tagged customers.
For example:
{% if customer and customer.tags contains 'Premium' %}
{{ variant.price | minus: 4500 | money }}
{% else %}
{{ variant.price | money }}
{% endif %}
Note that Shopify stores money values in the smallest currency unit. That means 4500 = £45.00 or $45.00 depending on your store currency. This is a common source of errors when merchants paste code from old tutorials.
Can I limit the tag-based price change to specific products or collections?
Yes, you can restrict the logic to certain products, collections, or product types by adding extra conditions. This is useful if only part of your catalogue should have member or wholesale pricing.
For example, you could combine a customer tag check with a collection condition:
{% if customer and customer.tags contains 'Trade' and product.collections contains collections['trade-products'] %}
{{ product.price | times: 0.8 | money }}
{% else %}
{{ product.price | money }}
{% endif %}
You can also use product tags, handles, vendors, or metafields if your catalogue structure is more complex. In practice, the cleaner your product organisation is, the easier these rules are to maintain.
What are the limitations of using Liquid for customer-tag pricing?
The biggest limitation is simple: Liquid changes display, not core pricing logic. If you need the lower price to follow through properly to cart, checkout, tax, and reporting, Liquid alone is usually not enough.
This matters because customers can get confused if they see one price on the product page and another later in the buying journey. From a conversion point of view, that is risky. I have seen merchants accidentally create price mismatch issues this way.
Here are the main drawbacks of the Liquid method:
- It is visual only in many setups
- Checkout may still use the original price
- You need theme edits, which can break after theme updates
- It only works for logged-in customers
- It can become messy if you have multiple tags and pricing tiers
If your goal is simply to show members a rough preview price, Liquid is acceptable. If your goal is real VIP pricing, trade pricing, or B2B customer-specific pricing, use an app or native B2B setup instead.
Why is Script Editor no longer the right answer?
Script Editor is being retired, so it is no longer the right recommendation for most merchants. Shopify Scripts will stop working on June 30, 2026, and the platform is moving merchants towards Shopify Functions.
A lot of older articles still mention the Script Editor app because it used to be the standard answer for Shopify Plus stores. That advice is now outdated for anyone setting up a new store or trying to future-proof their pricing logic.
If you are currently using Scripts, treat this as a migration project rather than a new implementation. If you are starting from scratch, build around Functions-based apps instead.
Shopify has been clear that Functions are the long-term direction because they are faster, more scalable, and fit better with the current checkout architecture. That is also why many modern discount and wholesale apps now focus heavily on Functions support.
Which apps are best for changing prices by customer tag in Shopify?
The best apps for customer-tag pricing are the ones that can apply real pricing rules at checkout, not just alter the theme display. For most merchants, the strongest options are wholesale pricing apps or Functions-based discount apps.
Below are the main options worth considering from the current app ecosystem.
1. Wholesale Pricing Discount B2B
Wholesale Pricing Discount B2B is one of the most established options for tag-based wholesale pricing, tiered discounts, and B2B pricing rules. It is a good fit if you need more than one simple VIP discount.
![]()
You can view it here: Wholesale Pricing Discount B2B.
What I like is that it is built for merchants who need customer groups, volume pricing, and wholesale workflows, not just a one-off discount. If your tagged customers are trade buyers, stockists, or repeat business accounts, this type of app usually makes more sense than custom theme code.
2. Howdy Customer Tag Discount
Howdy Customer Tag Discount is more focused on the exact use case this article is about: discounts based on customer tags. It is a cleaner option if your needs are straightforward and you do not need a full wholesale portal.
![]()
You can view it here: Howdy Customer Tag Discount.
For stores that simply want to tag customers as VIP, Member, or Trade and apply rules automatically, this is the sort of app I would shortlist early.
3. BOLD Custom Pricing: Wholesale B2B
BOLD Custom Pricing: Wholesale B2B is a long-running name in Shopify wholesale pricing. It is usually best for merchants who want advanced price groups, multiple pricing levels, and a mature B2B feature set.
![]()
You can view it here: BOLD Custom Pricing: Wholesale B2B.
BOLD has been around for years, so many merchants will already know the brand. In my experience, established apps like this can be useful when you need a broader support footprint and more edge-case coverage.
4. Function Junction
Function Junction is aimed more at merchants replacing old Scripts and building custom discount logic with Shopify Functions. It is a strong option if your store has more unusual pricing conditions.
![]()
You can view it here: Function Junction.
If you are migrating from Scripts or trying to recreate bespoke discount logic without building a private app, this is the type of tool worth testing.
5. PowerX Functions Creator
PowerX Functions Creator is another Functions-based option for merchants who need more control over discount logic without touching code directly. It is especially relevant for stores planning a Scripts-to-Functions migration.
![]()
You can view it here: PowerX Functions Creator.
I would look at this if your pricing rules are more operational than wholesale. For example, if you need to replicate a set of old discount conditions that used to live in Scripts.
Which method should I choose?
The right method depends on your store size, complexity, and how accurate the pricing needs to be. Liquid is best for simple display changes, while apps are best for real pricing rules.
| Method | Best for | Pros | Cons | Checkout impact |
|---|---|---|---|---|
| Liquid code | Simple member or VIP price display | Free, quick, flexible for theme output | Visual only, manual edits, can break on theme updates | No guaranteed real price change |
| Wholesale pricing app | B2B, trade accounts, tiered pricing | Automated, scalable, checkout-friendly | Monthly cost, setup time | Yes |
| Functions-based discount app | Script replacement and custom pricing rules | Future-proof, better performance, less code | Can be more complex to configure | Yes |
If I were advising a merchant today, my rule of thumb would be:
- Use Liquid for testing or simple front-end display changes
- Use an app for any live store where the checkout price must be correct
- Use a wholesale app if you have multiple customer groups, price lists, or volume discounts
How do I set this up step by step in Shopify?
You can set up customer-tag pricing in Shopify in a few clear steps. The process is straightforward, but testing matters because pricing errors can hurt conversion and trust.
-
Create or confirm the customer tag
Go to Customers in Shopify, open a customer profile, and add a tag such as VIP, Trade, or Member. -
Decide whether you need display-only or checkout pricing
If display-only is enough, use Liquid. If checkout must reflect the discount, install an app. -
Duplicate your theme
Before editing any Liquid, create a backup copy of your live theme. -
Edit the relevant price file
Search your theme code for the price output and wrap it in tag-based conditional logic. -
Test with a tagged customer account
Log in as a customer with the tag and check product pages, collection pages, cart, and checkout. -
Test an untagged account too
Make sure standard pricing still shows correctly for everyone else. -
Review edge cases
Check sale products, compare-at prices, multi-currency behaviour, variants, and subscription products if relevant.
If you are handling more than one customer segment, document the rules somewhere internally. Once stores add tags like VIP, Trade, Wholesale, Net30, and Distributor, pricing logic can get confusing fast.
What common mistakes should I avoid?
The most common mistakes are case-sensitive tag mismatches, editing only one price location, and assuming Liquid changes checkout pricing. These are easy to miss if you test too quickly.
Here are the issues I see most often:
- Checking for the wrong tag spelling
- Updating product page prices but forgetting collection cards
- Forgetting variant prices and only editing product.price
- Not testing compare-at price logic
- Using outdated Script Editor advice
- Launching without a tagged test customer account
How does customer-tag pricing fit into a wider Shopify strategy?
Customer-tag pricing works best when it is part of a broader segmentation strategy. Tags are useful, but they are even more powerful when paired with CRM workflows, customer data hygiene, and clear offer logic.
For example, you might tag customers based on:
- Total spend
- Number of orders
- Wholesale application approval
- Loyalty tier
- Subscription status
If your customer data is messy, your pricing rules will be messy too. That is why I recommend reading How to Manage Shopify Customer Data Without Losing Sales and, if you need better tooling, Best CRM for Shopify in 2025: Complete Merchant’s Guide.
For merchants using tag-based pricing as part of an upsell or personalisation strategy, these related guides may help too: How to upsell on Shopify leveraging AI, How to Upsell Subscription Products on Shopify, and How to Maximize Revenue from Your Shopify Product Pages.
Is there a native Shopify alternative for B2B pricing?
Yes, some merchants can use Shopify's native B2B features instead of relying entirely on apps. This is most relevant for stores on Shopify Plus with more advanced wholesale requirements.
If you are running a proper B2B operation with company accounts, negotiated pricing, and structured catalogues, it may be worth looking at Shopify's native B2B direction rather than patching everything together with tags. That said, many smaller stores still use tags because they are simple and flexible.
If you are not sure whether your store has reached that stage, read When to Upgrade Your Store to Shopify Plus. For many small and mid-sized merchants, a good app remains the more cost-effective route.
My recommendation as a Shopify app developer
If you only need a quick proof of concept, use Liquid. If you need something that customers can trust at checkout, use a Functions-based app or a proper wholesale pricing app.
That is the honest answer. I build in this ecosystem, and I have seen merchants waste hours trying to force theme code to do the job of a pricing engine. It works until it does not.
For a tiny store with one VIP tag and one discount level, the no-app method is fine as long as you understand the limitation. For anything beyond that, especially if margin control matters, app-based pricing is the safer choice.
If you are also thinking about how your store is being surfaced in AI search and shopping tools, I would also read How to Optimize Your Shopify Store for AI Shopping Agents and How to Get Your Shopify Store into ChatGPT. Better product data and cleaner pricing logic tend to help everywhere.
Frequently asked questions about changing prices by customer tag
These are the questions merchants usually ask after the initial setup. The answers are short, but they solve most of the confusion around this topic.
Does changing the price in Liquid affect checkout?
No, not reliably. Liquid usually changes what is displayed, not the underlying checkout price.
Do customers need to be logged in?
Yes, if you are checking customer.tags in Liquid, the customer must be logged in so Shopify knows who they are.
Are customer tags case-sensitive?
Yes. VIP and vip are not the same tag in your logic.
Can I use multiple tags for different discounts?
Yes. Use if, elsif, and else conditions in Liquid, or create multiple pricing rules in your app.
Can I apply tag-based pricing only to one collection?
Yes. Add a collection condition in Liquid, or configure product-specific rules in your pricing app.
Should I still use Script Editor?
No for new builds. Script Editor is being retired, and Shopify Scripts stop working on June 30, 2026.
If your goal is to change the product price if the customer contains a specific tag, the most important thing is choosing the right layer of Shopify to do it. Theme code changes the display. Apps and Functions change the actual pricing logic. Once you understand that distinction, the rest becomes much easier.