Creates one row of the discounts table with the data which are calculated from the shopping cart item and specified discount.
Namespace: CMS.EcommerceAssembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 8.0.0.0 (8.0.5239.26125)
Parameters
- item
- Type: CMS.Ecommerce ShoppingCartItemInfo
Shopping cart item
- discount
- Type: CMS.Ecommerce IItemDiscount
Discount which should be applied to the shopping cart item
- basePrice (Optional)
- Type: System Double
Price to apply discount to.
Return Value
Type: DataRowSee Also