Disclaimer: This website requires JavaScript to function properly. Some features may not work as expected. Please enable JavaScript in your browser settings for the best experience.

Dev GuideAPI Reference
Dev GuideAPI ReferenceUser GuideLegal TermsGitHubDev CommunityOptimizely AcademySubmit a ticketLog In
Dev Guide

PopulateAvailabilities pipeline

OrderPipeDescription
100PopulateAvailabilitiesPopulates 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.