• Resolved nuwebdesign

    (@nuwebdesign)


    I’m having a really odd issue. I have a some variations that are added but keep disabling themselves. When I check the enabled box and then click update on the product, go back to the variation, it is disabled again. Any reason why it would keep doing this?

    Thanks!

    https://wordpress.org/plugins/woocommerce/

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

    (@whereskarlo)

    I have the exact same problem. Everytime a product is updated the variations reset. I then have to set them again and update a second time for them to stick.

    hoy

    (@whereskarlo)

    Adding a comment to receive updates on this issue. It was there in both 2.1.6 and 2.1.7. Strangely enough, a friend’s fresh install of 2.1.7. does not have this problem.

    Do you use any caching plugin by any chance?

    Thread Starter nuwebdesign

    (@nuwebdesign)

    I do not. I’ve been going back to re-enable the variable and then update the it never seems to stick.

    Thread Starter nuwebdesign

    (@nuwebdesign)

    To answer my own question, this is not a problem with Woocommerce. Either contact your host or if you know how to find your PHP.ini file on your host, and then add the following “max_input_vars = 50000”. What is happening and why it is unchecking itself is because PHP can only POST and GET up to a 1000 fields by default. Use this plugin to see how much your site can POST and GET.

    Alternatively, you can add the following into your htaccess file

    php_value max_input_vars 50000

    if you can not access your PHP.ini file. Since I have a large amount of variables, I was trying to submitted up to 9000 forms which is obviously WAAAAYYY over 1000. Hope this helps anyone in the future that stumbles upon the same issue when dealing with large amounts of variables.

    Enjoy!

    Thread Starter nuwebdesign

    (@nuwebdesign)

    Marking this as resolved as well.

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

The topic ‘Variations un-enabling themselves’ is closed to new replies.