E-Commerce Configuration Guide : Site Configuration Settings : Item Settings : ItemShowBadQtyMsg
 
ItemShowBadQtyMsg
Key value:
Any text, plus {{qty}} plus {{rem}} variables
Description:
Set ItemShowBadQtyMsg to the message you want displayed on ItemShow.aspx when a visitor/guest tries to add a quantity greater than that available for Max4Sale items. Use the {{qty}} (quantity being added to cart) and {{rem}} (Max4Sale remaining) variables to display quantity being added to cart and Max4Sale remaining.
If an online visitor/guest tries to add a quantity to the cart that exceeds the remaining quantity, a custom message is displayed. The asp:label id="lblBadQty" is the ASP control that displays this message on the ItemShow.aspx page.
 
Note: If you have this setting in your siteconfig.config file and you set the value to be blank or empty (i.e., value=""), the Max4Sale/Points4Sale numbers are displayed in the same manner as if these settings were not in your siteconfig.config file.
 
Example:
ItemShowBadQtyMsg = Selected quantity ({{qty}}) is not available, ({{rem}} remaining).
See also:
AvailableText
UnAvailableText
Max4Sale
Points4Sale