WPPizza – A Restaurant Plugin for WordPress › Support › General Support › Pre selected radio input in Ingredients
- AuthorPosts
- 10 May, 2016 at 2:38 pm #17985
Dear Olly,
First of all thank you so much for your awesome plugin. My question is, how we can make the radio inputs pre selected?
For example in the group I have two options: “Tomato sauce” and “Cream sauce”. customers should select just one of them, so how can I make the tomato sauce selected by default and if the customer doesn’t want it, he can select the Cream Sauce.Thx a lot
10 May, 2016 at 2:40 pm #17988you need to set another group with custom group type “preselected”
10 May, 2016 at 3:07 pm #17989No, as I described earlier, I want customer just select one of the options. By selecting the group type “preselected” they can select both at the same time.
10 May, 2016 at 3:23 pm #17991you need to first of all create a custom group with the right group type of course….(i.e radio for example)
10 May, 2016 at 3:47 pm #18010I’m using different kind of costume groups and I totally know how to use them. I know what exactly I want but I think you don’t understand me correctly. All I need is a CSS code to make it possible to make a RADIO button preselectable.
10 May, 2016 at 3:53 pm #18011you are right, i don’t get it .
css to preselect a radio input ?10 May, 2016 at 5:39 pm #18016Look my friend. I’ve provided a screenshot of our ingredients. We have several of them on our pizzas. I want to have an option that in a custom group customer must select one of two options and by default, one of them should be selected. I have a custom group for pizza sauce. There are two options to choose: “Tomato sauce” and “Cream Sauce”. Customer must choose one of them. You have this possibility in your custom group types as the radio button which is fine. But I want to some how choose “tomato sauce” as default and if customer doesn’t want it, he can choose the “Cream sauce”.
I hope I could described it better this time. You can visit our site to see what I mean.
http://www.colaccio.com/pizza/10 May, 2016 at 5:49 pm #18018which means you should be doing exactly what i said you should be doing to start off with….
may i suggest you look at the “Breakfast Example” here :
https://www.wp-pizza.com/twentytwelve/our-menu/user/just substitute the “coffee” there for your “surdeg” and “tomatsas” (or whatever else you want to preselect)
10 May, 2016 at 5:56 pm #18019Thank you a lot Olly.
- AuthorPosts
- The topic ‘Pre selected radio input in Ingredients’ is closed to new replies.