You sell to approved accounts, not the public — or you run a retail shop but keep a wholesale line that shouldn't be open to everyone. Either way you need the same thing: checkout that only completes for customers you've approved. Shopify, natively, doesn't gate the checkout by who the customer is.
The native way
Shopify's tools for this are storefront-level: a password page that closes the whole shop, hidden prices, or a theme that shows different content to logged-in customers. If you want to hide the shopfront, those are the native options.
Where it breaks
Hiding the storefront is not the same as restricting the checkout, and the gap is exactly where an unwanted order slips through:
- Password pages are all-or-nothing. They close the entire shop to the public — no browsing, no SEO, no retail. That's far more than "wholesale-only checkout".
- Hidden prices still allow purchase. A buyer with a direct product or checkout link, or one using fast checkout, can still reach payment. Hiding the price didn't lock the door.
- No per-customer gate at checkout. Native settings don't say "only complete this order if the customer is an approved wholesale account". That's a decision about who, made at checkout — which native settings don't make.
The safe way: a rule you can read, preview and watch
Wholesale-only checkout is one sentence, with an exemption for the accounts you trust:
Stops checkout on every checkout — except when the customer's email matches *@wholesale.example.
Written by the Ruleproof engine — the same code compiled into your checkout.
Written by the rule engine itself, so the sentence and the checkout behaviour are one thing. And because it's a rule:
- You control who's in. The exemption is a list of emails or domains you manage. Approve a buyer by adding their address; revoke by removing it — no rule rewriting.
- Scope it as narrow as you like. Block everything, or only carts with wholesale-only products, or only above a case quantity — so a public retail store and a gated wholesale line can coexist.
- Preview and monitor. Test it as an approved customer (clears) and an unapproved one (blocked, with your message), and run it in monitor mode first so you switch it on knowing exactly who it would have stopped.
Which should you use?
If you want to close the entire shopfront to the public, a password page is the native fit. If you want the store to stay browsable but the checkout to complete only for approved wholesale accounts, that's a checkout rule, and Ruleproof lets you write it as a sentence, preview it, and monitor it first. The free plan runs three live conditions (AND, OR and exceptions included) on your real store so you can judge it on your own traffic.