MuleSoft Accelerator for Salesforce B2C Commerce Cloud
B2C Commerce Product Catalog import
Prerequisites
To load products into Salesforce B2C Commerce, create an XML file that complies with the schema noted here.
Import instructions
There are two ways to load the resulting product files:
- Manually load products
- Automate product load (using B2C Commerce Jobs)
Select the method you prefer based on the frequency of product-list updates and your current PIM system.
Option 1: Manually load products
- Log in to Salesforce B2C Commerce.
- Select the appropriate Site in Business Manager.
- Click Merchant Tools > Products and Catalogs > Import & Export
- Select "Upload" under Import and Export Files.
- Click on Choose File. Locate the product catalog XML file on your computer.
- Upload the file by clicking on the Upload button.
- Select "imports" under Catalogs.
- Select the catalog to load and click the Next button.
- Wait for the validation to complete.
- Correct any errors. If there are no errors, click Next.
- Select the option to Merge, Update, or Replace. Select "Import".
Option 2: Automate product load (using B2C Commerce Jobs)
Use the following steps to set up a job that periodically loads products into SFCC:
- Create a schema-compliant XML product file and place it in a WebDAV folder on the server. It is recommended to create a sub-folder (e.g., "products") in the WebDAV folder. The general path for the WebDav is:
- https://.commercecloud.salesforce.com/on/demandware.servlet/webdav/Sites/Impex/src/ (replace with your own value)
- In Business Manager, click Administration > Operations > Jobs. Click here for more details. Click New Job, enter an ID and Description, and then click Create.
- Click the Schedule and History tab, select Trigger, select Interval, and then set an appropriate interval to run the job.
- Select Job Steps. In the Select and Configure Step dialog filter, enter
ImportCatalog
, and then select ImportCatalog when it appears below the filter. - Fill in the fields - see here for more details.
- When finished, click the Assign button.
- To test the process:
- Go to the Schedule and History tab.
- Click the Run Now button. The job should appear in the Job History section.
- Click the Refresh button until the job completes, then check the resulting log file.