February 25, 2011 at 5:33 am #2806
I want customers to do something in “Product Variations” and “Collect Customer Input”. If they leave it as default, a red message will show on page to remind them to do it.
For “Product Variations”, I set the default entry to “0” and the customers should choose an option from the drop down that is not “0”. How do I check if people do it or not? For example, when people click add to cart, if they have not entered the variation field by choosing something other than 0, the item cannot be added to cart, and there should be a red message asking them to choose from the drop down Product Variations field
Similar question for “Collect Customer Input” field. How do I know if people do enter something? This is a required field. If the customers have not yet enter text in this field, the item can not be added to cart. When add to cart button is clicked in this case, a red reminder message shows on page to let people know they should type in something.
Thank you for your time and look forward to the solution!February 25, 2011 at 11:35 pm #29452amin007Participant
This post will explain how you can make the customer input field a mandatory field:February 28, 2011 at 1:12 pm #29453
Thank you for your reply. That answer 1/2 of my questions.
We also wonder:
how to make 3 “Product Variations” all mandatory fields?
Thanks! Look forward to your solutionMarch 1, 2011 at 12:26 am #29454amin007Participant
The variation field will always have one variation selected so the user will not be able to add an item without selecting something.March 1, 2011 at 1:01 am #29455
Thanks a million for the answer with the customer input mandatory solution!
Here is the explaination to my other 1/2 question.
I am using the variation for the online buyers to enter a date. For example, one variation field is written like this:
The reason I set the first variation to 00 is that I want the buyers to enter his month. If it is 00, his order is not valid because he does not choose a month.
I do not want to put 01 as default to accidentally take the order as 01 if this is not the buyer’s month of choice.
Is there any way to validate whether or not the buyer has chosen a month? For example check whether the month variation is 00.
If it is 00, that means the buyer has not chosen his month value and we will display a reminder text near the variation field or near “add to cart” button to ask him to choose a month before adding this item to cart.
If it is not 00, that means the buyer has made his choice, the item can now be added to cart as usual.
Again, thank you for your time and look forward to the solution!
- You must be logged in to reply to this topic.