What is account restriction
If you have a wholesale or B2B storefront, you may want to hide certain products or pages from visitors who are not signed up. This can help protect your pricing and product information, as well as create a more exclusive experience for your customers. Our theme offers account restrictions that allow you to do just that.
How to restrict your Shopify theme for wholesale ordering
There are a number of settings inside the Keystone Shopify theme that will help you restrict your storefront to logged in users. To navigate to these settings
Open the theme editor by clicking Customize next to the relevant theme
Click Theme settings (gear icon near top left)
Scroll down and click Account
Setting which customers see restricted content
Using Keystone you can choose to show restricted content based on customer account tags or with B2B customer accounts.
Show restricted content based on tags
From within the Account settings in your Shopify theme:
Enter a tag for Matching tag. E.g. "approved".
Navigate to your Shopify admin > Customers > Find the customer you want to mark as approved > Add tag > Enter "approved" and click save.
Customers that are now logged in using this account will be able to see any restricted content
Show restricted content for B2B users
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.
From within the Account settings in your Shopify theme:
Check Enable B2B customers
Customers that are logged into a B2B account will be able to see any restricted content
Setting which content to restrict
Using Keystone you have a few options to control what content is restricted. You can hide products and blog posts using tags or restrict your entire site to approved customers.
Hiding products using tags
From within the Account settings in your Shopify theme:
Enter a tag for Hide products with tag. E.g. "hide"
Now visitors who are not logged in or not approved will not be able to products with tag "hide"
Hiding blog posts with tags
From within the Account settings in your Shopify theme:
Enter a tag for Hide blog posts with tag. E.g. "hide"
Now visitors who are not logged in or not approved will not be able to blog posts with tag "hide"
Enable full site restriction
From within the Account settings in your Shopify theme:
Check Enable full site restriction
Now visitors who are not logged in or not approved will only be able to see specific sections you choose to show.
Inside the theme editor you can now edit section content based for non-approved visitors. We recommend a simple banner section linking to your signup form.
Control how restricted content will appear
You can choose how you want restricted content to be displayed to customers. You can either hide the content completely or show a placeholder that says "login to view".
From within the Account settings in your Shopify theme:
Set Restricted style
Choose Placeholder to show a placeholder for any restricted content
Choose Hidden to completely hide restricted content