How to Create Custom Shipping Method in Magento 2?
Blog Overview Shipping is indeed one of the most significant aspects of e-commerce. Shipping in eCommerce refers to all the services that are required to transport the products purchased online from a retailer to a customer's delivery destination. Here are the steps to create a custom shipping method. Step 1 : Create the 2 mandatory files: Refer this blog and create module.xml file inside etc folder and registration.php file inside Code5fixer/Simpleshipping folder. Here, Simpleshipping is the name of the module folder. app/code/Code5fixer/Simpleshipping/etc/module.xmlapp/code/Code5fixer/Simpleshipping/registration.php Step 2 : Add the module configuration : To add a module configuration, we have to create system.xml file. Therefore, create a folder inside etc folder and name it as adminhtml. Inside this adminhtml folder, create an xml file and name it as system.xml The contents of Index.php…