Click or drag to resize
CMSEcommerceObjectsPageValidatePrice Method
Validates product price.

Namespace: CMS.Ecommerce.Web.UI
Assembly: CMS.Ecommerce.Web.UI (in CMS.Ecommerce.Web.UI.dll) Version: 12.0.0
Syntax
C#
protected virtual string ValidatePrice(
	decimal price,
	CurrencyInfo currency,
	SKUInfo product
)

Parameters

price
Type: SystemDecimal
currency
Type: CMS.EcommerceCurrencyInfo
product
Type: CMS.EcommerceSKUInfo

Return Value

Type: String
Null or validation error.
See Also