Click or drag to resize
ShoppingServiceValidateShippingOption Method
Validates whether a shipping option is assigned to the same site as the current shopping cart or the shipping option is a global object.

Namespace: CMS.Ecommerce
Assembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 13.0.131
Syntax
C#
protected virtual void ValidateShippingOption(
	ShippingOptionInfo shippingOptionInfo
)

Parameters

shippingOptionInfo
Type: CMS.EcommerceShippingOptionInfo
Shipping option.
Exceptions
ExceptionCondition
InvalidOperationExceptionThrown when validation fails.
See Also