Click or drag to resize
ShoppingCartInfoProviderIsProductTypeInShoppingCartInternal Method
Returns true, if there is at least one product of the specified type in the shopping cart.

Namespace: CMS.Ecommerce
Assembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 9.0.0
Syntax
C#
protected virtual bool IsProductTypeInShoppingCartInternal(
	ShoppingCartInfo cart,
	SKUProductTypeEnum type
)

Parameters

cart
Type: CMS.EcommerceShoppingCartInfo
Shopping cart
type
Type: CMS.EcommerceSKUProductTypeEnum
Product type to search for

Return Value

Type: Boolean
See Also