Prepare B2C Commerce

First, get your B2C Commerce instance ready.

  1. If you’re setting up a new instance of B2C Commerce, install and configure it according to the documentation.
    Note
    Note You activate the Omnichannel Inventory integration per B2C Commerce instance. So if you have sandbox, stage, and production instances, you follow the process for each one separately.
  2. Create or import your sites and stores in B2C Commerce.
  3. Create or import the B2C Commerce inventory lists to be paired with locations and location groups. Make sure that each ID in B2C Commerce matches the External Reference of the corresponding location or location group in Salesforce.
  4. Assign the inventory lists to sites and stores.
  5. In Business Manager, navigate to Administration | Global Preferences | Retention Settings. Set the Inventory Record Retention to a value greater than 0. This setting ensures that after the integration is activated, B2C Commerce deletes any unused legacy product inventory records. When the integration is active, Omnichannel Inventory handles all individual product inventory records.
    Note
    Note If this setting is 0, then B2C Commerce doesn’t delete records that are no longer needed.
  6. In Business Manager, navigate to sitename | Merchant Tools | Site Preferences | Order. In the Failed Orders Setting section, set Auto-Fail Orders to a value greater than 0. This setting automatically fails any unplaced orders in Created status after the specified number of minutes. Unplaced orders older than 30 days can cause availability discrepancies with Omnichannel Inventory.