Woocommerce Variable Products Not Displaying Correctly

I am facing some problems in woocommerce variable products. I have several different options for each product (about 4-5 per product). Despite the fact that I already set them in the settings of the variations, but in the interface this message is still displayed when the user selects it: "Sorry, none of the products matched your choice. Choose a different combination."

Would this be due to the large number of combinations that cause disagreement in the conflict with each other? Or is it connected with the stock / weight limit settings, does anyone experience this in their project?

+4
source share
1 answer

I managed to solve it. This is not a WordPress / Woocommerce issue, but a hosting setup. It happens that max_input_vars = 2000 is not enough to run a huge number of variables.

See here: https://docs.woothemes.com/document/problems-with-large-amounts-of-data-not-saving-variations-rates-etc/

Just change max_input_vars = 2000 to a larger number and it should work correctly again. For my case, I have to download .user.ini for hosting godaddy.

+3
source

Source: https://habr.com/ru/post/1626651/


All Articles