How to remove all MSI modules in Magento 2?

Multi-source Inventory is a new concept launched by Magento from Magento 2.3.* Version.

Earlier version (Before Magento 2.3) of Magento doesn’t support MSI feature.

MSI is used for multi-source concept used for inventory management at a single or multiple source location. Continue reading “How to remove all MSI modules in Magento 2?”

Get Base Url in Model or Plugin file Magento 2.

You can get the base URL of the store in the controller file using Store Manager Interface.

To Retrieve the Base URL of the current store, You need to instantiate constructor in your controller file,

Check below code snippet for getting base URL, Continue reading “Get Base Url in Model or Plugin file Magento 2.”

How to override order/history.phtml template in Magento 2?

You can override history.phtml file using layout XML by creating a module or directly add template file to the theme level under Magento_Sales module under the theme.

History.phtml file initiated by History.php Block class. Continue reading “How to override order/history.phtml template in Magento 2?”