CatalogAccessorySelection

CatalogAccessorySelection lets shoppers select or unselect accessories for a base item.

CatalogAccessorySelection accessory options

Configurable properties

Property Default Valid values or format Effect
AccessoryMode
String
"standalone"   Sets the accessory mode.
AllowAccessoryQtyChange
Boolean
false true, false Controls whether shoppers can change accessory quantities.
Item_ID
Integer
Not specified   Sets the item identifier.
ItemQuantiy
Integer
1   Sets the item quantity.
OrderDetail_ID
Integer
0   Sets the order-detail identifier.
photoLocation
String
see UsePhoto   Sets the photo location.
PhotoWidth
Integer
0   Sets the photo width.
TemplatePath
String
Empty string ("")   Sets the accessory-selection template path.
UsePhoto
String
"Photo1" "Photo1", "Photo2" Selects the photo to display.

SitePages.config example

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

<Control src="CatalogAccessorySelection.ascx"
         AccessoryMode="standalone"
         AllowAccessoryQtyChange="false"
         ItemQuantiy="1"
         OrderDetail_ID="0"
         PhotoWidth="0"
         UsePhoto="Photo1" />

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

Inherited properties

CatalogAccessorySelection inherits shared conditions from CyberStoreBaseControl.


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