Model 4 might be appropriate for the merchant who wants to update B2C Commerce's inventory status once per day or less frequently, and would like B2C Commerce to warn 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:
ProductInventoryList.DefaultInStock =
false
There are product inventory records for all products. The new and modified records have these values:
ProductInventoryRecord.allocation
= {units}
ProductInventoryList.perpetual =
false
Optionally, set these inventory record fields to
support backorder. These affect the calculation of
ProductInventoryRecord.ATS
.
ProductInventoryList.backorderable
= true
ProductInventoryList.preorderBackorderAllocation
= {units}
ProductInventoryList.inStockDate=
{date}
Optionally, set these inventory record fields to
support pre-order. These affect the calculation of
ProductInventoryRecord.ATS
.
ProductInventoryList.preorderable
= true
ProductInventoryList.preorderBackorderAllocation
{units}
ProductInventoryList.inStockDate =
{date}
The result is that product inventory records indicate their availability. The calculated ATS values will presumably be very 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. |