Your storefront

Locking your store to wholesale only

Restrict the whole storefront to approved wholesale customers for a private B2B channel.

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

  1. Go to Miko App → Settings → Storefront Lock

  2. Toggle it on

    Tick Restrict store to wholesale customers only.

  3. Write a lock message (optional)

    The text shown to visitors who are not wholesale customers. Leave it empty to show the default message.

  4. Set a redirect page for non-wholesale visitors (optional)

    A full URL starting with https://. Leave it empty to show the lock message instead.

  5. 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

Not on Shopify yet?

Start a free Shopify trial, then add Miko apps when you are ready.

Set up your store in minutes and try it with your own products. Loyalty, wholesale pricing, AI descriptions and the rest of the Miko apps install in one click once your store is live.