Version Notes
Cash on Delivery allows to book additional fee on delivery depending on india or international delivery
Download this release
Release Info
Developer | RameshRamasamy |
Extension | 6rameshcashondelivery |
Version | 1.1.0 |
Comparing to | |
See all releases |
Code changes from version 1.0.0 to 1.1.0
app/design/adminhtml/default/default/layout/cashondelivery.xml
ADDED
@@ -0,0 +1,98 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?xml version="1.0"?>
|
2 |
+
<!--
|
3 |
+
/**
|
4 |
+
* Magento
|
5 |
+
*
|
6 |
+
* NOTICE OF LICENSE
|
7 |
+
*
|
8 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
9 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
10 |
+
* It is also available through the world-wide-web at this URL:
|
11 |
+
* http://opensource.org/licenses/afl-3.0.php
|
12 |
+
* If you did not receive a copy of the license and are unable to
|
13 |
+
* obtain it through the world-wide-web, please send an email
|
14 |
+
* to license@magentocommerce.com so we can send you a copy immediately.
|
15 |
+
*
|
16 |
+
* DISCLAIMER
|
17 |
+
*
|
18 |
+
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
19 |
+
* versions in the future. If you wish to customize Magento for your
|
20 |
+
* needs please refer to http://www.magentocommerce.com for more information.
|
21 |
+
*
|
22 |
+
* @category design_default
|
23 |
+
* @category Hcl
|
24 |
+
* @package Hcl_CashOnDelivery
|
25 |
+
* @copyright Copyright (c) 2011-2012 RAMESH RAMASAMY, BANGALORE
|
26 |
+
* @copyright Copyright (c) 2012 HCL Technologies Ltd (http://www.Hcl.com)
|
27 |
+
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
28 |
+
*/
|
29 |
+
-->
|
30 |
+
|
31 |
+
<layout>
|
32 |
+
<adminhtml_sales_order_view>
|
33 |
+
<!--
|
34 |
+
<reference name="sales.order.view.totals.main">
|
35 |
+
<block type="adminhtml/sales_order_totals_item" name="cod_fee" template="sales/order/totals/item.phtml" before="tax">
|
36 |
+
<action method="setSourceField"><value>cod_fee</value></action>
|
37 |
+
<action method="setLabel"><value>Cash on Delivery Fee</value></action>
|
38 |
+
</block>
|
39 |
+
</reference>
|
40 |
+
-->
|
41 |
+
<reference name="order_totals">
|
42 |
+
<block name="cod_fee" type="cashondelivery/order_totals_cod" before="tax"/>
|
43 |
+
</reference>
|
44 |
+
</adminhtml_sales_order_view>
|
45 |
+
|
46 |
+
<adminhtml_sales_order_invoice_view>
|
47 |
+
<!--
|
48 |
+
<reference name="sales.order.view.totals.main">
|
49 |
+
<block type="adminhtml/sales_order_totals_item" name="cod_fee" template="sales/order/totals/item.phtml" before="tax">
|
50 |
+
<action method="setSourceField"><value>cod_fee</value></action>
|
51 |
+
<action method="setLabel"><value>Cash on Delivery Fee</value></action>
|
52 |
+
</block>
|
53 |
+
</reference>
|
54 |
+
-->
|
55 |
+
<reference name="invoice_totals">
|
56 |
+
<block name="cod_fee" type="cashondelivery/invoice_totals_cod" before="tax"/>
|
57 |
+
</reference>
|
58 |
+
</adminhtml_sales_order_invoice_view>
|
59 |
+
|
60 |
+
<adminhtml_sales_order_invoice_new>
|
61 |
+
<!--
|
62 |
+
<reference name="sales.order.view.totals.main">
|
63 |
+
<block type="adminhtml/sales_order_totals_item" name="cod_fee" template="sales/order/totals/item.phtml" before="tax">
|
64 |
+
<action method="setSourceField"><value>cod_fee</value></action>
|
65 |
+
<action method="setLabel"><value>Cash on Delivery Fee</value></action>
|
66 |
+
</block>
|
67 |
+
</reference>
|
68 |
+
-->
|
69 |
+
<reference name="invoice_totals">
|
70 |
+
<block name="cod_fee" type="cashondelivery/invoice_totals_cod" before="tax"/>
|
71 |
+
</reference>
|
72 |
+
</adminhtml_sales_order_invoice_new>
|
73 |
+
|
74 |
+
<adminhtml_sales_order_creditmemo_new>
|
75 |
+
<reference name="sales.order.view.totals.main">
|
76 |
+
<block type="adminhtml/sales_order_totals_item" name="cod_fee" template="sales/order/totals/item.phtml" before="tax">
|
77 |
+
<action method="setSourceField"><value>cod_fee</value></action>
|
78 |
+
<action method="setLabel"><value>Cash on Delivery Fee</value></action>
|
79 |
+
</block>
|
80 |
+
</reference>
|
81 |
+
</adminhtml_sales_order_creditmemo_new>
|
82 |
+
|
83 |
+
<adminhtml_sales_order_creditmemo_view>
|
84 |
+
<reference name="sales.order.view.totals.main">
|
85 |
+
<block type="adminhtml/sales_order_totals_item" name="cod_fee" template="sales/order/totals/item.phtml" before="tax">
|
86 |
+
<action method="setSourceField"><value>cod_fee</value></action>
|
87 |
+
<action method="setLabel"><value>Cash on Delivery Fee</value></action>
|
88 |
+
</block>
|
89 |
+
</reference>
|
90 |
+
</adminhtml_sales_order_creditmemo_view>
|
91 |
+
|
92 |
+
<adminhtml_sales_order_create_index>
|
93 |
+
<reference name="head">
|
94 |
+
<action method="addJs"><file>Hcl/cashondelivery/sales.js</file></action>
|
95 |
+
</reference>
|
96 |
+
</adminhtml_sales_order_create_index>
|
97 |
+
|
98 |
+
</layout>
|
app/design/frontend/base/default/layout/cashondelivery.xml
ADDED
@@ -0,0 +1,66 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?xml version="1.0"?>
|
2 |
+
<!--
|
3 |
+
/**
|
4 |
+
* Magento
|
5 |
+
*
|
6 |
+
* NOTICE OF LICENSE
|
7 |
+
*
|
8 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
9 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
10 |
+
* It is also available through the world-wide-web at this URL:
|
11 |
+
* http://opensource.org/licenses/afl-3.0.php
|
12 |
+
* If you did not receive a copy of the license and are unable to
|
13 |
+
* obtain it through the world-wide-web, please send an email
|
14 |
+
* to license@magentocommerce.com so we can send you a copy immediately.
|
15 |
+
*
|
16 |
+
* DISCLAIMER
|
17 |
+
*
|
18 |
+
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
19 |
+
* versions in the future. If you wish to customize Magento for your
|
20 |
+
* needs please refer to http://www.magentocommerce.com for more information.
|
21 |
+
*
|
22 |
+
* @category Hcl
|
23 |
+
* @package Hcl_CashOnDelivery
|
24 |
+
* @copyright Copyright (c) 2011-2012 RAMESH RAMASAMY, BANGALORE
|
25 |
+
* @copyright Copyright (c) 2012 HCL Technologies Ltd (http://www.Hcl.com)
|
26 |
+
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
27 |
+
*/
|
28 |
+
-->
|
29 |
+
|
30 |
+
<layout>
|
31 |
+
<sales_order_print>
|
32 |
+
<reference name="order_totals">
|
33 |
+
<block name="cod_fee" type="cashondelivery/order_totals_cod" before="tax"/>
|
34 |
+
</reference>
|
35 |
+
</sales_order_print>
|
36 |
+
|
37 |
+
<sales_order_view>
|
38 |
+
<reference name="order_totals">
|
39 |
+
<block name="cod_fee" type="cashondelivery/order_totals_cod" before="tax"/>
|
40 |
+
</reference>
|
41 |
+
</sales_order_view>
|
42 |
+
|
43 |
+
<sales_order_invoice>
|
44 |
+
<reference name="invoice_totals">
|
45 |
+
<block name="cod_fee" type="cashondelivery/invoice_totals_cod" before="tax"/>
|
46 |
+
</reference>
|
47 |
+
</sales_order_invoice>
|
48 |
+
|
49 |
+
<sales_order_printinvoice>
|
50 |
+
<reference name="invoice_totals">
|
51 |
+
<block name="cod_fee" type="cashondelivery/invoice_totals_cod" before="tax"/>
|
52 |
+
</reference>
|
53 |
+
</sales_order_printinvoice>
|
54 |
+
|
55 |
+
<sales_email_order_items>
|
56 |
+
<reference name="order_totals">
|
57 |
+
<block name="cod_fee" type="cashondelivery/order_totals_cod" before="tax"/>
|
58 |
+
</reference>
|
59 |
+
</sales_email_order_items>
|
60 |
+
|
61 |
+
<sales_email_order_invoice_items>
|
62 |
+
<reference name="invoice_totals">
|
63 |
+
<block name="cod_fee" type="cashondelivery/invoice_totals_cod" before="tax"/>
|
64 |
+
</reference>
|
65 |
+
</sales_email_order_invoice_items>
|
66 |
+
</layout>
|
app/etc/modules/Hcl_CashOnDelivery.xml
ADDED
@@ -0,0 +1,33 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?xml version="1.0"?>
|
2 |
+
<!--
|
3 |
+
/**
|
4 |
+
* Magento
|
5 |
+
*
|
6 |
+
* NOTICE OF LICENSE
|
7 |
+
*
|
8 |
+
* This source file is subject to the Open Software License (OSL 3.0)
|
9 |
+
* that is bundled with this package in the file LICENSE.txt.
|
10 |
+
* It is also available through the world-wide-web at this URL:
|
11 |
+
* http://opensource.org/licenses/osl-3.0.php
|
12 |
+
* If you did not receive a copy of the license and are unable to
|
13 |
+
* obtain it through the world-wide-web, please send an email
|
14 |
+
* to license@magentocommerce.com so we can send you a copy immediately.
|
15 |
+
*
|
16 |
+
* @category Hcl
|
17 |
+
* @package Hcl_CashOnDelivery
|
18 |
+
* @copyright Copyright (c) 2011-2012 RAMESH RAMASAMY, BANGALORE
|
19 |
+
* @copyright Copyright (c) 2012 HCL Technologies Ltd (http://www.Hcl.com)
|
20 |
+
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
21 |
+
*/
|
22 |
+
-->
|
23 |
+
<config>
|
24 |
+
<modules>
|
25 |
+
<Hcl_CashOnDelivery>
|
26 |
+
<active>true</active>
|
27 |
+
<codePool>community</codePool>
|
28 |
+
<depends>
|
29 |
+
<Mage_Payment />
|
30 |
+
</depends>
|
31 |
+
</Hcl_CashOnDelivery>
|
32 |
+
</modules>
|
33 |
+
</config>
|
package.xml
CHANGED
@@ -1,9 +1,9 @@
|
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>6rameshcashondelivery</name>
|
4 |
-
<version>1.
|
5 |
<stability>stable</stability>
|
6 |
-
<license uri="http://www.opensource.org/licenses/osl-3.0.php">OSL
|
7 |
<channel>community</channel>
|
8 |
<extends/>
|
9 |
<summary>Cash on Delivery allows to book additional fee on delivery depending on india or international delivery</summary>
|
@@ -11,10 +11,10 @@
|
|
11 |

