top of page
Search
Writer's pictureYassine Alahyane

Sitecore Commerce to OrderCloud - Catalog Migration Plugin

Updated: Oct 25, 2022


New Plugin to Help Migrate your Catalogs to OrderCloud


April 7th 2022


This last 2 years or so, Sitecore made several acquisitions in an effort to move its products to the Composable DXP space.

One of these acquisitions is OrderCloud, a modern, headless, API-First Commerce Platform.

This acquisition prompted many customers and partners to consider migrating from Sitecore Commerce to OrderCloud.


One of the important steps of this migration would be to migrate your existing Catalog from XC to OrderCloud.


This plugin will automatically migrate the following Entities as shown below:



Some notes below about implementation decisions I made to make this plugin as generic as possible, allowing you to customize and adapt it to your own scenarios:


  • I used a Single Buyer even if you have multiple Catalogs. So if you have 5 Catalogs in XC, you will have 1 buyer in OrderCloud associated with 5 catalogs.

  • ViewAllCategories and ViewAllProducts are enabled in Catalog Associations.

  • Default Inventory Quantity from Policy

  • List Price and Sale Price from Price Cards in XC are all migrated as Price Breaks in the Price Schedules.

  • Variants are not migrated as their implementations in XC and OrderCloud are very different. In OrderCloud you will need to create the Specs first and then Generate the variants. This will be a custom piece you'll have to add based on how you are using Variants in XC.

How to use this Plugin:

  1. Clone the plugin from this Github repo:

  2. Update Policy files under https://github.com/yalahyane/Alyas.Commerce.OrderCloud.DataMigration/tree/main/Policies

  3. Add the Plugin as a project reference to your Sitecore Commerce Engine.

  4. To run from Postman use this Endpoint: {{ServiceHost}}/{{ShopsApi}}/MigrateCatalogsToOrderCloud()

P.S: This is not a Production-Ready plugin. This is meant to get you started. You will need to try it in a Sandbox environment and adapt it to your needs.

You can set up an Order Cloud Sandbox in https://ordercloud.io/ with an API Client.


I hope you find this plugin helpful.


Feel free to leave comments or questions.

134 views0 comments

Recent Posts

See All

Comentários


bottom of page