Sitecore Commerce 8.2.1 Overview
Sitecore Commerce 8.2.1 is brand new e-commerce product from Sitecore, not an upgrade of a previous Sitecore e-commerce server. The Commerce product involves many different components and it is helpful to understand these before delving into the installation process. The below diagram shows the different components involved in Sitecore Commerce 8.2.1:
Sitecore Commerce (Sitecore Commerce Engine) – newly written .NET Core application that provides for orders and promotions commerce components. Sitecore has taken the old Commerce Server and started rewriting it component by component.This is integrated in the Business Tools for customer and Order Manager and Pricing and Promotions Manager.
Commerce Server: Commerce provider that Sitecore provided as commerce offering prior to this new Commerce offering. This is integrated for the product catalog/inventory component and is supporting the merchandising manager piece. This will be phased out once this product catalog/inventory component is rewritten.
Sitecore Commerce Connect: The commerce abstraction layer from Sitecore that abstracts commerce components and allows for connecting with multiple commerce systems. This layer also provides for engagement functionality/personalization/triggering goals/reporting on the engagement.
Sitecore Commerce Engine Connect: This is the connector layer between Sitecore Commerce Connect and Sitecore Commerce Engine
Sitecore Commerce Server Connect: This is the connector layer between Sitecore Commerce Connect and Sitecore Commerce Server (legacy Commerce Server)
Customers and Orders Manager:
This is newly introduced and integrates with the new Sitecore Commerce Engine.
Pricing and Promotions Manager:
This is newly introduced and integrates with new Sitecore Commerce Engine.
This is currently driven using Commerce Server Catalog. This will be rewritten and Commerce Server will be phased out.
This is new storefront that is integrating with the new Siteore Commerce Engine for shopping cart, promotions, and orders.
SitecoreCommerce8.2.1_1.0.20.zip Package overview and installation
The downloaded package contains the following:
- Database – This folder consists of databases for Commerce Server.
- Modules – This folder folder consists of Sitecore packages for Commerce Connect and images for “Adventure Works” and “Habitat” catalogs to be installed using Sitecore Installation Wizard.
- Packages – This folder consists of the various components mentioned in "Overview" above, to be installed using Sitecore updateinstallationwizard
- CommerceServer-11.4.148.exe – This is the legacy Commerce Server that provides for Catalog and Inventory features in the Merchandising Manager.
- Sitecore.Commerce.SDK.1.0.2301.zip – new .NET Core based Commerce Authoring (Commerce Engine API) site that provides for REST API for Sitecore Commerce Engine features
The installation process is as follows:
- Review the Server2012_FeaturesRequired.txt to make sure the needed components are present on your machine
- Setup of needed Windows Accounts
- Setup Sitecore XP 8.2
- Setup Commerce Server
- Install Commerce Server using the CommerceServer-11.4.148.exe in the SitecoreCommerce8.2.1_1.0.20.zip
- Setup CSServices in IIS for housing Commerce Server services
- Install the Sitecore packages from the “Modules” folder in SitecoreCommerce8.2.1_1.0.20.zip
- Sitecore Commerce Connect
- Images zip for habitat
- Images zip for adventure works
- Install the Sitecore Update packages in the following order from the “Packages” folder in SitecoreCommerce8.2.1_1.0.20.zip
- Sitecore Commerce Server Connect.10.0.xx.update
- Sitecore Commerce Business Tools Shared.1.0.xx.update
- Sitecore Commerce Merchandising Manager.10.0.xxx.update
- Sitecore Commerce Customer and Order Manager.1.0.xx.update
- Sitecore Commerce Pricing and Promotions Manager.1.0.xx.update
- Commerce Server site (Powershell scripts to initialize CommerceServer site)
- Setup commerce server site
- Setup the Commerce Server services in the CSServices
- Commerce Authoring Service (New Sitecore Commerce Engine .NET Core App)
- Build and Deploy Commerce Authoring Service
- Create Braintree account for payments
- Check the default settings for any changes
- Bootstrap Habitat and Adventure Works Environments
- Merge the config files for CommerceServer.config
Detailed instructions of installation can be found here
Common Installation Issues and Resolution
- If you receive 401.1 unauthorized when you try to access the Commerce Server hosted services, then create Multi-string value "BackConnectionHostnames" at the regedit key HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa\MSV1_0 and put the hostname of the Commerce Server site as the value. Please refer https://support.microsoft.com/en-us/help/896861/you-receive-error-401.1-when-you-browse-a-web-site-that-uses-integrated-authentication-and-is-hosted-on-iis-5.1-or-a-later-version
- if you run into authorization issue with catalog service, run azman.msc, open authorization store and provide the CSServices\CSSolutionStorefrontSite_CatalogWebService\CatalogAuthorizationStore.xml as the store. Right-click the CatalogandInventorySytem/Role Assignments/Administrator role and select "Assign users and groups" and then “from windows and active directory” to add the user account setup for Commerce server.
- If you run into the following catalog not found error: “Entity Adventure Works Catalog|AW535-11| was not found” – This can be resolved by manually importing the Adventure Works catalog that is in the $SitecoreInstance\Website\SitecoreCommerce\Data\Catalog\Catalog.xml.
- If you run into Missing Habitat catalog – follow similar process as mentioned for "Adventure Catalog" issue, and Import the CommerceAuthoring\wwwroot\data\Catalogs\ Habitat_Master.xml catalog file.
The Installation process involves a lot of steps and is currently complicated as we are installing the new commerce engine and the legacy Commerce Server. Hopefully once the remaining catalog and inventory components are moved out of Commerce Server, the process may be streamlined to be better experience. I hope that this post helps in understanding the components and successful installation of new Sitecore Commerce 8.2.1.
If you have any questions regarding Sitecore Commerce and your commerce options for a Sitecore CMS, contact us.