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

How to Add a Custom Tab to the Customer Order Detail Page in Magento 2

Spread the love Adding a custom tab to the Order Detail

Exception Handling in Java

Spread the love Introduction – Exception:An unwanted

How to add custom less file in Magento2

Spread the love Source files *.css included into layout

Spring Boot Microservices

Spread the love Microservices architecture has become

Implementation of WireMock for better testing

Spread the love WireMock is a flexible and powerful tool

Magento 2: How to selected default option in configurable options?

Spread the love Configurable products in Magento 2 allow

How To Implement Simple JWT Authentication in Django Rest Framework

Spread the love We’ll learn how to use simple JWT

Optimizing Search: Integrating Elasticsearch in Django Applications

Spread the love What is Elasticsearch? Elasticsearch is a

How to create Customer Segments

Spread the love In Magento 2, “customer

Proxy Design Pattern and Requisition List in Magento 2

Spread the love Requisition List in Magento 2 Requisition

bluethinkinc Blogs