Developer Resources for AbleCommerce eCommerce platform
CommerceBuilder.CMS Namespace / IWidgetZoneRepository Interface / LoadForProduct Method / LoadForProduct(Int32,Int32) Method
The given zone id
The given ProductId
Version
LoadForProduct(Int32,Int32) Method
Loads a collection of WidgetZone objects for the given zone and category from the database
Syntax
ProductZone LoadForProduct( 
   int zoneId,
   int productId
)

Parameters

zoneId
The given zone id
productId
The given ProductId

Return Value

A WidgetZone object
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also