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

PODMAN

Spread the love 1.Introduction Podman: The Modern Container

Running Your Java Program (JAR) 24/7 on AWS EC2 Automatically

Spread the love Introduction Running a Java application

Building a REST API with Spring Boot

Spread the love Introduction REST (Representational State

Custom API to Fetch Customer Data by Customer ID in Spryker

Spread the love Introduction In this blog post, we will

Creating a Custom Module for a Custom Frontend Page in Spryker

Spread the love To create a custom module for a custom

How to create custom module api get category list without access token in Spryker

Spread the love To create a custom API for fetching a

Creating a Custom Glue API in Spryker

Spread the love Spryker’s Glue API is a powerful tool

Get AI Generated 360-Degree View of Account Summary in Dynamics 365 Sales

Spread the love Navigating the demanding landscape of sales

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

bluethinkinc Blogs