Magento – How do we change the Default Stock or Default Source for Magento 2 MSI

magento2msi

How do we change the Default Stock or Default Source for Magento 2 MSI?

There is no option to do so

And when importing stock or Backorder " out of stock threshold " then it activates Default Source for the product instead of our wanted stock (SOH in the picture)

enter image description here

Best Answer

The default stock and the default source are hardcoded. On the edit product page, under the "Sources" section, you can see the assigned sources list that was reset by the import process most likely. This data is stored in inventory_source_item database table. Make sure that your import doesn't overwrite sources.

Related Topic