Hi all,
Is there a way to force people to pick an attribute, as i am selling shoes, and currently customers don't have to pick a size before adding to cart.
Thanks
Hi all,
Is there a way to force people to pick an attribute, as i am selling shoes, and currently customers don't have to pick a size before adding to cart.
Thanks
For each option NAME that you want to force a selection, create a NEW option VALUE.
For example: Let's say you sell t-shirts in different sizes
Option NAME = T-shirt Size
Option VALUES =
- Small
- Medium
- Large
Now create a NEW value called "Select a Size", and give it a sort order of 0. (zero)
So you now have:
Option VALUES =
- Select a Size
- Small
- Medium
- Large
now, add that option VALUE to a product and make it Display Only (see the "legend" of button options in the Attributes Controller. I think it is the little yellow one.) Also, make it the Default Display.
This will make ot the FIRST option displayed, and if another option is NOT selected, customers cannot add the product to the cart.
20 years a Zencart User
thanks for the quick reply.
what if there is a checkbox option instead of drop down menu? I need to force customer to choose at least one option attribute (colour), cause there is a problem when when customer won't choose anything and press checkout button; checkout process will be completed but no payment or attribute chosen hence no sale
is there any way to sort it out?
(You can't use CHECKBOXES if you need only ONE required selection. Checkboxes apply when an attribute can have more than one choice - such as a mixture of stripes on a garment eg; Choose what colour stripes you want: wheite, red, blue, green).
Go to THIS PAGE and try to add that product to the cart WITHOUT selecting color or size...
The way this works is to create an additional OPTION VALUE called "Please select a color" (or whatever need to be chosen), to make its sort order ZERO, make it DISPLAY ONLY, and make it the DEFAULT displayed option.
All possible in attributes controller...
Last edited by schoolboy; 20 May 2010 at 12:42 PM.
20 years a Zencart User
hey schoolboy :)
Is it only working with drop down menu or radio buttons? So what are the checkboxes for? I 've been using them for colours and they suit me best (or they used to until I got 0.00 sale, because customer didn't choose colour).
I think I will have to change it then...sigh
thanks for your quick reply
I explained what checkboxes are used for.
Another example is the "Subscribe to Newsletter" feature in zencart signup. either the customer chooses to subscribe (checks the box), or does not subscribe (leaves it unchecked).
On your site, I could choose RED and GREEN and PURPLE and ORANGE and BLUE... so how do you know which one I want? I checked ALL the boxes...
Where only a single option is REQUIRED out of several on offer, you can only use radio buttons, or dropdown. Red OR Blue OR Yellow OR Black
Changing these is not onerous... you just edit the option NAME element, then, if the attribute is applied across many products, use the "copy" functions in attribute controller.
20 years a Zencart User
Yeah I got it. I just can't belive I got a wrong idea about it from the very begining of my working on the shop..and now I will have to fix it, which is going to be time consuming in my case :) .. thanks again
Bookmarks