Interface IPriceInfoProvider
- Namespace
- Dynamicweb.Ecommerce.Prices
- Assembly
- Dynamicweb.Ecommerce.dll
To completely take over price calculation from eCommerce, create a class that implements this interface and overwrites FindPriceInfo
Methods
FindPriceInfo(PriceContext, PriceProductSelection)
Finds the price info.
Parameters
context
PriceContext The information about the price context.
selection
PriceProduct Selection The information about the product context.
Returns
Remarks
See the interface description of IPrice
FindQuantityPriceInfos(PriceContext, Product)
Finds the quantity prices for a product in a given context.
IEnumerable<KeyValuePair<PriceQuantityInfo, PriceInfo>> FindQuantityPriceInfos(PriceContext context, Product product)
Parameters
context
PriceContext The information about the price context.
product
ProductThe product to find prices for.
Returns
- IEnumerable<Key
Value <PricePair Quantity , PriceInfo Info >> All applicable quantity prices for the product.