uCommerce includes full API reference documentation and lots of helpful articles to help you build your e-commerce site as effortlessly as possible.
This article will cover how to install commerce connect for Sitecore and uCommerce. It is assumed that you have an already existing installation of Sitecore and uCommerce. If you are interested in how to install uCommerce, please read How to install uCommerce.
See which version CommerceConnect is supported by uCommerce in Sitecore Commerce Connect.
When you have a version of Sitecore and uCommerce installed, it is time to install Commerce connect. First you have to download through Sitecore Commerce Connect page
Once you've downloaded Commerce Connect, you just need to install the package through the Sitecore package installer just like you installed uCommerce.
Now you need to activate components specific to uCommerce, located under: '/sitecore modules/shell/ucommerce/Apps' (relative to the application root).
In the folder you'll find a folder called 'Sitecore Commerce Connect.disabled'. By removing the '.disabled' part of the folder name you'll let uCommerce include the respective set of configuration files needed for uCommerce and Sitecore Commerce Connect.
Restart your website and Commerce Connect will be enabled with uCommerce.
First you need to find the configuration file: '/App_Config/Include/Sitecore.uCommerce.Pipelines.ModifyPipelines.config.disabled' (relative to the application root)
Simply remove the .disabled extension from the file, so it represents a proper configuration like the rest of the files located under that folder.
Sitecore will now automatically include that file, which represents the Sitecore Commerce Connect specific integration points for uCommerce.
If you are unsure that it has been activated properly, you can always check the page that reveals the Sitecore configuration: 'yourdomain.com/sitecore/admin/showconfig.aspx'.
With the configuration is in place you need to setup configure Sitecore to enable the built in engagement plans.
To configure individual engagement plans for Commerce Connect, please follow the instructions covered in "Sitecore Commerce Connect Installation Guide (A4)" in section "Configuring a Webshop" on page 5 in the Sitecore Commerce Connect page.
Now that you've configured the data in Sitecore you need to configure uCommerce to observe those settings. Everything happens per store, so you need to open up the each of your created stores and pair them with a website in Sitecore.
Commerce Connect assumes a set of engagement plans per website you have, so you need to tie pair of your stores with a site configured in Sitecore, so uCommerce knows which engagement plans to use.
To do so, select each store in uCommerce and pick the website in the 'Hostname' setting, which corresponds to the website driving presentation for that store in Sitecore.
If your webshop enables customer login you need to do the following steps to have Commerce Connect identify the logged in customer.
Commerce Connect assumes a domain called 'CommerceUsers' exists, which is used to tie users to orders. You need a role for said domain, so uCommerce will be able to create a User for the domain 'CommerceUsers'.
If the domain does not exist, you need to create that first. Open up the role manager in Sitecore, and create a new Role for the domain 'CommerceUsers'. The name is of your choice and is needed by uCommerce when creating a new member.
As per the new role created in Sitecore, you need to configure the member group on the store, that uCommerce will use to create a new user. You need to select the new role for your Domain "CommerceUsers".
Enable Create Customer As Members which creates customers as members in the checkout pipeline.
You also need to configure a member type for the user created. The member type is used for the user created inside Sitecore.
After the customer has logged in Commerce Connect need to be notified which customer has logged in.
//Connects the logged in customer with the Commerce Connect contact. Sitecore.Analytics.Tracker.Current.Session.Identify(fullyQualifiedName);
By following the steps outlined in this article you have now installed and activated your own brand new version of uCommerce and Commerce Connect for Sitecore by: