Announcement

Collapse
No announcement yet.

Attribute with multiple selections?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Attribute with multiple selections?

    I need to create an attribute that allows the customer to select multiple options of that attribute. When I create a checkbox attribute, the Add Option is greyed out.

    Is there any way in Miva to create one attribute where the customer can select more than one option?

    Thank you,
    Ben

    #2
    Re: Attribute with multiple selections?

    If they are checboxes, you would just need to create multiple check boxes. There is not checkbox group you can create.
    Brennan Heyde
    VP Product
    Miva, Inc.
    [email protected]
    https://www.miva.com

    Comment


      #3
      Re: Attribute with multiple selections?

      Thanks Brennan.

      That's what I thought. Unfortunately, by not having a group of checkboxes, we cannot enforce a requirement, such as requiring at least one of the options to be selected, which is what we're seeking.

      Comment


        #4
        Re: Attribute with multiple selections?

        Have you tried kit/product variants?
        Last edited by Keitho; 05-18-15, 09:59 PM.
        Keith Oratz
        PrepareSmart, LLC - Emergency Preparedness Supplies and Professional Grade Search and Rescue Gear
        www.preparesmart.com

        Comment


          #5
          Re: Attribute with multiple selections?

          You could get creative with the Product Attributes template. Declare the attribute as some other type, say a text box, and have some custom template code that displays a group of checkboxes instead of a text box. This behavior can be triggered by a particular attribute code. In the basket, the attribute value will be a comma-separated list of the values of all the checked boxes. ... hope that's not too cryptic? It's not trivial -- there are some other issues, such as handling missing or incorrect attributes -- but it's do'able. If you have a large number of products, with different arrangements of checkboxes, a custom module might be a better solution.

          HTH --
          Kent Multer
          Magic Metal Productions
          http://TheMagicM.com
          * Web developer/designer
          * E-commerce and Miva
          * Author, The Official Miva Web Scripting Book -- available on-line:
          http://www.amazon.com/exec/obidos/IS...icmetalproducA

          Comment


            #6
            Re: Attribute with multiple selections?

            @Keith - I don't think the Kit Builder or Variants would work. Each option is standalone, not like clothing that comes in different sizes and colors or a kit that includes multiple products.

            @Kent - sounds interesting. The only thing is that the customer pays a fee for each option selected, so they'd have to be separate line items in the basket. We'll need to consider whether a custom module is feasible for us or not. If so, I'll PM you.

            Comment


              #7
              Re: Attribute with multiple selections?

              Here's a thought without the benefit of coffee yet this morning.

              Create the Select At Least One attribute as Radio Buttons and make it Required and make the option. Then duplicate the set as checkboxes and make them optional.

              You might need to come up with some clever labels or text to explain, but if one of the attributes is required the customer will get that feedback immediately.

              Scott
              Need to offer Shipping Insurance?
              Interactive Design Solutions https://www.myids.net
              MivaMerchant Business Partner | Certified MivaMerchant Web Developer
              Competitive Rates, Custom Modules and Integrations, Store Integration
              AutoBaskets|Advanced Waitlist Integration|Ask about Shipping Insurance Integration
              My T-shirt Collection is mostly MivaCon T-shirts!!

              Comment


                #8
                Re: Attribute with multiple selections?

                JavaScript Validation would also work for this as well
                Brennan Heyde
                VP Product
                Miva, Inc.
                [email protected]
                https://www.miva.com

                Comment

                Working...
                X