Returns list of catalog discounts which should be applied to the given product based on the product data and shopping cart data.
Namespace: CMS.EcommerceAssembly: 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: System 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: List IItemDiscountSee Also