I am in version 7.04. We were looking for a way to use the admin header text for options in a useful and purposeful way. If you enter in a value and leave it, you force a selection, if you do not enter in a value then this automatically selects the top option by default and makes it selected so you don't have to waste so much time of a customer to buy your product (in the right cases....)
just replace this in ProductHelper.cs around line 86
Code: Select all
aspOptions.Items.Add(option.HeaderText);
with
Code: Select all
if (!string.IsNullOrEmpty(option.HeaderText))
{
aspOptions.Items.Add(option.HeaderText);
}
Seems to work like a champ and I hope others will try it and see if it works for you as well. I don't know how to keep changes being made to this file so just document for any upgrade. If anyone else has a better idea that would be great.
Thanks,
Phil Chrisman