Model 4 - Salesforce B2C Commerce Calculates ATS Values

Model 4 is appropriate when you want to update B2C Commerce's inventory status. You can update the inventory status once per day or less frequently. B2C Commerce can warn your customers when products are out of stock, on backorder, or pre-order.

In this model, all products have inventory records. B2C Commerce maintains stock levels for product display, cart display, and checkout. The merchant keeps inventory data reasonably fresh, perhaps with a daily batch feed.

If the following conditions exist:

There are product inventory records for all products. The new and modified records have these values:

Optionally, set these inventory record fields to support backorder. These record fields affect the calculation of ProductInventoryRecord.ATS.

Optionally, set these inventory record fields to support pre-order. These record fields affect the calculation of ProductInventoryRecord.ATS.

The result is that product inventory records indicate their availability. You can presume that the calculated ATS values are close to actual. The storefront behavior is as follows.

Status Behavior
Available The product record appears. 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.