Your storefront

Locking your store to wholesale only

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

You can make your whole Shopify store wholesale only, a private B2B channel for distributors, resellers or trade buyers. Visitors who aren't signed in as an approved wholesale customer are sent straight to your wholesale application form instead of browsing the store, and approved customers shop as normal.

Where to find it

Registration Form → Store access in the Miko B2B app. It works together with the Wholesale access gate app embed in your theme.

How to set it up

  1. Turn on the registration form

    On the Registration Form page, under Form status, tick Show the registration form on the storefront. The store stays open to everyone until the form is live, so nobody is sent to a closed form.

  2. Turn on Store access

    Under Store access, tick Make this a wholesale-only store.

  3. Choose the application page

    Leave Application page as /apps/b2b/apply to use the page Miko hosts for you inside your theme, with no setup needed. Or enter the path of your own page that holds the Wholesale Registration block, for example /pages/wholesale.

  4. Save

    Click Save settings.

  5. Switch on the gate embed

    Click Open theme editor and switch on the Wholesale access gate app embed, then save the theme. The Store access card shows Wholesale only and tells you when the gate was last seen on your storefront.

Options

What happens when Store access is on

  • Visitors who aren't signed in as an approved wholesale customer are sent to your application form before the page loads. They see only your logo and the sign-in and apply links: search, the cart and header promo text are hidden.
  • Approved customers shop as normal. Approved means the customer has the tag of one of your active customer groups, or is a contact of one of your Shopify B2B companies.
  • Sign-in, account and policy pages always stay reachable.
  • Every sign-in link on your store signs the customer in on the store itself and takes approved customers straight to the shop. Returning customers whose store session has lapsed are signed back in automatically.

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.