Hiya,
I noticed that it's possible to place items in the cart without first selecting (in my case) colour or size. Is there some way of stopping a customer proceeding until they've made a selection?
Jen
Hiya,
I noticed that it's possible to place items in the cart without first selecting (in my case) colour or size. Is there some way of stopping a customer proceeding until they've made a selection?
Jen
Add another option value to the option name (call it Select, Choose One or whatever you like), and add that as an attribute, marking it as Default and Display Only. This will force an actual choice to be made.
Great, thanks - but I guess that means setting up this new value for each attribute and each product, one at a time?
And how do I make the new value (I called it Select) appear at the top of the list every time? Thanks, Jen
Within the attribute controller as you list the attribute values
- Under this Heading: Prices and Weights
- you will see: price, weight, order, one time
- start with 0 for Select
- and 1 for the first value
- and 2 for the second value
Are You Vulnerable for an Accessibility Lawsuit?
myZenCartHost.com - Zen Cart Certified, PCI Compatible Hosting by JEANDRET
Free SSL, Domain, and MagicThumb with semi-annual and longer hosting
Thanks haredo but a little more detail if possible. I can see Price Weight Order One Time. Do I have to type my values into there somewhere? This has nothing to do with Price or Weight. Not finding this very intuitive, I'm afraid.
That is ok...
- For the Value called Select under the Order will be 0
- For the Value called " " under the Order will be 1
- etc, etc
If, have any more trouble PM me...
Are You Vulnerable for an Accessibility Lawsuit?
myZenCartHost.com - Zen Cart Certified, PCI Compatible Hosting by JEANDRET
Free SSL, Domain, and MagicThumb with semi-annual and longer hosting
Glad it's working for you!
I note jenpen's comment... No, actually, it shouldn't be a global requirement or setting to force a selection for radiobuttons or dropdowns. There are plenty of situations where it is fine for some attributes to remain unselected while others must be selected, and only a per-attribute admin setting could force that. And this wouldn't even cover setting a default message or box/label text the way the ZC method does.
It is also possible to hide the "default" attribute so that it doesn't clutter the page, using CSS on attribute ids, if desired.