Click or drag to resize
ICartItemCheckerCheckNewItem Method
Checks if the newItemParams are valid and product configuration can be added to the given cart.

Namespace: CMS.Ecommerce
Assembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 11.0.0
Syntax
C#
bool CheckNewItem(
	ShoppingCartItemParameters newItemParams,
	ShoppingCartInfo cart
)

Parameters

newItemParams
Type: CMS.EcommerceShoppingCartItemParameters
New item parameters (product with options)
cart
Type: CMS.EcommerceShoppingCartInfo
ShoppingCartInfo where the new item will be placed.

Return Value

Type: Boolean
See Also