Set up Commerce Connect
After you install the Sitecore Commerce Connect .zip package using the Sitecore Installation Wizard, you must complete the set up in Sitecore. If your external commerce system uses the product synchronization feature to store product data in Sitecore, you must also create a product repository to integrate the external commerce system with Sitecore.
For information about the availability of Product Synchronization, see dev.sitecore.net.
Create a product repository for product synchronization
After you have installed a connector to integrate Sitecore with an external commerce system that uses product synchronization, you must create a product repository. If the external commerce system does not use the product synchronization approach, skip this procedure.
Create only one repository that is shared across all your webshops. Use Divisions to indicate which webshop each product belongs to.
-
In the Content Editor, in the /sitecore/Content folder, create a product repository item based on the Product Repository branch template in Templates/Branches/CommerceConnect/Products. The subfolders needed for product synchronization are automatically created.
NoteIf necessary, instead of placing the product repository in the Content folder and naming it Product Repository, you can specify a custom product repository name or change the location of the product repository.
-
Copy the item ID from the Manufacturers item in the product repository (/sitecore/content/Product Repository/Manufacturers) and save it in a text editor (for example, Notepad). Repeat this step for the ProductType item (/sitecore/content/Product Repository/ProductType).
-
In the Product template (/sitecore/templates/CommerceConnect/Products/Product), in the Source field for Manufacturer, enter StartSearchLocation=<itemid> where <itemid> is the Manufacturer item ID you copied in the previous step.
Repeat this step for the ProductType item.
-
Save the template.
-
In the Content Editor, select the Product Repository item in the /sitecore/Content folder and click Synchronize all products. The product and master indexes are rebuilt during synchronization.
-
On the Publish tab, click the Publish drop-down arrow and click Publish Site.
-
In the Publish Site dialog box, select Republish and click Publish.