• Resolved wooq123

    (@wooq123)


    I have a specific dropdown field on variable products on my WooCommerce site that only ever has one option available. Example: the customer chooses the item “type”, then “color”, and finally “part number”, where “part number” dropdown always has just one option.

    I want to configure the site to remove the choose an option requirement from the “part number” dropdown and instead, automatically select the single option available.

    Is there a way to do this? It seems that WooCommerce needs an option that allows you to auto select a variation attribute when there is only one possible attribute available for the combination.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support Hannah S.L.

    (@fernashes)

    Automattic Happiness Engineer

    Hey there!

    If there’s only ever one variation to choose from, why make it a variation at all and not just mention that to the customer?

    You can do that using the default variation option:

    Default variation
    Link to image: http://cld.wthms.co/ypIoj7

    Here’s what that looks like on the front end:

    Front end
    Link to image: http://cld.wthms.co/QRA892

    Thread Starter wooq123

    (@wooq123)

    I think maybe I haven’t been clear enough. From top to bottom, the options are: type, color, part number. Once the customer selects the first two options, they are left with 1 unique “part number” every time. In other words, each different combination of “color” and “type” has it’s own unique part number. Is there a way to make this field auto-select once the customer has selected the first two dropdowns?

    Plugin Support Hannah S.L.

    (@fernashes)

    Automattic Happiness Engineer

    Hey there!

    Thanks for explaining further!

    WooCommerce product variations don’t know how to handle conditional logic. If you’d like to do that, then you’d need to look into something like this plugin:
    https://woocommerce.com/products/gravity-forms-add-ons/

    A more low-tech solution would be to explain that they’ll need to select that final option to your customers, possibly in the short description.

    We haven’t heard back from you in a while, so I’m going to mark this as resolved – if you have any further questions, you can start a new thread.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Remove “Choose An Option” on Product Variation & Auto Select Instead’ is closed to new replies.