Loading...
Area: Optimizely B2B Commerce

PopulateAvailabilities

Recommended reading 
Order Pipe Description
100 PopulateAvailabilities Populates result.PopulateAvailabilitiesDtos. If inventory not showed on site or product is not active or product can be configure then returns NoMessage type. If CustomAvailabilityMessage is not blank then returns Available type. If product.TrackInventory is false and product is not discontinued then returns NoMessage type. If AvailableQty more than low stock level then returns Available type. If AvailableQty less than low stock level but greater than 0 then returns LowStock type. Otherwise returns OutOfStock type.  Then goes through and does the same calculations for ProductUnitOfMeasures.
Do you find this information helpful? Please log in to provide feedback.

Last updated: Dec 11, 2020

Recommended reading