Pre selected radio input in Ingredients

WPPizza – A Restaurant Plugin for WordPress Support General Support Pre selected radio input in Ingredients

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #17985
    Mahyar Darvish
    Participant

      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

      #17988
      Olly
      Admin & Mod

        you need to set another group with custom group type “preselected”

        screenshot

        #17989
        Mahyar Darvish
        Participant

          No, 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.

          #17991
          Olly
          Admin & Mod

            you need to first of all create a custom group with the right group type of course….(i.e radio for example)

            #18010
            Mahyar Darvish
            Participant

              I’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.

              #18011
              Olly
              Admin & Mod

                you are right, i don’t get it .
                css to preselect a radio input ?

                #18016
                Mahyar Darvish
                Participant

                  Look 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/

                  http://www.colaccio.com/wp-content/uploads/2016/05/1.jpg

                  #18018
                  Olly
                  Admin & Mod

                    which 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)

                    #18019
                    Mahyar Darvish
                    Participant

                      Thank you a lot Olly.

                    Viewing 9 posts - 1 through 9 (of 9 total)
                    • The topic ‘Pre selected radio input in Ingredients’ is closed to new replies.