Quantcast
Channel: WordPress.org Forums » All Topics
Viewing all articles
Browse latest Browse all 59525

Variable products don’t show up in lists, problem with stock_status

$
0
0

Replies: 0

Hello, I have a problem with newly created variable products not showing up in product listings when the setting “Hide out of stock items” is active. Even if the variations have items in stock.

If I create it as a simple product first and then convert it to a variable product it shows up, but tt seems that when I create a variable product directly it gets stock_status = 0, and this is what the query in AbstractProductList checks.

Right now I have to go into the database and update stock_status to 1 for all the variable products that are created, which is a hassle, could you take a look at this?


Viewing all articles
Browse latest Browse all 59525

Trending Articles