To create new magento shipping module need to know all the useful functions to be used inside the shipping method class to put in various configuration options.
When looking for available shipping methods, Magento first gathers all available carriers. A Carrier represents a shipping carrier, just like in real world (ex. FedEx). Each carrier is represented with the class that extends Mage_Shipping_Model_Carrier_Abstract.
Following are required steps to create custom shipping module or configure the module as per our requirement.
1. Register the module:- It is necessary to register new module as below.
app/etc/modules/namespace_customShipping.xml
localtrue
2. Create the config.xml to set default values in app/local/Namespace/Module/etc/config.xml
0.1.5Default name value for the moduleDefault title for the moduleNamespace/carrier_Customshipping
3. Create the shipping method class app/code/local/Model/Carrier/Customshipping.php
0 Comment(s)