Account Restriction Documentation
What is Account Restriction?
Account restriction allows you to hide certain products, pages, or pricing information from visitors who are not logged in or approved. This is particularly useful for wholesale or B2B storefronts, as it protects sensitive information and creates an exclusive experience for approved customers.
How to Restrict Your Shopify Theme for Wholesale Ordering
Open the Theme Editor by clicking Customize next to the relevant theme.
Click Theme Settings (gear icon near the top left).
Scroll down and click Account.
Setting Which Customers See Restricted Content
You can choose to show restricted content based on customer account tags or B2B customer accounts.
Show Restricted Content Based on Tags
In Account Settings, enter a tag for Matching tag (e.g.,
approved
).In your Shopify admin, go to Customers, find the customer, and add the
approved
tag.Approved customers will see restricted content when logged in.
Show Restricted Content for B2B Users
In Account Settings, check Enable B2B customers.
B2B customers (Shopify Plus only) will see restricted content when logged in.
For more information on B2B accounts, visit: Shopify B2B Help.
Setting Which Content to Restrict
You can hide products, blog posts, or restrict the entire site to approved customers.
Hiding Prices with Tags
In Account Settings, enter a tag for Hide prices tag (e.g.,
hide price
).Products with this tag will not display prices or an "Add to Cart" button to unauthorized customers.
Hiding Products with Tags
In Account Settings, enter a tag for Hide products with tag (e.g.,
hide product
).Visitors who are not logged in or approved will not see products with this tag.
Hiding Blog Posts with Tags
In Account Settings, enter a tag for Hide blog posts with tag (e.g.,
hide blog
).Unauthorized visitors will not be able to view blog posts with this tag.
Enable Full Site Restriction
In Account Settings, check Enable full site restriction.
Visitors who are not logged in or approved will only see specific sections you choose to display (e.g., a banner linking to your signup form).
β
Currently B2B accounts are limited to Shopify Plus stores. Refer to Shopify for more information on B2B accounts: https://help.shopify.com/en/manual/b2b.
Control How Restricted Content Appears
You can choose how restricted content is displayed to customers:
Placeholder: Shows a "Login to view" message.
Hidden: Completely hides restricted content.
Steps to Set Restricted Style
In Account Settings, set Restricted Style.
Choose Placeholder to show a login prompt or Hidden to completely hide restricted content.