E-Commerce Configuration Guide : Site Configuration Settings : Item Settings : NoDefDate
 
NoDefDate
Key value:
0 or 1
Description:
Set NoDefDate to 1 to force date selection on ItemShow.aspx when the page first loads. Forces (1) visitor/guest to select a date from the calendar before she can add the item to the shopping cart. If at first no date is selected from the ItemList.aspx page, when the ItemShow.aspx page first loads for an item requiring a date, a message displays below the calendar, the text of which is configurable via the NoItemDateText setting.
The Add to Cart button does not become active until a date is selected from the calendar. If the visitor/guest selected the date from the ItemList.aspx page first, then, that date is auto-selected when the ItemShow.aspx page loads and the Add to Cart button becomes active. To force visitors/guests to always select the date from the ItemShow.aspx page, you can disable the link to the calendar on the ItemList.aspx page by adding visible="false" to the asp:linkbutton id="lbdate", as follows:
 
<asp:linkbutton id="lbdate" runat="server" visible="false" tooltip="Click to change date"></asp:linkbutton>
 
See also:
NoItemDateText