ICatalogPriceCalculatorGetPrices Method |
Returns product prices for the specified product or variant.
Namespace: CMS.EcommerceAssembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 13.0.131
Syntax ProductCatalogPrices GetPrices(
SKUInfo sku,
IEnumerable<SKUInfo> options,
ShoppingCartInfo cart
)
Parameters
- sku
- Type: CMS.EcommerceSKUInfo
A product or a product variant. - options
- Type: System.Collections.GenericIEnumerableSKUInfo
Product options of all types (accessory, attribute, text). Use null to get prices without options. - cart
- Type: CMS.EcommerceShoppingCartInfo
A shopping cart providing context of calculation.
Return Value
Type:
ProductCatalogPricesExceptions Exception | Condition |
---|
ArgumentNullException | sku or cart is null. |
See Also