Wrong environment name is set for Sitecore Commerce Engine Connect Crawler

  • Description

    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.

  • Perform the following steps to resolve the issue:

    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:
      replace
      <environment>HabitatAuthoring</environment>
      with
      <environment>HabitatShops</environment>

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

Applies to:

Sitecore Experience Commerce 9.0 Update-3

December 18, 2018
December 18, 2018

Reference number:

298894