When I post a product using Woocommerce it initially posts with zero stock. I hit the post button again and it gets fixed but this happens every time. My workflow for posting product is as follows:
- open up the woocommerce new product page
- Select Arabic language
- post the product with all the details (which is always a variable product).
- set the price for the variations, upload product images and then hit the publish button.
- then I select duplicate for creating an English language version
- then I select translate independently
- I change the name and description for the English version
- I hit update
As mentioned, the product is then shown as out of stock for some reason. I have to open up the Arabic woocommerce product page and hit update again and then out of stock is removed.