Announcement

Collapse
No announcement yet.

Cascading Attributes

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

    Cascading Attributes

    Hello,

    I wanted to see if one can create cascading attributes. The flow would go something like

    If I choose to add a laptop to basket,
    I get to choose whether I want a Sleeve of not (for an additional fee)
    If I choose to buy a Sleeve, I get to choose the color of the sleeve (from a list of colors) (no fee).

    The way I envision this is that unless I choose a Sleeve, I am not asked to choose the color.

    Thanks for your help.
    Sam

    #2
    Re: Cascading Attributes

    Adding a little more info.
    It would be good if we could limit the choices available at the second attribute level controlled by answers at the first attribute level.

    Thanks
    Sam

    Comment


      #3
      Re: Cascading Attributes

      Hello,

      You may be able to use inventory kit builder / inventory variants to get close to something like you describe however, I don't use them myself so I'm not super familiar with them maybe someone else can chime in on that for you.

      I have created something similar to what you describe using jQuery to show/hide additional attributes based on other selections but it was for one specific product and probably isn't scalable unless the same attributes would apply to several products.

      Comment


        #4
        Re: Cascading Attributes

        I would, in your example, have a SINGLE additional attribute with multiple options.

        So I would have an attribute with a title like:

        Add A Sleeve?

        And the options would be:

        No Thanks (default)
        Add Blue Sleeve: +$5
        Add Yellow Sleeve: +$5
        Add Red Sleeve: +$5
        etc...

        It's not as elegant as the cascading / dependent attributes that you want, but is pretty easy to implement.
        Mark Romero
        ~~~~~~~~

        Comment


          #5
          Re: Cascading Attributes

          That's a good solution. The other option is to offer the sleeve as an upsell, only available when you buy a laptop.

          Either way should get you the same functionality, but if you're set on the aesthetic of cascading attributes, there might be a module out there to handle that. I'll leave that to the experts, though.
          Ryan Marshall
          Miva, Inc.

          Comment


            #6
            Re: Cascading Attributes

            I know this is a really old thread but I thought I'd start here to see if anyone has come up with an easier solution for dependent type attributes. For example, I have 3 radio buttons, if the 3rd one is selected I need another attribute to be displayed AND the attributes that are displayed become required. If they are not displayed, they are not required. I think that is going to be the tricky part.

            Leslie
            Leslie Kirk
            Miva Certified Developer
            Miva Merchant Specialist since 1997
            Previously of Webs Your Way
            (aka Leslie Nord leslienord)

            Email me: [email protected]
            www.lesliekirk.com

            Follow me: Twitter | Facebook | FourSquare | Pinterest | Flickr

            Comment


              #7
              Re: Cascading Attributes

              This is something that I desperately need as well. If one attribute is selected, others can not be or another option pops up.
              Kent
              www.awindofchange.com

              ~~Once you take flight your eyes will forever be turned skyward~~

              Comment


                #8
                Re: Cascading Attributes

                We have always used Javascript/jQuery validation applied to a custom attribute template to obtain this functionality.

                Comment


                  #9
                  Re: Cascading Attributes

                  This would be great to have as a module or even better as a built in function.
                  Leslie Kirk
                  Miva Certified Developer
                  Miva Merchant Specialist since 1997
                  Previously of Webs Your Way
                  (aka Leslie Nord leslienord)

                  Email me: [email protected]
                  www.lesliekirk.com

                  Follow me: Twitter | Facebook | FourSquare | Pinterest | Flickr

                  Comment


                    #10
                    Our site has needed these "become visible when needed" selection options for 7 years.

                    Comment

                    Working...
                    X