ECommerceHelper GetSiteID Method Kentico 8.0 API Reference
Returns 0 if specified site uses global objects based on the specified e-commerce setting, otherwise returns site ID of the specified site.

Namespace: CMS.Ecommerce
Assembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 8.0.0.0 (8.0.5239.26125)

Parameters

siteIdentifier
Type: CMS.DataEngine SiteInfoIdentifier
Site identifier (site ID or site name)
keyName
Type: OnlineSystem String
One of the e-commerce settings keys which determine if specific global objects are used

Return Value

Type: OnlineInt32
See Also