Forums / Setting Up Categories, Products, Attributes / Is there the force the customer to make an option selection? before putting into cart

Is there the force the customer to make an option selection? before putting into cart

Started by tcarden on 23 Jan 2013, 5:50 PM · Views: 593

Results 1 to 4 of 4
23 Jan 2013, 5:50 PM
#1
tcarden avatar

tcarden

Zen Follower

Join Date:
Oct 2012
Posts:
282
Plugin Contributions:
0

Is there the force the customer to make an option selection? before putting into cart

Hey Everyone,
my client wants to 'force' the customer make an option selection on products that have options. this would help in eleminating customer order errors.

Scenario would be the first option would read = Please make a selection.
If they did not make a selection before putting into the cart, an error message would be displayed to the customer.

Is there a way to achieve this with ZenCart?, without adding a plug-in?

23 Jan 2013, 5:56 PM
#2
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,515
Plugin Contributions:
176

Re: Is there the force the customer to make an option selection? before putting into cart

In your attribute setup, add an Option Value of "Please Select" for the Option Name you want to force a selection on. Make that value "display only" and make it the default with a Sort Order of 0.

Then when they go to buy it, if they've still got the "please select" selected, they'll be told to make another choice.

Described in more detail at http://www.zen-cart.com/content.php?99-how-do-i-add-attributes-to-my-products

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

23 Jan 2013, 6:06 PM
#3
schoolboy avatar

schoolboy

Totally Zenned

Join Date:
Jun 2005
Location:
Cumbria, UK
Posts:
10,327
Plugin Contributions:
0

Re: Is there the force the customer to make an option selection? before putting into cart

GO HERE to see this in action.

Try to add the product to the cart without making any attribute selections

20 years a Zencart User

23 Jan 2013, 10:25 PM
#4
tcarden avatar

tcarden

Zen Follower

Join Date:
Oct 2012
Posts:
282
Plugin Contributions:
0

Re: Is there the force the customer to make an option selection? before putting into cart

thanks!, ZenCart rules!, everytime....