Magento 2 – Cant buy product – “There are no source items with the in stock status”

Blog
Spread the love

extention_2023

When upgrading from Magento 2.3.x to Magento 2.4.x or any other version that introduces changes to Multi-Source Inventory (MSI), it’s essential to address potential issues related to MSI to ensure a smooth transition. Here are the steps you can follow to resolve MSI-related issues during the upgrade process:

#NOTE->Backup Your Website: Before making any changes or performing an upgrade, always create a full backup of your Magento 2 website and database. This backup will serve as a safety net in case anything goes wrong during the upgrade process

Step #1 First Disable all MSI extension (Multi Source Inventory)

extention_2023

Step #2 Run magento php bin/magento setup:upgrade and
magento php bin/magento setup:static-content:deploy -f

Step #3: Check will inventory_source_item and inventory_source_stock_link table removed

Step #4: Enable all MSI extension

extention_2023

After enable run magento php bin/magento setup:upgrade command.

Step #5: Now you need to create Source. Go to admin side Store >> Inventory >> Source and create “default” source.

Name = Default Source

Code = default

Step #6: Now

you need to create Stocks. Go to admin side Store >> Inventory >> Stock and create “Default Stock”. After assigning source if source will not assign then you need to assign it using SQL query that is provided on Step #8.

extention_2023

extention_2023

extention_2023

Step #7: Run below query

Step #8: Run below query to link source to stock

Step #9:Run reindex command php bin/magento indexer:reset && php bin/magento indexer:reindex

Step #10: Run All Commands

NOW WORKING FINE

extention_2023

Thank You

bluethinkinc_blog

bluethinkinc_blog

2023-09-26

0

Leave a Reply

Your email address will not be published. Required fields are marked *

Find More Blogs

Proxy Design Pattern and Requisition List in Magento 2

Spread the love Requisition List in Magento 2 Requisition

Google Ads Conversion Tracking Through Magento Platform:

Spread the love Google Ads Conversion Tracking Through

Object Pool Pattern in Magento2

Spread the love What is Object Pool Pattern in Magento 2 An

JENKINS

Spread the love JENKINS Introduction and Installation

Virtual Type and Type

Spread the love Virtual type is one of the most common

Customize the length of Input field

Spread the love Sometimes we need to change the limit the

How to Add Custom Tab on Admin Dashboard and Count Website Total Visitor in Magento 2?

Spread the love In this blog we’ll see How to Add Custom

How to Add Sign Out Tab in Customer Account in Magento 2?

Spread the love In this blog we’ll see How to Add

How to create custom tab in product detail page in magento 2?

Spread the love In this blog we’ll see how to add

Understanding and Implementing CORS & CSRF

Spread the love What is security? The world has become more

bluethinkinc Blogs