Title: Variations doens&#8217;t work
Last modified: December 15, 2016

---

# Variations doens’t work

 *  [bilux](https://wordpress.org/support/users/bilux/)
 * (@bilux)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/variations-doenst-work/)
 * Hello,
    I recently updated the website (www.surubexpert.ro) wordpress, kalyas
   theme and woocommerce plugin, and i have a problem with variations.
 * On some products the variation form doens’t work properly. If i select the first
   variation, the next will NOT populate with the correction combination of the 
   first, and i receive: Sorry, no products matched your selection. Please choose
   a different combination.
 * For example:
    [http://surubexpert.ro/produs/surub-elevator-pt-benzi-transportoare-din-15237-zincat-sau-brunat/](http://surubexpert.ro/produs/surub-elevator-pt-benzi-transportoare-din-15237-zincat-sau-brunat/)–
   this product it’s good. Any combination i use the variation form it’s populated
   good. [http://surubexpert.ro/produs/suruburi-pal-pt-lemn-cap-inecat-cruciform-din-7505-galben/](http://surubexpert.ro/produs/suruburi-pal-pt-lemn-cap-inecat-cruciform-din-7505-galben/)–
   this product it’s not good. In all inputs of the form, i have all the posible
   options.
 * All i want is to show only the options that i entered in variations. I don’t 
   want the customer to be able to select some variations, that aren’t present in
   variations.
 * WordPress link: [http://surubexpert.ro](http://surubexpert.ro)
    -  This topic was modified 9 years, 7 months ago by [bilux](https://wordpress.org/support/users/bilux/).

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

 *  [fibdes](https://wordpress.org/support/users/fibdes/)
 * (@fibdes)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/variations-doenst-work/#post-8555328)
 * IMPORTANT! Id remove your login details from here immediately if i were you.
 *  [fibdes](https://wordpress.org/support/users/fibdes/)
 * (@fibdes)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/variations-doenst-work/#post-8555335)
 * Secondly I’ve just had a client call me about a similar issue on their website–
   For some products they had 2 attruibutes (sheet type and bed size), each with
   several variations within them.
    I had it set up for them with the sheet type
   attribute set up with no default pre-selected choice, but the bed size attribute
   set up with a preselected choice. As a result following the update the bed size
   variable ONLY showed the pre selected variable, and not the 4 others. The work
   around I applied this morning was to pre select variables for both attributes,
   save them and then all bed size variables showed. Not happy as if unseen this
   will have seriously affected their sales at a critical point of their year. Mike–
   if you’re looking, this needs to be addressed PRONTO please 🙂
 *  Thread Starter [bilux](https://wordpress.org/support/users/bilux/)
 * (@bilux)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/variations-doenst-work/#post-8555579)
 * I don’t think it’s similar with my problem. My problem is that when i select 
   the first option in attribute form the second it’s not populated with the combinations
   of first, so the second with third.
 * The form it’s not populated with the correct variations.
    Examples: Link of product
   that doens’t work: [http://surubexpert.ro/produs/suruburi-pal-pt-lemn-cap-inecat-cruciform-din-7505-galben/](http://surubexpert.ro/produs/suruburi-pal-pt-lemn-cap-inecat-cruciform-din-7505-galben/)
   Atrributes: metric = 2,5 – 6; Lungime = 10 – 200; Ambalare = 100 – 1000
 * Variations:
    metric 6 -> lungime 35 -> ambalare 500 metric 6 -> lungime 200 -
   > ambalare 100 metric 6 -> lungime 180 -> ambalare 100 metric 5 -> lungime 120-
   > ambalare 100 metric 5 -> lungime 100 -> ambalare 100 If i select “metric” -
   > 6, in second input i see all the “lungime” attribute, not only the “metric”
   6 with “lungime” combinations(i should see only 35, 200, 180, etc).
 * Links of product that work:
    [http://surubexpert.ro/produs/surub-elevator-pt-benzi-transportoare-din-15237-zincat-sau-brunat/](http://surubexpert.ro/produs/surub-elevator-pt-benzi-transportoare-din-15237-zincat-sau-brunat/)
   [http://surubexpert.ro/produs/piulita-crenelata-din-935/](http://surubexpert.ro/produs/piulita-crenelata-din-935/)
 *  [fibdes](https://wordpress.org/support/users/fibdes/)
 * (@fibdes)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/variations-doenst-work/#post-8555596)
 * ah ok – yes it is different. but there are others on this support forum that 
   have identified other attribute / variation issues with the last update of the
   plugin, so i hope it is being looked at. good luck sorry i can’t help specifically
   with your issue though…
 *  [Peter Lawrenson](https://wordpress.org/support/users/lorro/)
 * (@lorro)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/variations-doenst-work/#post-8556057)
 * The issue is showing some variations which are unavailable.
 * See:
    [https://wordpress.org/support/topic/24-handling-for-20-variations?replies=1](https://wordpress.org/support/topic/24-handling-for-20-variations?replies=1)
 * The variations “threshold” is usually 20, though that can vary by theme. If you
   have less variations than the threshold, all the variations are loaded with the
   page, and unavailable variations cannot be selected. If you have more variations
   than the threshold, any combination can be selected, then ajax will be used to
   find out if the selected variation is available, and sometimes its not.
 * You can increase the variations threshold using this snippet in functions.php
   for your child theme:
    [https://gist.github.com/mohsinoffline/f06c66259e667d6b16bb](https://gist.github.com/mohsinoffline/f06c66259e667d6b16bb)
 * As you make the threshold bigger, the page size gets bigger so page load time
   will increase. You’ll need to make a judgement.
 *  Thread Starter [bilux](https://wordpress.org/support/users/bilux/)
 * (@bilux)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/variations-doenst-work/#post-8556161)
 * Hello, thanks it’s working now after i added the snippet in functions file. For
   now the page it’s loading quite fast, i’ll try to maintain as few variations 
   as i can.
 * Thanks for all your help.
 * Have a nice day,
    Stefan Paul

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

The topic ‘Variations doens’t work’ 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/)

 * 6 replies
 * 3 participants
 * Last reply from: [bilux](https://wordpress.org/support/users/bilux/)
 * Last activity: [9 years, 7 months ago](https://wordpress.org/support/topic/variations-doenst-work/#post-8556161)
 * Status: not resolved