O'Reilly logo

Getting Started with Magento Extension Development by Branko Ajzele

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

Registering your extension

The following is a list of steps required for successfully registering your extension via configuration files:

  1. We start off by defining our extension namespace, which is usually our company name or website domain, or something else that is unique to us. In our case, the namespace will be Foggyline. Once we define the namespace, we need to define our extension name; let's call it MaxOrderAmount.
  2. Next, we need to decide on codePool. Since we will distribute this extension to more than one merchant, possibly uploading it to Magento Connect, the decision is simple; we will use community as codePool.
  3. Now we go ahead and create an extension registration file, app/etc/modules/Foggyline_MaxOrderAmount.xml, with the following code ...

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