CatalogItemQuantityDiscountDetailControl
CatalogItemQuantityDiscountDetailControl displays detailed item information, including quantity-discount pricing. The legacy source requires Discount Quantity Discounted Pricing to be set up before use.
Configurable properties
| Property | Default | Valid values or format | Effect |
|---|---|---|---|
DescriptionHeaderTextString | Empty string ("") | Sets the description header text. | |
NameHeaderTextString | Empty string ("") | Sets the name header text. | |
PricingHeaderTextString | Empty string ("") | Sets the pricing header text. | |
QtyinStockHeaderTextString | Empty string ("") | Sets the quantity-in-stock header text. | |
ShowDescriptionBoolean | true | true, false | Controls description display. |
ShowNameBoolean | true | true, false | Controls name display. |
ShowQtyinStockBoolean | true | true, false | Controls quantity-in-stock display. |
ShowStockCodeBoolean | false | true, false | Controls stock-code display. |
StockCodeHeaderTextString | Empty string ("") | Sets the stock-code header text. |
SitePages.config example
The following example loads CatalogItemQuantityDiscountDetailControl.ascx and applies the documented literal defaults. The following properties are omitted because they do not have documented literal defaults: DescriptionHeaderText, NameHeaderText, PricingHeaderText, QtyinStockHeaderText, StockCodeHeaderText.
<Control src="CatalogItemQuantityDiscountDetailControl.ascx"
ShowDescription="true"
ShowName="true"
ShowQtyinStock="true"
ShowStockCode="false" />
Add this <Control> element to the appropriate page placeholder as described in The SitePages.config File.
Inherited properties
CatalogItemQuantityDiscountDetailControl inherits item-specific conditions from ItemControl and shared conditions from CyberStoreBaseControl.