Title: Conditional variation
Last modified: August 27, 2021

---

# Conditional variation

 *  Resolved [marpegue](https://wordpress.org/support/users/marpegue/)
 * (@marpegue)
 * [4 years, 9 months ago](https://wordpress.org/support/topic/conditional-variation-3/)
 * 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](https://wordpress.org/support/users/marpegue/)
 * (@marpegue)
 * [4 years, 9 months ago](https://wordpress.org/support/topic/conditional-variation-3/#post-14815834)
 * Please, does anyone know how to do it?!
 *  Plugin Support [abwaita a11n](https://wordpress.org/support/users/abwaita/)
 * (@abwaita)
 * [4 years, 9 months ago](https://wordpress.org/support/topic/conditional-variation-3/#post-14817484)
 * Hi [@marpegue](https://wordpress.org/support/users/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://woocommerce.com/products/product-add-ons/)*
   [https://wordpress.org/plugins/product-add-ons-woocommerce/](https://wordpress.org/plugins/product-add-ons-woocommerce/)*
   [https://codecanyon.net/item/woocommerce-extra-product-options/7908619](https://codecanyon.net/item/woocommerce-extra-product-options/7908619)
 * I hope this helps.
    Thanks.
 *  Thread Starter [marpegue](https://wordpress.org/support/users/marpegue/)
 * (@marpegue)
 * [4 years, 9 months ago](https://wordpress.org/support/topic/conditional-variation-3/#post-14817628)
 * 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.
 *  [con](https://wordpress.org/support/users/conschneider/)
 * (@conschneider)
 * Engineer
 * [4 years, 9 months ago](https://wordpress.org/support/topic/conditional-variation-3/#post-14819607)
 * 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.](https://wordpress.org/support/users/rainfallnixfig/)
 * (@rainfallnixfig)
 * [4 years, 9 months ago](https://wordpress.org/support/topic/conditional-variation-3/#post-14844054)
 * 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.

 * ![](https://ps.w.org/woocommerce/assets/icon.svg?rev=3234504)
 * [WooCommerce](https://wordpress.org/plugins/woocommerce/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woocommerce/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woocommerce/)
 * [Active Topics](https://wordpress.org/support/plugin/woocommerce/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woocommerce/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woocommerce/reviews/)

 * 5 replies
 * 4 participants
 * Last reply from: [Mirko P.](https://wordpress.org/support/users/rainfallnixfig/)
 * Last activity: [4 years, 9 months ago](https://wordpress.org/support/topic/conditional-variation-3/#post-14844054)
 * Status: resolved