SKUInfoProvider GetSKUDiscountsInternal Method Kentico 8.1 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.1.5347.20411)

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