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

Enhancing Productivity with Dynamics 365: The Power of Session Restore

Spread the love Enhancing Productivity with Dynamics 365:

Salesforce Admin

Spread the love In our last blog, we discussed common

Unlocking AI with Spring Boot: Real-World Use Cases and Solutions

Spread the love Artificial Intelligence (AI) has moved from

Enhancing Performance with Reactive Java: A Beginner-Friendly Guide

Spread the love In today’s fast-paced software

Integrating Azure Function with Dynamics 365

Spread the love Signup on azure portal and make sure to

How to Create a Power Apps Component Framework (PCF) with React

Spread the love If youʼve been looking to supercharge your

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

bluethinkinc Blogs