• Resolved marpegue

    (@marpegue)


    Hello there,
    In the product selection I want to have two variations: a normal variation of sizes and another of the size request, that is, if the size is available, the customer chooses that size and places the order (it is not necessary to choose the variation of the request for size), but if the customer does not have the size they want in the available ones, instead of choosing this first variation, they will choose the size in the other, and the previous variation will be disabled.
    In short, I want the product to have two variations but if one is chosen, the other should not be selected.
    How can I do this functionality?

    Thank you very much, greetings.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter marpegue

    (@marpegue)

    Please, does anyone know how to do it?!

    Plugin Support abwaita a11n

    (@abwaita)

    Hi @marpegue,

    if the size is available, the customer chooses that size and places the order (it is not necessary to choose the variation of the request for size), but if the customer does not have the size they want in the available ones, instead of choosing this first variation, they will choose the size in the other,

    When you have a variation with two attributes you have to choose from both to be able to add to cart. Thus, could you try to add an additional option for your size to accommodate this possibility? Maybe something like Choose for me.

    Alternatively, instead of creating a variation with both size and color attributes, you could make one a product add-on instead of a variation attribute. Here are some plugins that you could use:
    * https://woocommerce.com/products/product-add-ons/
    * https://www.ads-software.com/plugins/product-add-ons-woocommerce/
    * https://codecanyon.net/item/woocommerce-extra-product-options/7908619

    I hope this helps.
    Thanks.

    Thread Starter marpegue

    (@marpegue)

    Hello there,
    Thanks for answering, but I don’t understand what I have to do.
    My idea was to put two rows
    “Size” to choose from, for example: S, M, L
    and “Pre-order size” to choose from, for example: XS, S, M, L, XL.

    What did you mean?
    Thanks greetings.

    Plugin Support con

    (@conschneider)

    Engineer

    Hi again,

    My idea was to put two rows
    “Size” to choose from, for example: S, M, L
    and “Pre-order size” to choose from, for example: XS, S, M, L, XL.

    In general this works with WooCommerce variable products, however what you said initially does not:

    In short, I want the product to have two variations but if one is chosen, the other should not be selected.

    WooCommerce Variable products currently cannot do this. With variable products you must always select all available attributes. You will need a plugin to offer this kind of selection, hence the suggestions by abwaita.

    Kind regards,

    Mirko P.

    (@rainfallnixfig)

    Hi there,

    We’ve not heard back from you in a while so I’ll go ahead and mark this thread as resolved. I hope you will find the above information useful.

    Please feel free to create a new thread if you have further questions.

    Thanks.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Conditional variation’ is closed to new replies.