SKUInfoProvider CalculateSKUPriceAfterDiscountInternal Method Kentico 8.0 API Reference
Calculates product price after all its catalog discounts are applied.

Namespace: CMS.Ecommerce
Assembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 8.0.0.0 (8.0.5239.26125)

Parameters

sku
Type: CMS.Ecommerce SKUInfo
SKU data
cart
Type: CMS.Ecommerce ShoppingCartInfo
Shopping cart data
forCart
Type: OnlineSystem Boolean
True - This method is called within the shopping cart calculations, False - This method is called within the displaying price on the live site.
column
Type: OnlineSystem String
Name of the column from which the product price should be retrieved. If empty, SKUPrice column is used.
parentSku (Optional)
Type: CMS.Ecommerce SKUInfo
The parent SKU for option(SKU) price calculation. Parent SKU discounts will be used.
customPrice (Optional)
Type: OnlineSystem Double
If set, sku price is not taken from SKUInfo object.

Return Value

Type: OnlineDouble
See Also