Questions tagged [multi-source-inventory]
Denotes questions related to Magento Multi Source Merchants inventory
92
questions
0
votes
1
answer
31
views
magento2 update product stock in MSI programatically [closed]
I'm trying to update product stock programatically in a store with MSI(multi source inventory) enabled. I want to decrease / increase product quantity based on source_code (inventory source code).
...
0
votes
0
answers
47
views
Undefined array key "inventory_source"
I'm getting the following error while running the setup upgrade command php bin/magento setup:upgrade
Warning: Undefined array key "inventory_source" in /vendor/magento/framework/Setup/...
1
vote
1
answer
239
views
Magento2.4: How to assign a new source to stock programmatically?
I am trying to assign new sources to stock but it's not working. I checked the logs and there is no error found. Below is my code. Can anyone please check and suggest me where am I wrong?
public ...
0
votes
0
answers
48
views
looking for file location insert/update inventory_stock table for products
I am looking for code where it insert/update is_salable column in inventory_stock_1,inventory_stock_2 table anyone know from which file it is updating this data?
when I save product in admin it ...
0
votes
1
answer
292
views
Get inventory source details in magento 2 observer
I'm trying to get the inventory stock details for an order in observer using the event sales_order_shipment_save_after. I cannot find the inventory data.
Only getting order data.
Anyone help me.
1
vote
1
answer
111
views
How to get Pickup location code for an Order
An order is placed with the instore_pickup Shipping method, but I cannot find the store code from where the order is supposed to be picked up. There is no information for this in sales_order or ...
0
votes
0
answers
30
views
Value not getting saved or fetched using extension attribute, For a newly added field in 'inventory_source' admin ui page
Have gone through several posts but was somehow not able to find a fix for this issue
When I save, its says "Source saved" but my custom field is not beign saved/fetched
What I have done so ...
0
votes
1
answer
96
views
Saleable quantity is empty even though quantity is showing admin
Right, here is a strange one
we are using magento 2.4.2 and stock in the channel to import product data (if any one is aware of them) for some strange range we ever we ever we run the import the "...
0
votes
1
answer
89
views
Can I truncate inventory_source_item table?
I deleted all the products in the admin, but I noticed that the table inventory_source_item is still full of all the products that do not exist anymore. So, I suppose deleting the products does not ...
0
votes
1
answer
139
views
Question regarding Multi Source Inventory
I'm using Magento Community Edition.
I would like to define two different Inventory Sources in 2 different EU countries. When a customer orders a product does Multi Source Inventory automatically pick ...
0
votes
1
answer
369
views
Magento 2.4.0 stock status not changed after 0 quantity in multi source inventory
I added two inventory source location in Magento 2.4.0 to manage different warehouse inventory. And
also I added two different website.
For example
One warehouse is Canada and another warehouse in USA....
0
votes
0
answers
52
views
Magento 2 : Assign products to a source Api doesn't works properly
when we use assign products to a source using api then it creating only Qty instead of qty & salable qty.
Endpoint :- {{base_url}}/rest/default/V1/inventory/source-items
Method :- POST
Payload :-
{...
0
votes
0
answers
54
views
auto assign order to warehouse
i have third party of magento2 extension , This make some help for Dropshipping ,
you can add number of warehouses
and each warehouse includes option such as (Products , orders, and so on ) .
When ...
0
votes
1
answer
380
views
Custom Inventory Source Item
I am trying to render the extension_attibute value from databases to show on UI component field for Custom Inventory Source Item (please refer following screenshot)
For that I have created -
create ...
1
vote
2
answers
453
views
Inventory Stock item
I am trying to add a custom field to the MSI source item. Please check the following screenshot-
I have overwrite product_form.xml in app/Vendor/Module/view/adminhtml/ui_component/product_form.xml as ...
0
votes
2
answers
3k
views
Salable quantity won't update from 0 in Magento 2.4.4
I'm trying to update product quantities when something sells or is revised on another selling channel. I have a platform notification which is received, and everything works fine except when I'm ...
0
votes
1
answer
274
views
show list of products with negative salable qty magento 2
Is it possible to show a list of products with a negative salable qty in magento 2.3
1
vote
0
answers
89
views
Quantity Increments in advanced inventory is not working for configurable products Magento 2
I tried to increment the product quantity by 10 steps on each click on the + sign by configuring it in the quantity increment from the advanced inventory of the product dashboard. Unfortunately, it is ...
1
vote
0
answers
18
views
Is there any extension to manage ACL based on the multi-source-inventory?
I have some requirements related to managing orders from the admin.
but different admin has separate inventory source.
Like source, A assigned to admin 1
and source B assigned to admin 2
then admin 1 ...
0
votes
1
answer
144
views
Magento 2: Display product inventory on frontend based on store select
I want to display product inventory based on store select on frontend.(product should be updated on store select)
Any help would be appreciated.
0
votes
1
answer
106
views
How to automatic stock details (quantity increment)?
In the warehouse, if we scan the product it has to update in Magento inventory (i mean quantity has to increase).
How can I achieve this one?
3
votes
0
answers
232
views
Magento 2 order item find assigned MSI source
I am looking for a extended functionality of Magento 2 adminhtml.
After order has been placed (created), how do I find out origin MSI source for each order item (and specified quantity)
=> from ...
0
votes
2
answers
236
views
Get all stock quantities given one product
These are the stocks I have
On my export this is what i'm getting, as you can see (for re and re_pro which belong to the same website) the quantity is fine , but the salable qty is a merge of both; ...
1
vote
0
answers
369
views
Add product to cart not working on configurable product after enabling MSI (Multi Source Inventory) Magento2
Not able to add configurable product to cart after I have enable the msi:
It is showing error from graphql api:
Product that you are trying to add is not available.
2
votes
1
answer
1k
views
Magento 2 create the Inventory source programmatically
I am new to Magento 2 Can anyone help me with how to programmatically create the Inventory source? What is the use of the stock channel?
1
vote
1
answer
2k
views
Magento 2 MSI Get Product's Inventory Location/wareshouse on frontend
How would I go about displaying a product's warehouse location on the product page? We are using MSI and would like to display which stock source the product is in stock at on the product page.
3
votes
3
answers
1k
views
Create extension attribute to inventory source
I have a requirement to add the custom attribute (delivery_time) to each inventory source.
my-vendor/module/etc/di.xml
<?xml version="1.0" ?>
<config xmlns:xsi="http://www.w3....
3
votes
0
answers
317
views
Inventory Source Selection For Quotes
We need inventory source selection at the time of ordering, not at the time of shipment and already solved reservations with a custom reservation mechanism that reserves stock on source level.
Now I'm ...
3
votes
2
answers
1k
views
Configurable product still out of stock even after child product is back in stock
I have Magento 2.3.0 installed on server with MSI package upgraded to v1.1.
I have configurable products with their child products initially in stock.
Once all the child products goes out of stock, ...
0
votes
1
answer
157
views
Magento 2 : How to set product stock status customer group specific?
My requirement is wholesaler can order out of stock prdocuts.
I tried to create a plugin for the below file but it didn't work.
\Magento\CatalogInventory\Helper\Stock::addIsInStockFilterToCollection
...
4
votes
1
answer
3k
views
Magento2.4 API - Update product inventory for multiple sources (MSI)
I have created a product, which has two different sources assigned to it with different quantity allocated to both sources. I want to update product's quantity for both sources separately.
I am using ...
1
vote
1
answer
1k
views
Problem with Magento 2.3.6 Multi Source Inventory
I have a Magento 2.3.6 installation using multi inventory. I have the following setup:
There many websites. Each website is assigned specific and unique stock. Also, each stock is assigned a unique ...
0
votes
1
answer
228
views
Configuring Magento 2.3 MSI (Multi Source Inventory) with Multiple Stocks
I am trying to configure Magento MSI with Multiple Stock for a single Sales Channel but it only allows me to assign single stock to a sales channel. Based on Magento's documentation, this is how it is ...
0
votes
1
answer
2k
views
How to solve Magento 2 inventory inconsistencies?
After 3 months of upgrading a Magento 2.0 to 2.3, I noticed many stock inconsistencies like items reserved and never removed, and the orders are closed.
Why does it happen and how could I check it?
0
votes
2
answers
1k
views
Magento 2 how to get products per website programmatically?
I want to know how to get the amount of products per website? I don't know if this exists, it should.
I was searching for a plugin or observer, but I cannot find it, under magento-catalog and magento-...
0
votes
1
answer
884
views
Inventory View inventory_stock_1 causing database locks
After moving databases we are getting spikes in our database from PDP pages with the following query, and it ends up taking a full minute to query.
SELECT `inventory_stock_1`.`quantity`, `...
1
vote
0
answers
431
views
Default source and stock missing in MSI after re-enabled - Magento 2
We disabled all the below MSI extensions.
Magento_Inventory Magento_InventoryCatalog Magento_InventoryAdminUi Magento_InventoryApi Magento_InventoryBundleProduct Magento_InventoryBundleProductAdminUi ...
2
votes
0
answers
167
views
Source code is empty in shipment observer magento2
I am trying to get source_code from the shipment_id
Have used below event.
Vendor/Module/etc/events.xml
<event name="sales_order_shipment_save_after">
<observer name="...
0
votes
1
answer
169
views
Products not displaying on frontend when disabling MSI - Magento Multi Stock Inventory
I have completely removed MSI from the Magento installation, all the modules involved have been removed through Composer:
"replace": {
"magento/module-inventory": "*&...
1
vote
0
answers
42
views
Stocks sources of other website's showing on applying store switcher in admin
Ours is the multi website store(UAE and Oman), and each website is assigned its own stock source under Stores > Stocks
But when I Go to product edit, and switch store to Oman website, user is able ...
1
vote
1
answer
685
views
Magento 2: Product showing out of stock if default source has 0 qty in Multi Source Inventory
I need to use MSI (Multi source inventory) feature but i notice that if qty is 0 in default source then
product is going to out of stock even qty is already available in other source so how can i ...
0
votes
1
answer
96
views
Workaround to add shipment/tracking information to order and ignore the inventory check?
Our ERP is source of truth and inventory is being managed via API. The issue is that if a source under a stock is 0 and an order requires a shipment from that source, then we can't create a shipment. ...
1
vote
2
answers
851
views
Why do I need to add new non-default inventory source to use In-store Delivery?
Magento docs states that Sources represent locations storing and shipping available product stock, and "All stores begin with a default source that must remain enabled. Single Source merchants (...
0
votes
1
answer
88
views
install magento multi source Inventory after magento234 has been installed
I installed magento 234 and I have been using it . recently I tried to install a warehouse app and noticed it was giving me errors,
It specifically asked for
magento/module-inventory
magento/module-...
2
votes
0
answers
118
views
How to make my own selection algorithm working with multi source inventory? Magento 2.3
Is there a way to make my own selection algorithm in MSI? Working only with one website and one store.
1
vote
1
answer
382
views
How to assign a product source from Event Observer
When a product is saved, I want to check if the product has an inventory source set, and if not, set one. The event name I'm observing is catalog_product_save_after.
This is the Observer code:
class ...
1
vote
1
answer
261
views
B2B Multiple warehouse management for sellers and shipping from multiple warehouses in magento2
single vendor multiple warehouse concept in B2B. Like vendors, warehouses should be located in different cities.
Is there any extension available for this and any idea about this.
Multiple warehouse ...
3
votes
2
answers
619
views
I have to disable the MSI and enable the usual qty field only in the magento 2.3.5 version
I have to disable the MSI and enable the usual qty field only in the Magento 2.3.5 version
https://www.rakeshjesadiya.com/disable-sources-in-multi-source-inventory-magento-2/
I tried to use the ...
1
vote
0
answers
229
views
Magento2: Not able to assign Source after enable the MSI module
I have disabled the MSI inventory module (as explained in this article) in my store. After facing some issues I have reverted back MSI related all modules, but after enabled all modules I am not able ...
0
votes
1
answer
147
views
Assign inventory source if distance greater than 20km
I am using the distance priority algorithm for source selection of the inventory. I want to assign a particular source to a product if the nearest available source is greater than 20km distance. Is it ...