dumbnewb Posted February 2, 2010 Share Posted February 2, 2010 I was wondering if there is a way to make a catorgory so the customer can input what they want?IE > say i am selling ten watches, instead of listing all the watches individually, i list them as one item, however I have a photo showing all the ten watches for sale with an id number watch1 watch2 etc.I would like an empty space where they can input watch1 etc rather than having a drop down menu like with size and colour where they choose from specific option, s,m,l,xl etc The reason for this is that there will be about 60 items to choose from, and rather than having to input 60 choices for the customer to choose from a drop down menu, I would prefer if they were able to just type in the style ref number corresponding to the watch they wanted.Anyone have any ideas or solutions how to go about this ?TIA Link to comment Share on other sites More sharing options...
tomerg3 Posted February 3, 2010 Share Posted February 3, 2010 You will need to customize your code to do this, keep in mind that whenever you let the customer enter something, the will find a way to mess it up.It's not a quick change, but here's how I would do it in a nutshell.Create a product with 10 attributes (you can add another 50 later).Add a style="display:none" in the attribute div (to hide the drop down)Add a new textbox with an onkeyup="" event that will try to set the value of the drop down based on the value in the textbox.Then add a similar code in an onblur="" event, but also add a check to see if the value the use entered actually exists in the drop down, if it doesn't, you should show a javascript alert letting them know that they entered an invalid model. Link to comment Share on other sites More sharing options...
Recommended Posts