All variations of the product has a stock. but still it is showing out of stock in wordpress backend and in product category page, but when we go to the single product page that product is available we can buy that product.
Things i tried:
- Changed Theme
- Created Duplicate of the "in stock" product but that new product also shows out of stock
- Deactivated all the plugins except woocommerce.
- Created New Product.
Below images are for your reference.
Stock quantity.
Backend products page.
Category page.
Single product page.
All variations of the product has a stock. but still it is showing out of stock in wordpress backend and in product category page, but when we go to the single product page that product is available we can buy that product.
Things i tried:
- Changed Theme
- Created Duplicate of the "in stock" product but that new product also shows out of stock
- Deactivated all the plugins except woocommerce.
- Created New Product.
Below images are for your reference.
Stock quantity.
Backend products page.
Category page.
Single product page.
Share Improve this question edited May 9, 2019 at 10:26 Akshay Rathod asked May 8, 2019 at 7:20 Akshay RathodAkshay Rathod 1113 bronze badges2 Answers
Reset to default 1https://github/woocommerce/woocommerce/pull/23665/files
Refer above link to solve this error.
I have the same Problem in Magento, the reason was Views was not added in Database. Once i added Products start showing in stock.