- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
There are no source items with the in stock status
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
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: There are no source items with the in stock status
Please run the below command:
run command php bin/magento i:rei
200+ Magento 2 Extensions for Enhanced Shopping Experience.
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: There are no source items with the in stock status
@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 ?
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: There are no source items with the in stock status
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.
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: There are no source items with the in stock status
Did you find the root issue?
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: There are no source items with the in stock status
I did as you say and the product was salable again.
Anyone knows that kind of magic is this?
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: There are no source items with the in stock status
it is a dark magic from the old warlocks
or it might just be a shorthand for
bin/magento indexer:reindex
to reindex everything