The following is a list of steps required for successfully registering your extension via configuration files:
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 itMaxOrderAmount
.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 usecommunity
ascodePool
.Now we go ahead and create an extension registration file,
app/etc/modules/Foggyline_MaxOrderAmount.xml
, with the following code content:<?xml version="1.0" encoding="UTF-8"?> <config> <modules> <Foggyline_MaxOrderAmount> <active>true</active> <codePool>community</codePool> </Foggyline_MaxOrderAmount...