MagePlugins

The Best Extensions Backed By The Best Support Team

File Structure

The below table explains the Extension's file structure:

Path Description
app The extension's source code
code Contains the raw source code of PHP and configuration files
community community is typically reserved for extensions which were built for the magento community of store owners
MP All Mage Plugin developed extensions will exist under this directory
OfflinePayment Contains the backend programming specific to this extension
Block Backend programming files which contain the logical code for block functionality
Payment Blocks related to the payment method area in the admin
Form
Walkin.php Is the Payment Block which displays the payment form when creating an order from the admin
Info
Walkin.php When viewing an existing order this block will display the payment type and note
etc Directory contains the configuration settings for this extension
config.xml Contains configuration settings for Magento to locate the db tables related to this extension and for Magento to locate the extensions file structure when autoloading classes.
system.xml Provides directions for creating the configuration settings offered in the last section.
Helper Contains miscellaneous function classes for assisting objects
Data.php Standard help file with miscellaneous methods
Model Contains the database object classes which handle the reading, writing, updating and deleting records.
Order
Observer.php Contains event hooks which handle the payment processing requirements. This file also creates the shipment record if the configrations require it.
Payment
Method
Walkin.php File pulls the payment notes from the database
design Contains the html files specific to the installed themes
adminhtml Html files used within the administrative area
default
default
template
offlinepayment
payment Html files specific to this extension
form
walkin.phtml Contains the visual display of the payment form
info
walkin.phtml Contains the visual display of the payment notes that were entered for the order
etc Contains the configuration files which determine what database and modules are loaded by Magento
modules All extension activation files are located here
MP_Hiddenguest.xml Contains the activation and dependency configurations for this extension

The Best Extensions Backed By The Best Support Team