Model 2 - Inventory Information for Some Products

Model 2 is appropriate for a merchant who has some inventory that is always physically in stock.

Module 2 is also appropriate for a merchant who only monitors the availability of a subset of products.

This model has inventory records that control the availability of some products. Other products without inventory records are considered to be permanently in stock.

Note: If you use Salesforce Omnichannel Inventory, then inventory records and availability data are managed in Omnichannel Inventory. The details of this model apply to implementations that don’t use Omnichannel Inventory.

If the following conditions exist:

  1. There is an inventory list that is periodically refreshed.
    • ProductInventoryList.DefaultInStock = true
  2. There are some product inventory records. The new and modified records have these values:
    • ProductInventoryRecord.allocation = {units}
    • ProductInventoryList.perpetual = false

The product inventory records can also have these values set. The values affect the calculation of ProductInventoryRecord.ATS.

Salesforce B2C Commerce calculates ProductInventoryRecord.ATS = {units} for all product records. The result is that any product without a product inventory record is considered to be in stock and available. Product inventory records for the other products indicate their availability.

The storefront behavior for products without inventory records is as follows.

Status Behavior
Available The product record appears in product detail, cart, and checkout views. The product can be ordered.
Backordered Not supported
Pre-ordered Not supported
Not available Not supported

The storefront behavior for products with inventory records is as follows.

Status Behavior
Available The product record appears in product detail, cart, and checkout views. The product can be ordered.
Backordered The product record appears. The product can be ordered. The backorder date appears in the shopping cart.
Pre-ordered The product record appears. The product can be ordered. The pre-order date appears in the shopping cart.
Not available The product record appears with a no longer available message. The product can't be ordered.
X Privacy Update: We use cookies to make interactions with our websites and services easy and meaningful, to better understand how they are used. By continuing to use this site you are giving us your consent to do this. Privacy Policy.