To preview content on the storefront, use the Storefront Toolkit. This tool opens at the top-left corner of your storefront on sandbox, Development, and Staging instances.
Use the Storefront Toolkit to preview content within a content slot. However, to determine which content appears, Salesforce B2C Commerce checks the active slot configuration for the content slot. Multiple slot configurations can apply to a single content slot, and each slot configuration can specify different content, so you might want to change which configuration is active before previewing the content.
To control which slot configuration is active, use the Storefront Toolkit's Site Preview Controls window. Use this window to change the effective date/time for the storefront session. This is important because slot configurations are scheduled, and B2C Commerce ignores a slot configuration unless the date and time of the storefront's session falls within the slot configuration's schedule.
For each content slot, you can optionally set a default slot configuration, which is used no other slot configurations are scheduled.
In the Site Preview Controls window, to change or remove the active source code, edit the value in the Source code field. This value determines the active source code for the storefront session. After you set these values, the page title is rewritten with the overridden date and time.
- You can't preview the site with a disabled source code in effect.
- Preview the site with an inactive source code in effect, by also setting the site preview date/time to one that fits the active period of the source code.