allBlogsList

Sitecore Commerce Engine - Excluding MongoDb and Analytics from Sitecore Commerce

There may be a requirement to not use MongoDB with Sitecore Commerce.

The solution was to turn Mongo dB off and removing connection to if from the connection string file.

After doing that we started getting errors relating to analytics tracking such as “Tracker.Current is not initialized” and EAPlan crashing when we add item to cart.

To resolve the issue, we need to patch:delete some pipeline processors as follows:

Patch:delete one occurrence of ‘<processor type="Sitecore.Commerce.Pipelines.Orders.Common.AddOrderToEAPlan, Sitecore.Commerce"&gt;’ in “App_Config\Include\Sitecore.Commerce.Orders.config”

Also patch:delete 12 occurences of ‘<processor type="Sitecore.Commerce.Pipelines.Carts.Common.UpdateVisitorInEAPlan, Sitecore.Commerce"&gt;’ in “App_Config\Include\ Sitecore.Commerce.Carts.config”

Your patch file below should resolve all issue that are cart and order submission related.

Thanks for reading.