To access the configurations for this extension navigate to System > Configuration > Sales > Payment Methods > Walk In
Walk In | ||
---|---|---|
Field | Type | Description |
Title |
string |
This is the Payment Method label that administrators will see when creating an order from the administrative area. |
Creation Of Shipment |
dropdown |
Choosing Yes will cause a shipment to be created within Magento the moment that
the order is placed. This will cause the product quantities to be deducted from the
Magento inventory. A shipment will also cause the order status to be changed to completed. Choosing No will prevent the inventory from being deducted and the order will be left in a Pending status until you manually create the shipment. |
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_OfflinePayment.xml | Contains the activation and dependency configurations for this extension |