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.0.5239.26125)
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