Order_Status - Version 0.1.1

Version Notes

Thanks given to:
Spheric, Atlasit, Ajayksh, Erenaud

Download this release

Release Info

Developer Magento Core Team
Extension Order_Status
Version 0.1.1
Comparing to
See all releases


Version 0.1.1

app/code/local/Mage/Sales/Local/Default.php ADDED
@@ -0,0 +1,29 @@
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Open Software License (OSL 3.0)
8
+ * that is bundled with this package in the file LICENSE.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/osl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * DISCLAIMER
16
+ *
17
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
18
+ * versions in the future. If you wish to customize Magento for your
19
+ * needs please refer to http://www.magentocommerce.com for more information.
20
+ *
21
+ * @category Mage
22
+ * @package Mage_Sales
23
+ * @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.com)
24
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
25
+ */
26
+ class Mage_Sales_Local extends Mage_Sales {
27
+ }
28
+
29
+ ?>
app/code/local/Mage/Sales/Local/etc/config.xml ADDED
@@ -0,0 +1,178 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
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 Admin
17
+ * @package Status
18
+ * @copyright Copyright (c) 2009 Digital Addiction CC. (http://www.digitaladdiction.co.za)
19
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
20
+ */
21
+ */ Thanks goes to Spheric, Atlasit, Ajayksh, Erenaud for all brainstorming in the following thread:
22
+ */ http://www.magentocommerce.com/boards/viewthread/9976/P45/
23
+ */ I compiled this using Spherics instructions, and I can only take credit for creating the actual status's below:
24
+ */
25
+ */ Additional Status's Included:
26
+ */
27
+ */ Pending - Credit Card Reserved
28
+ */ Pending - Stock has been ordered
29
+ */ Pending - Proof of Payment Received
30
+ */
31
+ */ Processing - Payment has Cleared
32
+ */ Processing - Credit Card has been Settled
33
+ */ Processing - Stock has been received and scanned
34
+ */ Processing - Stock has been invoiced, packaged and awaiting courier
35
+ */ Processing - Stock has been invoiced, packaged and ready to be posted
36
+ */ Processing - Stock is ready and awaiting collection
37
+ */
38
+ */ Complete - Courier has collected
39
+ */ Complete - Stock has been posted
40
+ */ Complete - Stock has been collected
41
+ */
42
+ */ Cancelled - As per Customer Request
43
+ */ Cancelled - Customer not Responding
44
+ */ Cancelled - Stock Item Discontinued
45
+ */ Cancelled - Suspected Fraud
46
+ */
47
+ */ Back Order
48
+ */
49
+ -->
50
+
51
+ <config>
52
+ <modules>
53
+ <Mage_Sales_Local>
54
+ <version>0.1.0</version>
55
+ </Mage_Sales_Local>
56
+ </modules>
57
+ <global>
58
+ <sales>
59
+ <order>
60
+ <statuses>
61
+ <!--Pending Status Descriptions-->
62
+ <pending translate="label"><label>Pending</label></pending>
63
+ <pending_paypal translate="label"><label>Pending PayPal</label></pending_paypal>
64
+ <pending_cc_reserved translate="label"><label>Pending - Credit Card Reserved</label></pending_cc_reserved>
65
+ <pending_stock_order translate="label"><label>Pending - Stock has been ordered</label></pending_stock_order>
66
+ <pending_pop_received translate="label"><label>Pending - Received Proof of Payment</label></pending_pop_received>
67
+ <!--Processing Status Descriptions-->
68
+ <processing translate="label"><label>Processing</label></processing>
69
+ <processing_cleared translate="label"><label>Processing - Payment has Cleared</label></processing_cleared>
70
+ <processing_cc_settled translate="label"><label>Processing - Credit Card has been Settled</label></processing_cc_settled>
71
+ <processing_stock_in translate="label"><label>Processing - Stock has been Received and Scanned</label></processing_stock_in>
72
+ <processing_stock_courier translate="label"><label>Processing - Stock has been invoiced, packaged and awaiting courier</label></processing_stock_courier>
73
+ <processing_stock_post translate="label"><label>Processing - Stock has been invoiced, packaged and awaiting postage</label></processing_stock_post>
74
+ <processing_stock_collect translate="label"><label>Processing - Stock is ready and awaiting collection</label></processing_stock_collect>
75
+ <!--Complete Status Descriptions-->
76
+ <complete translate="label"><label>Complete</label></complete>
77
+ <complete_courier translate="label"><label>Complete - Courier has collected</label></complete_courier>
78
+ <complete_post translate="label"><label>Complete - Stock has been posted</label></complete_post>
79
+ <complete_collect translate="label"><label>Complete - Stock has been collected</label></complete_collect>
80
+ <!--Cancelled Status Descriptions-->
81
+ <canceled translate="label"><label>Canceled</label></canceled>
82
+ <canceled_request translate="label"><label>Canceled - As per Customer Request</label></canceled_request>
83
+ <canceled_non_responsive translate="label"><label>Canceled - Customer not Responding</label></canceled_non_responsive>
84
+ <canceled_discontinued translate="label"><label>Canceled - Stock Item Discontinued</label></canceled_discontinued>
85
+ <canceled_fraud translate="label"><label>Canceled - Suspected Fraud</label></canceled_fraud>
86
+ <!--On Hold Status Descriptions-->
87
+ <holded translate="label"><label>On Hold</label></holded>
88
+ <back_order translate="label"><label>Back Order</label></back_order>
89
+ <!-- /* Additional custom statuses will go here */ -->
90
+ <!-- Format of a status description is <name_of_status translate="label"><label>Name of Status</label?</name_of_status> -->
91
+ </statuses>
92
+ <states>
93
+ <new translate="label">
94
+ <label>New</label>
95
+ <statuses>
96
+ <pending/>
97
+ <pending_cc_reserved/>
98
+ <pending_stock_order/>
99
+ <pending_pop_received/>
100
+ </statuses>
101
+ <visible_on_front/>
102
+ </new>
103
+ <pending translate="label">
104
+ <label>Pending</label>
105
+ <statuses>
106
+ <pending/>
107
+ <pending_cc_reserved/>
108
+ <pending_stock_order/>
109
+ <pending_pop_received/>
110
+ </statuses>
111
+ <visible_on_front/>
112
+ </pending>
113
+ <pending_payment translate="label">
114
+ <label>Pending Payment</label>
115
+ <statuses>
116
+ <pending/>
117
+ <pending_cc_reserved/>
118
+ <pending_stock_order/>
119
+ <pending_pop_received/>
120
+ </statuses>
121
+ </pending_payment>
122
+ <processing translate="label">
123
+ <label>Processing</label>
124
+ <statuses>
125
+ <processing/>
126
+ <processing_cleared/>
127
+ <processing_cc_settled/>
128
+ <processing_stock_in/>
129
+ <processing_stock_courier/>
130
+ <processing_stock_post/>
131
+ <processing_stock_collect/>
132
+ </statuses>
133
+ <visible_on_front/>
134
+ </processing>
135
+ <complete translate="label">
136
+ <label>Complete</label>
137
+ <statuses>
138
+ <complete/>
139
+ <complete_courier/>
140
+ <complete_post/>
141
+ <complete_collect/>
142
+ </statuses>
143
+ <visible_on_front/>
144
+ </complete>
145
+ <canceled translate="label">
146
+ <label>Canceled</label>
147
+ <statuses>
148
+ <canceled/>
149
+ <canceled_request/>
150
+ <canceled_non_responsive/>
151
+ <canceled_discontinued/>
152
+ <canceled_fraud/>
153
+ </statuses>
154
+ <visible_on_front/>
155
+ </canceled>
156
+ <holded translate="label">
157
+ <label>Back Order</label>
158
+ <statuses>
159
+ <holded/>
160
+ <back_order/>
161
+ </statuses>
162
+ <visible_on_front/>
163
+ </holded>
164
+ <!-- /** Additional modified states will be here including any custom statuses */ -->
165
+ <!-- Format will be
166
+ <name_of_state translate="label">
167
+ <label>Name of State</label>
168
+ <statuses>
169
+ Insert the name/s of the selectable status's you wish to include, which were made at the top, i.e. <name_of_status/>
170
+ <name_of_status/>
171
+ </statuses>
172
+ <visible_on_front/>
173
+ </name_of_state> -->
174
+ </states>
175
+ </order>
176
+ </sales>
177
+ </global>
178
+ </config>
app/etc/modules/Status.xml ADDED
@@ -0,0 +1,25 @@
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
+ */
17
+ -->
18
+ <config>
19
+ <modules>
20
+ <Mage_Sales_Local>
21
+ <active>true</active>
22
+ <codePool>local</codePool>
23
+ </Mage_Sales_Local>
24
+ </modules>
25
+ </config>
package.xml ADDED
@@ -0,0 +1,53 @@
1
+ <?xml version="1.0"?>
2
+ <package>
3
+ <name>Order_Status</name>
4
+ <version>0.1.1</version>
5
+ <stability>stable</stability>
6
+ <license uri="http://www.opensource.org/licenses/gpl-license.php">GNU General Public License (GPL)</license>
7
+ <channel>community</channel>
8
+ <extends/>
9
+ <summary>This extension adds extra Status options to the Order Status drop down of Customer Orders and also allows you to add your own.</summary>
10
+ <description>We all know that Magento is lacking in the order status department, and I have searched the forum wide and have come up with a package that works.
11
+
12
+ Credits go to:
13
+ Spheric, Atlasit, Ajayksh, Erenaud
14
+
15
+ Spheric is the one who created the module. I just stuck it into a package and added a variety of customs Status's which most people should find useful without changing.
16
+
17
+ Below is the list of New Status's that have been added:
18
+
19
+ * Pending - Credit Card Reserved
20
+ * Pending - Stock has been ordered
21
+ * Pending - Proof of Payment Received
22
+
23
+ * Processing - Payment has Cleared
24
+ * Processing - Credit Card has been Settled
25
+ * Processing - Stock has been received and scanned
26
+ * Processing - Stock has been invoiced, packaged and awaiting courier
27
+ * Processing - Stock has been invoiced, packaged and ready to be posted
28
+ * Processing - Stock is ready and awaiting collection
29
+
30
+ * Complete - Courier has collected
31
+ * Complete - Stock has been posted
32
+ * Complete - Stock has been collected
33
+
34
+ * Cancelled - As per Customer Request
35
+ * Cancelled - Customer not Responding
36
+ * Cancelled - Stock Item Discontinued
37
+ * Cancelled - Suspected Fraud
38
+
39
+ * Back Order
40
+
41
+ To add your own Status's you can edit the following file:
42
+ magento_root/app/code/local/sales/local/etc/config.xml
43
+
44
+ Just follow the istructions of the grey text in that file.</description>
45
+ <notes>Thanks given to:
46
+ Spheric, Atlasit, Ajayksh, Erenaud</notes>
47
+ <authors><author><name>Itai Etzman</name><user>auto-converted</user><email>webmaster@digitaladdiction.co.za</email></author></authors>
48
+ <date>2009-06-18</date>
49
+ <time>22:21:48</time>
50
+ <contents><target name="magelocal"><dir name="Mage"><dir name="Sales"><dir name="Local"><dir name="etc"><file name="config.xml" hash="0183e4ed7c2ed4c09a426cd7eece4e56"/></dir><file name="Default.php" hash="1c0aaf7db21e321248c880cd5eb56798"/></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Status.xml" hash="a32009399e91daf1c83bc4190e0e5cc1"/></dir></target></contents>
51
+ <compatible/>
52
+ <dependencies/>
53
+ </package>