Click or drag to resize
CMSEcommercePageCheckMainCurrency Method
Checks if the site specified by the site ID has a main currency defined. Returns true if the main currency is defined, otherwise returns false and shows warning on the page.

Namespace: CMS.Ecommerce.Web.UI
Assembly: CMS.Ecommerce.Web.UI (in CMS.Ecommerce.Web.UI.dll) Version: 12.0.0
Syntax
C#
protected bool CheckMainCurrency(
	int siteId
)

Parameters

siteId
Type: SystemInt32
ID of site to check

Return Value

Type: Boolean
See Also