CatalogFeaturedItemControl

CatalogFeaturedItemControl displays a randomly selected featured item from the current category and its child categories.

CatalogFeaturedItemControl featured item

Configurable properties

Property Default Valid values or format Effect
NumberOfItemsToDisplay
Integer
1   Sets the number of items to display.
photoLocation
String
see UsePhoto   Sets the photo location.
PhotoWidth
Integer
0   Sets the photo width.
UsePhoto
String
"Photo1" "Photo1", "Photo2" Selects the photo to use.

SitePages.config example

The following example loads CatalogFeaturedItemControl.ascx and applies the documented literal defaults. The following properties are omitted because they do not have documented literal defaults: photoLocation.

<Control src="CatalogFeaturedItemControl.ascx"
         NumberOfItemsToDisplay="1"
         PhotoWidth="0"
         UsePhoto="Photo1" />

Add this <Control> element to the appropriate page placeholder as described in The SitePages.config File.

Inherited properties

CatalogFeaturedItemControl inherits item-context behavior from ItemControl and shared conditions from CyberStoreBaseControl.


This site uses Just the Docs, a documentation theme for Jekyll.