O'Reilly logo

Magento 1.4 Development Cookbook by Nurul Ferdous

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Initializing module configuration

During creation of a new module in Magento, the very first task is to write the configuration files like any other module. This recipe will describe the steps on how to create the configuration file for our new shipping module.

Getting ready

Fire up your PHP editor and open the Magento project.

How to do it...

  1. Create a new folder named Packt in the app/code/local directory.
  2. Create a new folder named "Myshipping" (of course without quotes) in app/code/local/Packt/.
  3. Create two more directories inside the Myshipping directory and name them as Model and etc respectively. The final outcome should be as follows:
    How to do it...
  4. Let's create ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required