Enable the B2B Storefront
The B2B version of the React PWA Reference Storefront implements features that are useful for buyers in a B2B store. In addition, the home page and navigation are updated for buyers. For details, see B2B Storefront.
Configure the Storefront
To ensure connectivity between the React PWA Reference Storefront and Cortex, you must provide the appropriate set of configurations in src/ep.config.json
. For more information about the b2b
configurations in the src/ep.config.json
file, see Configuration Parameter Descriptions.
Ensure the following parameters are configured as required:
cortexApi.scope
: The store or organization name used by the organizations for your store.cortexApi.pathForProxy
: The location of the Cortex instance used for Commerce shopping flows.b2b.enable
: The general configuration to enable the B2B Commerce shopping flows.