0

After renaming the ShopName in my BizFX config.json file, BizFX failed to load. Inspecting the network tab in my browser, I found that GetNavigationView() and GetLanguagesView() calls fail with the error message

{
  "Code":"Error",
  "Text":"Shop 'newShopName' does not exist.",
  "CommerceTermKey":"InvalidShop"
}

From digging through logs I found that BizFX is looking for a storefront with a name matching the ShopName configuration value.

What does BizFX use this storefront configuration for and is it possible to have multiple storefronts under a BizFX site?

0

Business tools mainly deals with commerce environments (HabitatShop, HabitatAuthoring, etc). The Shopname configured in config.json is for the authoring environment and passed in as a header to authoring. It is for getting the commerce terms (messages) from Storefront Control Panel in sitecore.

I don't really see a need for Business Tools using different shopname.

So you can change the config.json shopname to match the Storefront Control Panel shopname and configure authoring to have multiple commerce environments in global.json, add environments, bootstrap. It will then show new environments in the business tools.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.