Skip to content

indexing not updating cataloginventory_stock_status

After upgrading to 2.4.4 or after doing a second store on same installation (dont know), the field cataloginventory_stock_status.stock_status is not updating from 0 to 1 when I import new products/stocks.

I have 3 websites in table store_website:

  • ID 0 : Admin
  • ID 1 : Store 1
  • ID 4 : Store 2

In table cataloginventory_stock its pointing at website_id 0.
If I change that to eg. 4 and index, the table cataloginventory_stock_status is whiped.
If I change back to 0 and index, everything is back. And now with stock_status=1 the right places?
But the problem when updating records persists (indexing)