Guest access for a B2B store
Key Takeaway
Turning on guest access isn't enough for search. Give the guest user profile Read access to the Product fields guests should search, and then rebuild the search index. Without self-registration, the guest buyer profile's account record type default decides whether guest checkout creates a business account or a person account.
A guest is anyone who isn't logged in to a B2B store as an authenticated customer. Guest access lets guests browse the store and, depending on how much access you give, add products to their cart and place orders. Guest access is optional for B2B stores, so an administrator decides whether to open the catalog to unauthenticated visitors or keep it behind a login.
How to turn on guest access
- In the navigation sidebar, select the store from the "Store" dropdown.
- Select "Settings | Store", and then click "Buyer Access".
- Under "Guest Access", click "Enable".
Guest access setup grants access to the store site and to its media, content and related objects. Setup also uses a guest buyer profile that has cart and checkout access turned on.
Turn on "Preserve Guest Cart" to let a guest log in as an authenticated user without emptying their cart.
If you configure the org with Commerce Setup Assistant and enable person accounts, guest access is enabled automatically when you create a store.
If guest access is partially or fully configured, the button under Guest Access reads "Disable" instead of "Enable". To reconfigure guest access settings, click Disable and then click Enable.
Disabling guest access stops unauthenticated guests from browsing the store and seeing the catalog and products. Disabling also unassigns buyer groups from the guest buyer profile.