|
12 |
Installation is very easy via Magento Connect and no coding experience is required to have module up-and-running.</description>
|
13 |
<notes>Cash on Delivery allows to book additional fee on delivery depending on india or international delivery</notes>
|
14 |
-
<authors><author><name>
|
15 |
-
<date>2012-
|
16 |
-
<time>
|
17 |
-
<contents><target name="magecommunity"><dir name="Hcl"><dir name="CashOnDelivery"><dir name="Block"><dir name="Adminhtml"><dir name="Sales"><dir name="Order"><dir name="Create"><dir name="Totals"><file name="Cod.php" hash="1420c60ef1b07239160cd8d3319b752d"/></dir></dir><dir name="Creditmemo"><dir name="Totals"><file name="Cod.php" hash="6ae02b964782906e06a2ecebb2fdddf1"/></dir></dir></dir></dir></dir><dir name="Checkout"><file name="Cod.php" hash="3a1c964a9dc7fe025b2f8e4eed004c00"/></dir><file name="Form.php" hash="988303ee738e4f30d938a070d11127e6"/><file name="Info.php" hash="1374ffb00fb73bfffe641573df0026ea"/><dir name="Invoice"><dir name="Totals"><file name="Cod.php" hash="ab2dd93a454643c159755a92299fd31f"/></dir></dir><dir name="Order"><dir name="Totals"><file name="Cod.php" hash="5828df4e71ada041e8567291b0096728"/></dir></dir></dir><dir name="Helper"><file name="Data.php" hash="34688e340ea2b43c4d5498503217d7bf"/></dir><dir name="Model"><file name="CashOnDelivery.php" hash="d2558fe4e933d66f77a19fd0d6b39578"/><dir name="Creditmemo"><file name="Total.php" hash="b8d00a4741e319020cf83f1fb0de7b72"/></dir><dir name="Invoice"><file name="Tax.php" hash="cdb959d52a0557a4fe75b5d34339d93e"/><file name="Total.php" hash="c78f833508e4726c7140ba90c6e2196c"/></dir><file name="Observer.php" hash="b438d8fb3c259b65d4a44d430223b37e"/><dir name="Quote"><file name="TaxTotal.php" hash="192c8f8d332e97311604df9aa2e4f3c9"/><file name="Total.php" hash="e7f7136df64045c93411e93221578983"/></dir><dir name="Sales"><dir name="Pdf"><file name="Cod.php" hash="041192ab385879b8e052b4ecb095e264"/></dir></dir><dir name="Source"><file name="AvailableShipmentMethods.php" hash="f6e301148abd5ddebf1940c7b8bbec5e"/></dir></dir><dir name="etc"><file name="config.xml" hash="17220daa063e2e02bd0b3be151e46ae8"/><file name="system.xml" hash="d8145462878ce3749b3648c37104b370"/></dir><dir name="sql"><dir name="cashondelivery_setup"><file name="mysql4-install-0.2.0.php" hash="10440e9c9760c1f4bcc0c772c4a44745"/><file name="mysql4-upgrade-0.2.0-0.2.1.php" hash="233d39d38368c9bc6e13fe5a9df4652c"/><file name="mysql4-upgrade-0.3.2-0.3.3.php" hash="7b3d733c7c67ff7a56f00b4c318f76f3"/><file name="mysql4-upgrade-0.4.6-0.4.7.php" hash="02727edda8237b685508542efae58291"/></dir></dir></dir></dir></target></contents>
|
18 |
<compatible/>
|
19 |
-
<dependencies><required><php><min>5.
|
20 |
</package>
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>6rameshcashondelivery</name>
|
4 |
+
<version>1.1.0</version>
|
5 |
<stability>stable</stability>
|
6 |
+
<license uri="http://www.opensource.org/licenses/osl-3.0.php">OSL V3.0</license>
|
7 |
<channel>community</channel>
|
8 |
<extends/>
|
9 |
<summary>Cash on Delivery allows to book additional fee on delivery depending on india or international delivery</summary>
|
11 |

