Title: [Variable] Default Variation Doesn&#039;t Work
Last modified: August 22, 2016

---

# [Variable] Default Variation Doesn't Work

 *  Resolved [blackaholic89](https://wordpress.org/support/users/blackaholic89/)
 * (@blackaholic89)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/variable-default-variation-doesnt-work/)
 * Hello,
 * Currently I am using Variable Product and will have more than 19 attributes for
   each product. The issue is when I added the 20th attribute, my last 5 attributes
   default selection not saved. But, when I removed 1 attribute, the 5 attributes
   can be saved again. Are there any limitation for default selection? How can I
   fix this?
 * Thank you.
 * [https://wordpress.org/plugins/woocommerce/](https://wordpress.org/plugins/woocommerce/)

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

 *  [Peter Lawrenson](https://wordpress.org/support/users/lorro/)
 * (@lorro)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/variable-default-variation-doesnt-work/#post-5774521)
 * This behaviour is typical of an insufficient value for PHP’s max_input_vars setting.
   You can find your current setting at Admin page > WooCommerce > System Status.
   You can increase it with an extra config line in php.ini or .htaccess. Your host’s
   techs may be able to do this for you if you have difficulty.
 *  Thread Starter [blackaholic89](https://wordpress.org/support/users/blackaholic89/)
 * (@blackaholic89)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/variable-default-variation-doesnt-work/#post-5774532)
 * Hello lorro,
 * Thank you for replied my questions.
 * So, these are the config on my website :
    WP Memory Limit: 40 MB WP Max Upload
   Size: 2 MB PHP Post Max Size: 32 MB PHP Time Limit: 600 PHP Max Input Vars: 1000
 * So, I need to increate “PHP Max Input Vars” value? Is this only editable through.
   htaccess?
 *  [nolancerd](https://wordpress.org/support/users/nolancerd/)
 * (@nolancerd)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/variable-default-variation-doesnt-work/#post-5774536)
 * This plugin worked for me and help me manage my variations with no pain.
    [http://ihayag.com/jaf/woocommerce-too-many-variations-plugin/](http://ihayag.com/jaf/woocommerce-too-many-variations-plugin/)
 *  [Peter Lawrenson](https://wordpress.org/support/users/lorro/)
 * (@lorro)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/variable-default-variation-doesnt-work/#post-5774552)
 * “PHP Max Input Vars: 1000” is not a very large number if you have a large number
   of variations. Try this in php.ini:
 *     ```
       max_input_vars = 5000
       ```
   
 * or this in .htaccess:
 *     ```
       php_value max_input_vars 5000
       ```
   
 * If your PHP is using suhosin then extra lines are needed, or if you don’t know
   where php.ini is, or if your host does not allow its customers to edit php.ini,
   ask your host’s techs do do this for you.
 *  Thread Starter [blackaholic89](https://wordpress.org/support/users/blackaholic89/)
 * (@blackaholic89)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/variable-default-variation-doesnt-work/#post-5774638)
 * Thank you! I will try that one.

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

The topic ‘[Variable] Default Variation Doesn'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/)

## Tags

 * [default](https://wordpress.org/support/topic-tag/default/)
 * [not](https://wordpress.org/support/topic-tag/not/)
 * [saved](https://wordpress.org/support/topic-tag/saved/)
 * [selection](https://wordpress.org/support/topic-tag/selection/)
 * [variable](https://wordpress.org/support/topic-tag/variable/)

 * 5 replies
 * 3 participants
 * Last reply from: [blackaholic89](https://wordpress.org/support/users/blackaholic89/)
 * Last activity: [11 years, 3 months ago](https://wordpress.org/support/topic/variable-default-variation-doesnt-work/#post-5774638)
 * Status: resolved