• Resolved yonahs

    (@yonahs)


    In my example I have 4 attributes.
    I have set them to auto-hide the ones that are not assoicated with the variation.
    This all works and looks great

    Here is my problem:
    1 of the attributes is not needed to be chosen. (If the customer does choose it first then it will limit the options). but if he chooses the other options first and this one is left. Then I would like the page to auto-select the only remaining option.

    Is this possible?

Viewing 2 replies - 1 through 2 (of 2 total)
  • @yonahs

    Can you show me any example?

    Thank You

    Hello,

    I am having the same problem!

    Size | S, M, L < customer selects Large
    Colour | Red, Blue, Green< customer selects Blue
    Pattern | Stripe, Polka Dot, NA < NA becomes only attribute option available

    So if the Large Blue shirt is selected, NA becomes the only option for Pattern. I want this to auto-select if it’s the only attribute available, as customers think it does not need to be clicked.

    Is there any javascript I can add to make autoselection for only 1 attribute?
    I have tried the plugin Force Default Variant, but it unfortunately does not work for me – even when other plugins are disbaled.

    Thanks

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Auto-Select when only 1 option left’ is closed to new replies.