CS2_CatalogHotbuyControl

CS2_CatalogHotbuyControl is deprecated in the legacy source. Its documented display and photo properties remain listed for reference only.

Configurable properties

Property Default Valid values or format Effect
DisplayAddtoCart
Boolean
Not specified true, false Controls Add to Cart display.
DisplayOnHandQuantity
Boolean
Not specified true, false Controls on-hand quantity display.
DisplayPDFLink
Boolean
Not specified true, false Controls PDF link display.
DisplayShortDescription
Boolean
Not specified true, false Controls short-description display.
DisplayStockCode
Boolean
Not specified true, false Controls stock-code display.
NumberOfItemsToDisplay
Integer
Not specified   Sets the number of items to display.
photoLocation
String
Not specified   Sets the photo location.
PhotoWidth
Integer
Not specified   Sets the photo width.
UsePhoto
String
Not specified "Photo1", "Photo2" Selects the photo to use.

SitePages.config example

The following example loads CS2_CatalogHotbuyControl.ascx and applies the documented literal defaults. The following properties are omitted because they do not have documented literal defaults: DisplayAddtoCart, DisplayOnHandQuantity, DisplayPDFLink, DisplayShortDescription, DisplayStockCode, NumberOfItemsToDisplay, photoLocation, PhotoWidth, UsePhoto.

<Control src="CS2_CatalogHotbuyControl.ascx" />

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

Inherited properties

CS2_CatalogHotbuyControl inherits listing behavior from ListingControl and shared conditions from CyberStoreBaseControl.


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