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 |
|---|---|---|---|
DisplayAddtoCartBoolean | Not specified | true, false | Controls Add to Cart display. |
DisplayOnHandQuantityBoolean | Not specified | true, false | Controls on-hand quantity display. |
DisplayPDFLinkBoolean | Not specified | true, false | Controls PDF link display. |
DisplayShortDescriptionBoolean | Not specified | true, false | Controls short-description display. |
DisplayStockCodeBoolean | Not specified | true, false | Controls stock-code display. |
NumberOfItemsToDisplayInteger | Not specified | Sets the number of items to display. | |
photoLocationString | Not specified | Sets the photo location. | |
PhotoWidthInteger | Not specified | Sets the photo width. | |
UsePhotoString | 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.