Hi.
We are getting this a lot, mainly since 2.4.3.
'There are no source items with the in stock status' when a buyer attempts to add an item(s) to their basket.
Disabling the item on the back, then re-enabling it seems to make the problem fixed for a while
Please run the below command:
run command php bin/magento i:rei
@Sanjay Jethva wrote:Please run the below command:
run command php bin/magento i:rei
Thank you, we are aware that this fixes the issue temporarily but it does return. My understanding is that this should run within Cron ?
Hi @noel_vance ,
Did you ever find the root cause of this issue?
I am facing the same issues with some products in Magento 2.4.5-p1.
I checked the entries for the products in the inventory stock table, all data seems to be correct. Even indexed data is correct however when someone attempts to add those products to the cart, they receive an error message "There are no source items with the in stock status". However, if I disable the product and re enable it then it starts working and error message disappears.
One more observation is that it is only happening when we try to add product to the cart via graphql API endpoint, it works if I use Magento frontend directly.
I am kind of stuck here so any kind of help is appreciated.
Did you find the root issue?
I did as you say and the product was salable again.
Anyone knows that kind of magic is this?
it is a dark magic from the old warlocks
or it might just be a shorthand for
bin/magento indexer:reindex
to reindex everything