Get Source data by source_code using Multi Source Inventory (MSI) Magento 2.

Using Source code, you can get details of the Manage source in the Magento 2 MSI module.

Default Source is the out-of-the-box source in the MSI module. Continue reading “Get Source data by source_code using Multi Source Inventory (MSI) Magento 2.”

Get All sources list Multi Source Inventory (MSI) Programmatically Magento 2.

Multi-source inventory (MSI) Was Introduced from Magento 2.3 Version.

MSI contains multiple sources related to store location. Continue reading “Get All sources list Multi Source Inventory (MSI) Programmatically Magento 2.”

Magento 2 Create custom event and observer using events.xml programmatically.

Magento 2 Supports Create Custom Event Observer with your event name.

Under your module with the event defines using dispatch() method and events.xml file. You can Handle the Events data using Observer Class. Continue reading “Magento 2 Create custom event and observer using events.xml programmatically.”