In Chapter 4, Creating a Module, we learned how we can create a custom module. In this recipe, we will create the necessary files for a shipping module, which we will extend with more features using the recipes of this chapter.
Open your code editor with the Magento project. Also, get access to the backend where we will check some things.
The following steps describe how we can create the configuration for a shipping module:
app/code/local/Packt/
app/code/local/Packt/Shipme/
app/code/local/Packt/Shipme/etc/
app/code/local/Packt/Shipme/Model/
app/code/local/Packt/Shipme/Model/Carrier
Create the module file named
Packt_Shipme.xml
in the folderapp/etc/modules
with the following content:<?xml version="1.0"?> <config> <modules> <Packt_Shipme> <active>true</active> <codePool>local</codePool> <depends> <Mage_Shipping...