Click or drag to resize
ShippingOptionInfoProviderIsShippingOptionApplicable Method
Checks if shipping option is applicable in given shopping cart.

Namespace: CMS.Ecommerce
Assembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 8.2.23
Syntax
C#
public static bool IsShippingOptionApplicable(
	ShoppingCartInfo cart,
	ShippingOptionInfo shippingOption
)

Parameters

cart
Type: CMS.EcommerceShoppingCartInfo
Shopping cart in which shipping option should be used.
shippingOption
Type: CMS.EcommerceShippingOptionInfo
Shipping option to check if it is applicable.

Return Value

Type: Boolean
See Also