Problems with too many variations causing out of stock error
-
I am using woocommerce to build a new e-store. I have been importing products with WP All Import with no issues until now. I have a product that has quite a few variables. It’s the first of many that I have to add.
The problem is that after I added all variables to the product, I got the following message when viewing the product on the front end: “This product is currently out of stock and unavailable.“
Here is what I did initially to try to rectify this problem:
- I checked each variable to make sure that the price was added.
- I checked each variable to make sure that the stock settings were set to manage stock.
- I checked each variable to make sure that they showed a stock quantity.
- I deleted the product and re-imported it.
When these steps didn’t work, I tried deleting the product and importing the variables a few at a time. I had almost all of them added and it was working fine. Then when I added the last 4 variables, I got the “Out of stock” message again.
So, I increased the max_input_vars on my php.ini file to 10000 and then deleted and re-imported the product and variables, but I still got the “Out of stock” message.
So, I submitted a ticket with WP All Import to see if they had any ideas. They set up a demo server for me to test on and I imported the csv file into it. I could not reproduce the issue. It worked as it should.
I’ve updated my the parent and child theme and I still get the “out of stock” message.
I am out of options and cannot figure out what to do. Can anyone give me any other ideas?
Sincerely,
Katherine
- The topic ‘Problems with too many variations causing out of stock error’ is closed to new replies.