Adding the module in the frontend
In the previous recipes, we created configurations for a new shipping method. We have seen that we can configure this in the backend. Now, it is time to test the shipping method in the frontend. We will create a test order with the shipping method that we have created in this chapter.
Getting ready
We need the shipping module that we created in the previous recipes. Ensure you have the right files installed.
How to do it...
The following steps describe how the order flow works in Magento:
Log in to the backend.
Navigate to the configuration of the shipping method. You can find this by navigating to Stores | Configuration | Sales | Shipping Methods | Shipme.
Check whether all the values are correct for the Shipme - Express method. Ensure that everything is enabled.
Save the configuration.
In the frontend, add a product to the shopping cart and proceed to checkout.
Note
In Chapter 7, Event Handlers and Cronjobs, we created an event that checks whether the quantity is...