SKUInfoProvider GetSKUDiscountsInternal Method Kentico 8.0 API Reference
Returns list of catalog discounts which should be applied to the given product based on the product data and shopping cart data.

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.

Return Value

Type: OnlineList IItemDiscount 
See Also