Hide price and add to cart for B2B-tagged products until customer login

If you sell B2B or wholesale products, you may want to restrict pricing and purchasing options to logged-in customers only. This helps ensure that only approved users can view prices and place orders.


With this feature, any product tagged with B2B or wholesale will have its prices and Add to Cart button hidden until the customer logs in. It’s a simple way to keep pricing private from general visitors while giving logged-in customers full access.

This guide will walk you through how the feature works across your store.


1. Tagging Your Products

To enable this feature for specific products, simply add a tag of either:

B2B  

wholesale  


To add a tag to your product go to your Admin > Products > Select your chosen products > Product organization > Tags

You can apply either of the tags depending on how you’ve organized your catalogue. If a product includes one of these tags, and the customer is not logged in, price and purchasing options will be hidden.


2. Activate setting in theme

In order for this feature to work, it will need to be activated in the theme settings. You can navigate to

Online Store > Themes > click Customize on the required theme.

From here go to Theme Settins > B2b

Turn on feature in theme settings.


What Do Customers See (When Not Logged In).

For any product tagged as B2B or wholesale, and when the customer is not logged in, the following changes will be applied automatically:

Product prices will be hidden, including:

  • Regular price
  • Sale or compare-at price
  • Unit price
  • Any tax display (e.g., “Including tax” or “Excluding tax”)

The “Add to Cart” button will be hidden

A “Log in to order” button will appear in place of these elements


What Happens After a customer Logs in.

Once the customer is logged in, the product behaves as normal:

  • All price elements are displayed
  • The “Add to Cart” button is visible
  • No special tagging or customer account type is required — if they’re logged in, they can view and purchase the product

This makes it easy to manage your catalogue for both general and B2B audiences with minimal setup.

Still need help? Contact Us Contact Us