Variable: intelligentSearchPrice
constintelligentSearchPrice:ProductPriceReader<Product>
Defined in: hydration/intelligentSearch/price.ts:22
Implementation of ProductPriceReader for Intelligent Search (IS)
products.
Reads Price and ListPrice from the commercial offer of the offer's SKU
and seller, as IS sends them, 0 included. ListPrice is kept only when it
is above Price. Undefined when the product doesn't have that SKU or
seller, or when Price isn't a number.
Param
Product object from Intelligent Search
Param
Offer object containing SKU and seller information
Returns
The offer's price, if the product has one