When Order Management is integrated with Salesforce B2C Commerce, item, category, and catalog data can be mastered in either system. The data is exported to the other system on a regular schedule.
This topic includes the following sections:
The following Order Management item types are the only types recognized by both B2C Commerce and Order Management. Don't use any other item types in an integrated system.
Order Management represents gift certificates as an item, but they have special functionality in B2C Commerce. You can map B2C Commerce gift certificates to the appropriate Order Management item code using the Gift Certificate Item Code setting in the Demandware provider.
If you import item data without mapping gift certificate item codes, then the system automatically generates a gift certificate item in Order Management and maps it to B2C Commerce gift certificates. This item has the item code DW_GIFT_CERTIFICATE.
Item images can be mastered in either system. The direction of synchronization is defined via the Image Sync setting in the Demandware provider. By default, images are not synchronized between the systems.
If your images in Order Management include slicing data, you must check the Image Export Includes setting in the Demandware provider to include that data in exported images.
B2C Commerce can export product data in the form of XML. You can import this XML to Order Management as part of the general item data synchronization by doing the following:
To access the imported Product XML in Order Management, do the following:
The Product XML appears in the Product Xml setting.
Items are mapped between B2C Commerce and Order Management by matching the product ID in B2C Commerce with the item code in Order Management.
By default, product options in B2C Commerce are brought into Order Management as separate line items grouped with their associated product line items. Alternatively, you can make them attributes on their associated line items.
When product options are separate line items, Order Management groups them with their associated items. You can make these groupings visible in Customer Service Center by creating a custom attribute and attaching it to the Order Item object type. Create the attribute exactly as follows:
When viewing an order, each product line item and its associated option line items show the same numeric attribute value. For example, consider the attribute label "Option Group" with two product line items with one option line item each. The first product and its option display "Option Group: 1" and the second product and its option display "Option Group 2."
To implement product options as item attributes, enable the Product Option Attribute Enabled setting in the Digital Integration provider. Also create a custom attribute and attach it to the Order Item object type. Create the attribute exactly as follows:
When viewing an order, each product line item that has product options shows them as attributes within the line item.
If you have any custom item attributes, make sure that they have the same name in B2C Commerce and in Order Management. The system automatically synchronizes them as part of the catalog data synchronization. If you have custom item attributes in B2C Commerce without corresponding item attributes in Order Management, Order Management automatically creates them when it imports catalog data.