Wrong environment name is set for Sitecore Commerce Engine Connect Crawler


An environment value "HabitatAuthoring" has been incorrectly set for "sitecore_web_index" crawler. This could result in wrong catalog information (for example, template view values) being indexed.

Note: during indexing in Sitecore XP, the crawler needs to get catalog information from Commerce Engine by passing the environment values corresponding to the index. Normally, Sitecore XP master index uses the Commerce Engine Authoring environment (for example, HabitatAuthoring from the default deployment), while web index uses the Shops environment.


To resolve the issue, consider the following steps:

  1. Open the \App_Config\Include\Y.Commerce.Engine\Sitecore.Commerce.Engine.Connectors.Index.Solr.config file under Sitrecore XP install folder
  2. Under the <index id="sitecore_web_index"> node:

If you are using custom environments for your Sitecore Experience Commerce install, make sure to apply the similar mapping as explained above.