Title: MULTIPLE VARIATIONS BUG
Last modified: August 30, 2016

---

# MULTIPLE VARIATIONS BUG

 *  Resolved [steniocbf](https://wordpress.org/support/users/steniocbf/)
 * (@steniocbf)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/multiple-variations-bug/)
 * Hi on my shop i have a product with 2 variations, color and size ; green and 
   red, size L M XL . But green has only L size . If i choose red and then XL and
   then if i go back to choose green , it doesn’t appear on the first choice because
   the second one has XL set. So is there a way when i choose the first variation
   again reset the second variation?
 * In the forum people suggest to create a loop where each time I tried to change
   one it would set the other variation to “ANY [ATTRIBUTE]”.
 * but how and where we create this loop Thanks
 * [https://wordpress.org/plugins/woocommerce/](https://wordpress.org/plugins/woocommerce/)

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

 *  Plugin Contributor [Mike Jolley](https://wordpress.org/support/users/mikejolley/)
 * (@mikejolley)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/multiple-variations-bug/#post-6482676)
 * This isn’t a bug? There is a ‘reset’ button to clear all selections and start
   over.
 *  Thread Starter [steniocbf](https://wordpress.org/support/users/steniocbf/)
 * (@steniocbf)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/multiple-variations-bug/#post-6482682)
 * You’re right, i didn’t see. Anyway it’s not intuitive because the button is small,
   is there another way to reset just change the first option?
 *  Plugin Contributor [Mike Jolley](https://wordpress.org/support/users/mikejolley/)
 * (@mikejolley)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/multiple-variations-bug/#post-6482713)
 * You can change it with CSS if you want to make it larger.
 *  Thread Starter [steniocbf](https://wordpress.org/support/users/steniocbf/)
 * (@steniocbf)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/multiple-variations-bug/#post-6482723)
 * Yes i know, but the client wants something like this
 * [http://enterprise-demo.user.magentotrial.com/men/shirts/plaid-cotton-shirt-537.html](http://enterprise-demo.user.magentotrial.com/men/shirts/plaid-cotton-shirt-537.html)
 * If you choose shirt charcoal and then xl
    you can’t choose another color because
   it’s not available so the final client reset by himself. In the kind of menu 
   from woo commerce(drop list) if you want do the same operation it doesn’t show
   the other colors in gray or with a X.
 * in this topic [https://wordpress.org/support/topic/wordpress-35-woocommerce-new-variations-bug](https://wordpress.org/support/topic/wordpress-35-woocommerce-new-variations-bug)
 * enhance industries user suggested but i don’t know how to do it:
    Posted 2 years
   ago #
 * > I am also having the same issue with variations only I noticed something extra:
   > I had 2 attributes and when setting the variations I left one of them set to
   > the “ANY [ATTRIBUTE]” option by mistake and saved the settings.
   > I then noticed it and went back and changed that variation to the specific 
   > attribute I wanted and saved again.
   > I then noticed that the variation which I originally set correctly had been
   > reset to “ANY [ATTRIBUTE]” but that now the 2nd variation was correct.
   > It created a loop where each time I tried to change one it would set the other
   > variation to “ANY [ATTRIBUTE]”.
   > In order to fix this I had to set both variations to “ANY [ATTRIBUTE]” then
   > save the changes, then reset each variation to the specific attribute and save
   > the changes
   > Finally it worked, but so ridiculously frustrating!
   > Hope the release a fix soon coz this is doing my head in :-/”
 *  Plugin Contributor [Mike Jolley](https://wordpress.org/support/users/mikejolley/)
 * (@mikejolley)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/multiple-variations-bug/#post-6482728)
 * Choosing the colour would result in a non-available selection. Are you looking
   to add the swatches too – because I think the swatches extension lets you toggle
   an attribute on/off.
 *  Thread Starter [steniocbf](https://wordpress.org/support/users/steniocbf/)
 * (@steniocbf)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/multiple-variations-bug/#post-6482818)
 * The problem is that he has also shoes.
 *  Plugin Contributor [Mike Jolley](https://wordpress.org/support/users/mikejolley/)
 * (@mikejolley)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/multiple-variations-bug/#post-6482843)
 * I don’t see how this makes a difference?
 *  Thread Starter [steniocbf](https://wordpress.org/support/users/steniocbf/)
 * (@steniocbf)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/multiple-variations-bug/#post-6482844)
 * If you have variations shoes called by models with the same color with the second
   variations by size. you can’t use the swatches color plugin, so you must have
   a way to reset the second variation if choose another first variation.
 *  Thread Starter [steniocbf](https://wordpress.org/support/users/steniocbf/)
 * (@steniocbf)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/multiple-variations-bug/#post-6482845)
 * [http://www.abstore.it/shop/utensili-accessori/scarpa-bassa/](http://www.abstore.it/shop/utensili-accessori/scarpa-bassa/)
 * I know that there are swatches plugin that you can load pictures as variation,
   but i’d prefer if the woo commerce fix this thing by itself because plugins have
   many bugs when wordpress makes his upgrades
 *  Plugin Contributor [Mike Jolley](https://wordpress.org/support/users/mikejolley/)
 * (@mikejolley)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/multiple-variations-bug/#post-6482846)
 * I think we disagree on why its a bug. Fact is, with the javascript variations,
   if you make a selection, only valid selections appear. Otherwise the user will
   pick something they cannot, because its not available. The clear button can be
   used, or they can change another selection.
 * Swatches can be used with regular dropdowns FYI
 *  Thread Starter [steniocbf](https://wordpress.org/support/users/steniocbf/)
 * (@steniocbf)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/multiple-variations-bug/#post-6482851)
 * if you choose first LARGE
    and then choose black it’s available
 * with these 2 options enabled if you choose the pink t-shirt, the black t-shirt
   will change in gray with a X.
 * If you have 30 first variations and if when you choose the second one and it 
   shows only 25 choices in the first, you will not realize that are 5 hidden items
   because most sites works in this “amazon way”, so you’ll go out from my website
   think that i don’t have my object with the second choice.
 * In this way from amazon 100% of people won’t get way from the website, just if
   the product is not available.
 * When people buy they must have no obstacles when they are making their choices.
   I say many people in this forum that have the same issue.
 *  Plugin Contributor [Mike Jolley](https://wordpress.org/support/users/mikejolley/)
 * (@mikejolley)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/multiple-variations-bug/#post-6482856)
 * Ill log it to be looked at but cannot give you a working solution now based on
   that example. [https://github.com/woothemes/woocommerce/issues/8983](https://github.com/woothemes/woocommerce/issues/8983)

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

The topic ‘MULTIPLE VARIATIONS BUG’ 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/)

## Tags

 * [go back](https://wordpress.org/support/topic-tag/go-back/)
 * [multiple](https://wordpress.org/support/topic-tag/multiple/)
 * [problem](https://wordpress.org/support/topic-tag/problem/)
 * [variation](https://wordpress.org/support/topic-tag/variation/)

 * 12 replies
 * 2 participants
 * Last reply from: [Mike Jolley](https://wordpress.org/support/users/mikejolley/)
 * Last activity: [10 years, 7 months ago](https://wordpress.org/support/topic/multiple-variations-bug/#post-6482856)
 * Status: resolved