You are not quite using this feature correctly ... it is already built in for you on the Attributes ...
What you really want to do to create a forced Option Name/Option Value selection is add your Option Name in the group that you want to force a proper selection the Option Value: Please Select to that Option Name and make it the DEFAULT and set it to DISPLAY ONLY ...
To do this after you added your Attributes, there is a built in feature to add another Option Value to the existing Option Name ...
After you have added Option Names/Values to your Products such as Option Name: Color and Option Value: Red, Yellow and Green ... you could then add to all Products that have Option Name: Color the Option Value for: **Please Select
**
To do this, if you go to the Catalog ... Option Values Manager ... you will see at the bottom of the screen a section headed with the examples:
Copy Option Name/Value to Products with existing Option Name ... |
|
Select an Option Name and Value that currently exists on a product or products to add to all products or to only the products in the selected category that have the selected Option Name.
Example: Add Option Name: Color Option Value: Red to all Products with Option Name: Size
Example: Add Option Name: Color Option Value: Green with default values from Products ID: 34 to all Products with Option Name: Size
Example: Add Option Name: Color Option Value: Green with default values from Products ID: 34 to all Products with Option Name: Size for Categories ID: 65 |
If you pick your Option Name from the dropdown, then the Option Value that matches it for the Please Select
In this example, you would pick the Option Name: Color and the Option Value: Please Select [COLOR] ... in the middle box set Option Name to add to: Color ...
If you want that to all Products that use Option Name: Color just click the INSERT button ...
Next, you need to provide the Option Name value id and the Option Value value id and we can set the defaults for the DEFAULT and DISPLAY ONLY ...
Linda McGrath
If you have to think ... you haven't been zenned ...
**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**
Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here
Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!