Loading
B2B Commerce for Visualforce
Table of Contents
Select Filters

          No results
          No results
          Here are some search tips

          Check the spelling of your keywords.
          Use more general search terms.
          Select fewer filters to broaden your search.

          Search all of Salesforce Help
          Easily Redirect Home Page Links to an Experience or External URL

          Easily Redirect Home Page Links to an Experience or External URL

          Provide clarity in a buyer experience where the technical distinction between Visualforce storefront and an Experience Builder site is intentionally obscured. You can specify whether Home page links on your storefront navigate to the Visualforce storefront home page, the Experience Builder site home page, or another URL. This decision also applies to Home page links included in the B2B Commerce Header component in an Experience Builder site. Choose the option that best supports your buyer's expectations and provides a successful experience.

          Where: This change applies to B2B Commerce for Visualforce Winter ’21 (version 4.13) in Lightning Experience and Salesforce Classic in Enterprise, Performance, Unlimited, and Developer editions.

          Why: In previous versions of B2B Commerce for Visualforce, the Header component for an Experience Builder page provided only a static cart icon. Home page links in either the Visualforce storefront or Experience Builder page were restricted to their respective context. Because the new Header component unifies your Visualforce storefront and Experience Builder site, admins require control over which experience represents the default or fallback destination for buyers.

          How: After you upgrade the managed package, the Home Page module in your storefront configuration settings includes the following new configurations:

          External URL
          The absolute URL that Home links on your storefront navigate to when Home Page Type is external.
          Home Page Type
          The destination for all Home links on your storefront. Specify one of the following values:
          ValueUsage
          visualforce The default Visualforce home page for the storefront. Home page links preserve any URL parameters, such as cartId and cclcl.
          community The Experience Builder site home page, such as https://absolutelyfakedomain.capricorncoffee.us/DefaultStore/s. Home page links replace the cclcl URL parameter with the language URL parameter used in a site. For more information about persisting the selected language between an Experience Builder site page and a Visualforce page, see Support Experience Builder Site Languages with the Locale Switcher Widget.
          external A custom URL that you specify in the External URL configuration. Home page links preserve any URL parameters.
          Note
          Note
          • This configuration doesn't apply to any existing CC Menu records that link to your storefront's default Visualforce home page. Even when this configuration's value is community or external, your storefront continues to respect those CC Menu record values.
          • When this configuration's value is community, a customer service representative (CSR) that logs in to the storefront on behalf of a buyer can't navigate to the Experience Builder page. The Home Page module also includes the new CSR Redirect Page configuration for specifying a fallback Visualforce page for a CSR to navigate to. For more information, see Easily Specify a Landing Page for Customer Service Representatives (CSRs).

          The Site Home Page configuration in the Login module is also updated to accommodate the Experience Builder site home page. To immediately redirect a buyer to the Experience Builder site home page after they log in, enter /s/ for this configuration's value.

          If you use the Experience Builder site home page, by default the page is excluded from your storefront's sitemap index and robots.txt file for search engine optimization (SEO). To ensure that the Experience Builder site home page is included in your SEO resources, set the new Lightning Community Sitemap configuration in the User Interface module to TRUE.

          Note
          Note Before you set this configuration, manually generate a sitemap from Experience Builder. If you set Lightning Community Sitemap to TRUE but haven't generated the sitemap from Experience Builder, your storefront's sitemap index becomes invalid.
           
          Loading
          Salesforce Help | Article