|
12 |
Installation is very easy via Magento Connect and no coding experience is required to have module up-and-running.</description>
|
13 |
<notes>Cash on Delivery allows to book additional fee on delivery depending on india or international delivery</notes>
|
14 |
+
<authors><author><name>RameshRamasamy</name><user>rramesh_sat</user><email>rramesh_sat@yahoo.com</email></author></authors>
|
15 |
+
<date>2012-04-11</date>
|
16 |
+
<time>04:41:49</time>
|
17 |
+
<contents><target name="magecommunity"><dir name="Hcl"><dir name="CashOnDelivery"><dir name="Block"><dir name="Adminhtml"><dir name="Sales"><dir name="Order"><dir name="Create"><dir name="Totals"><file name="Cod.php" hash="1420c60ef1b07239160cd8d3319b752d"/></dir></dir><dir name="Creditmemo"><dir name="Totals"><file name="Cod.php" hash="6ae02b964782906e06a2ecebb2fdddf1"/></dir></dir></dir></dir></dir><dir name="Checkout"><file name="Cod.php" hash="3a1c964a9dc7fe025b2f8e4eed004c00"/></dir><file name="Form.php" hash="988303ee738e4f30d938a070d11127e6"/><file name="Info.php" hash="1374ffb00fb73bfffe641573df0026ea"/><dir name="Invoice"><dir name="Totals"><file name="Cod.php" hash="ab2dd93a454643c159755a92299fd31f"/></dir></dir><dir name="Order"><dir name="Totals"><file name="Cod.php" hash="5828df4e71ada041e8567291b0096728"/></dir></dir></dir><dir name="Helper"><file name="Data.php" hash="34688e340ea2b43c4d5498503217d7bf"/></dir><dir name="Model"><file name="CashOnDelivery.php" hash="d2558fe4e933d66f77a19fd0d6b39578"/><dir name="Creditmemo"><file name="Total.php" hash="b8d00a4741e319020cf83f1fb0de7b72"/></dir><dir name="Invoice"><file name="Tax.php" hash="cdb959d52a0557a4fe75b5d34339d93e"/><file name="Total.php" hash="c78f833508e4726c7140ba90c6e2196c"/></dir><file name="Observer.php" hash="b438d8fb3c259b65d4a44d430223b37e"/><dir name="Quote"><file name="TaxTotal.php" hash="192c8f8d332e97311604df9aa2e4f3c9"/><file name="Total.php" hash="e7f7136df64045c93411e93221578983"/></dir><dir name="Sales"><dir name="Pdf"><file name="Cod.php" hash="041192ab385879b8e052b4ecb095e264"/></dir></dir><dir name="Source"><file name="AvailableShipmentMethods.php" hash="f6e301148abd5ddebf1940c7b8bbec5e"/></dir></dir><dir name="etc"><file name="config.xml" hash="17220daa063e2e02bd0b3be151e46ae8"/><file name="system.xml" hash="d8145462878ce3749b3648c37104b370"/></dir><dir name="sql"><dir name="cashondelivery_setup"><file name="mysql4-install-0.2.0.php" hash="10440e9c9760c1f4bcc0c772c4a44745"/><file name="mysql4-upgrade-0.2.0-0.2.1.php" hash="233d39d38368c9bc6e13fe5a9df4652c"/><file name="mysql4-upgrade-0.3.2-0.3.3.php" hash="7b3d733c7c67ff7a56f00b4c318f76f3"/><file name="mysql4-upgrade-0.4.6-0.4.7.php" hash="02727edda8237b685508542efae58291"/></dir></dir></dir></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><file name="cashondelivery.xml" hash="aa937b0d16218958bbb9959fca812f6a"/></dir></dir></dir></dir><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="cashondelivery.xml" hash="85551553d1ca60d063b233e8bba0528b"/></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Hcl_CashOnDelivery.xml" hash="0b61a324b89056dadcf5ec36be3cbe30"/></dir></target></contents>
|
18 |
<compatible/>
|
19 |
+
<dependencies><required><php><min>5.1.0</min><max>6.0.0</max></php><package><name>Mage_Core_Modules</name><channel>community</channel><min>1.6.0.0</min><max>1.7.0</max></package></required></dependencies>
|
20 |
</package>
|