Click or drag to resize
VolumeDiscountInfoProviderValidateVolumeDiscountInternal Method
Returns True if volume discount is valid and can be applied to the specified shopping cart item, otherwise returns False.

Namespace: CMS.Ecommerce
Assembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 9.0.0
Syntax
C#
protected virtual bool ValidateVolumeDiscountInternal(
	ShoppingCartItemInfo item,
	VolumeDiscountInfo discount
)

Parameters

item
Type: CMS.EcommerceShoppingCartItemInfo
Shopping cart item to which the volume discount should be applied
discount
Type: CMS.EcommerceVolumeDiscountInfo
Volume discount data

Return Value

Type: Boolean
See Also