Storefront Lock restricts your entire Shopify store to approved wholesale customers only. Perfect if your store is a B2B-only channel - a private portal for distributors, resellers, or manufacturers.
Where to find it
Miko App → Settings → Storefront Lock. The lock is applied by the Miko B2B Wholesale app embed, so the embed must be switched on in your theme.
How to set it up
Enabling Storefront Lock
Go to Miko App → Settings → Storefront Lock
Toggle it on
Tick Restrict store to wholesale customers only.
Write a lock message (optional)
The text shown to visitors who are not wholesale customers. Leave it empty to show the default message.
Set a redirect page for non-wholesale visitors (optional)
A full URL starting with https://. Leave it empty to show the lock message instead.
Save
Click Save settings.
Options
What happens when Storefront Lock is on
- Visitors who aren't logged in, and customers who are logged in but don't have a wholesale tag, see your lock message with a Log in button, or are sent to your redirect URL if you set one
- Approved wholesale customers (with a matching tag) browse freely and see their prices
There is no list of public pages: the lock covers every storefront page that loads the app embed.
Plan required
Related articles