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:
<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.