You are here:
Manage Guest Access to a B2B Store
A guest is someone who isn’t logged in to your store as an authenticated customer. Depending on the level of access that you provide, guests can browse your store, add products to their cart, and place orders.
Required Editions
| View supported editions. |
Which Salesforce Commerce Product Do I Have?
For D2C stores, person accounts must be enabled before you can enable guest access. See Enable Person Accounts for Commerce.
If you configure your Salesforce org by using Commerce Setup Assistant and enable Person Accounts, guest access is automatically enabled when you create a store.
To prevent unauthenticated guests from browsing your store and seeing your catalog and products, you can disable guest access. Disabling guest access unassigns buyer groups from the guest buyer profile.
These steps describe how to enable guest access if you want to do so manually.
- In the navigation sidebar, select a store from the Store dropdown.
- Select Settings | Store, and then click Buyer Access.
-
Under Guest Access, click
Enable.
If guest access is partially or fully configured, the button is labeled Disable. To reconfigure guest access settings, click Disable and then click Enable.
- To let a guest log in as an authenticated user without emptying their cart, enable Preserve Guest Cart.
- Add entitlements and price books to the market.
-
To set up what guests can search for, update the Field Level Security settings for the
Product and Product Attribute fields.
-
Click
at the top of the page, and then select Setup.
- In the Quick Find box, enter Digital Experiences, and select All Sites.
- Next to the name of your store, click Builder.
-
To access settings, click
and under Guest User Profile, click the profile name link.
- Scroll down to Field Level Security, click Product [View], and click Edit. For all fields that you want guest users to be able to search, select Read access, and then click Save.
- If you’re using product variations, under Field Level Security, click Product Attribute [View], and click Edit. For all fields that you want guest users to be able to search, select Read access, and then click Save.
- To include products that guest customers are entitled to, rebuild the search engine. See Update the Commerce Search Index.
-
Click
-
To make sure that you’ve provided the correct level of access, preview your store as a
guest.
Some settings can take a few minutes to take effect.
- To ensure that your guests can view product categories, Configure Default Store Navigation.

