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

Customize lead qualification for a seamless experience

Spread the love When the 2024 Release Wave 2 was launched,

Create a Custom Console Command in Spryker

Spread the love In Spryker, developers can create custom

SALESFORCE

Spread the love Salesforce is a cloud-based software

CRUD Operation in Spryker Backoffice with a Custom Module

Spread the love Spryker is a highly flexible and modular

How to create custom module on Spryker for Backoffice?

Spread the love Creating a custom module in Spryker

How to Install Spryker Project with Docker on Local Machine

Spread the love Spryker is a flexible and scalable commerce

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

bluethinkinc Blogs