Click or drag to resize
ShoppingCartItemInfoProviderCreateDiscountRow Method
Creates one row of the discounts table with the data which are calculated from the shopping cart item and specified discount.

Namespace: CMS.Ecommerce
Assembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 8.2.23
Syntax
C#
public static DataRow CreateDiscountRow(
	ShoppingCartItemInfo item,
	IItemDiscount discount
)

Parameters

item
Type: CMS.EcommerceShoppingCartItemInfo
Shopping cart item
discount
Type: CMS.EcommerceIItemDiscount
Discount which should be applied to the shopping cart item

Return Value

Type: DataRow
See Also