Click or drag to resize
ShoppingCartItemInfoProviderGetShoppingCartItemInfo Method (OrderItemInfo, SKUInfo, ShoppingCartInfo)
Returns shopping cart item created from the order item data.

Namespace: CMS.Ecommerce
Assembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 13.0.131
Syntax
C#
public static ShoppingCartItemInfo GetShoppingCartItemInfo(
	OrderItemInfo item,
	SKUInfo sku,
	ShoppingCartInfo shoppingCart
)

Parameters

item
Type: CMS.EcommerceOrderItemInfo
Order item
sku
Type: CMS.EcommerceSKUInfo
Current data of the product (SKU) which is associated with the order item
shoppingCart
Type: CMS.EcommerceShoppingCartInfo
Shopping cart that should contain the shopping cart item

Return Value

Type: ShoppingCartItemInfo
See Also