Hide products out of stock, also hides product labeled “instock”
-
Hi, I’m running a webshop and noticed that when enabling the option “Hide out of stock items” (woocommerce_hide_out_of_stock_items) on the Settings > Products > Inventory page, also products that are labeled as instock are missing on the category pages.
I backtraced it to the product object ID existing in the MySQL table “wp_term_relationships” for the taxonomy term “outofstock” for “product_visibility”.
The product should not have this relation i think, on updating the stock the term relation should be removed.Now i can’t use the setting for hiding out of stock products, or is there a way to fix this? Thanks in advance!
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Hide products out of stock, also hides product labeled “instock”’ is closed to new replies.