order_delivery_date - Version 0.1.1

Version Notes

- Customizable checkout process to display delivery date.
- Backend configuration to manage extension

Download this release

Release Info

Developer Biztech
Extension order_delivery_date
Version 0.1.1
Comparing to
See all releases


Code changes from version 0.1.0 to 0.1.1

app/code/local/Bc/Deliverydate/etc/config.xml CHANGED
@@ -10,7 +10,7 @@
10
  <config>
11
  <modules>
12
  <Bc_Deliverydate>
13
- <version>0.1.0</version>
14
  </Bc_Deliverydate>
15
  </modules>
16
  <frontend>
10
  <config>
11
  <modules>
12
  <Bc_Deliverydate>
13
+ <version>0.1.1</version>
14
  </Bc_Deliverydate>
15
  </modules>
16
  <frontend>
app/code/local/Bc/Deliverydate/etc/config_bkp_19022013.xml DELETED
@@ -1,176 +0,0 @@
1
- <?xml version="1.0"?>
2
- <!--
3
- /**
4
- * @category Bc
5
- * @package Bc_Deliverydate
6
- * @author ModuleCreator
7
- * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
8
- */
9
- -->
10
- <config>
11
- <modules>
12
- <Bc_Deliverydate>
13
- <version>0.1.0</version>
14
- </Bc_Deliverydate>
15
- </modules>
16
- <frontend>
17
- <routers>
18
- <deliverydate>
19
- <use>standard</use>
20
- <args>
21
- <module>Bc_Deliverydate</module>
22
- <frontName>deliverydate</frontName>
23
- </args>
24
- </deliverydate>
25
- </routers>
26
- <layout>
27
- <updates>
28
- <deliverydate>
29
- <file>deliverydate.xml</file>
30
- </deliverydate>
31
- </updates>
32
- </layout>
33
-
34
- <events>
35
- <checkout_controller_onepage_save_shipping_method>
36
- <observers>
37
- <deliverydate_observer>
38
- <type>singleton</type>
39
- <class>deliverydate/observer</class>
40
- <method>checkout_controller_onepage_save_shipping_method</method>
41
- </deliverydate_observer>
42
- </observers>
43
- </checkout_controller_onepage_save_shipping_method>
44
- <sales_order_save_before>
45
- <observers>
46
- <order_set_shippingarrivaldate>
47
- <type>model</type>
48
- <class>Bc_Deliverydate_Helper_Data</class>
49
- <method>saveShippingArrivalDate</method>
50
- </order_set_shippingarrivaldate>
51
- </observers>
52
- </sales_order_save_before>
53
- </events>
54
- </frontend>
55
- <admin>
56
- <routers>
57
- <deliverydate>
58
- <use>admin</use>
59
- <args>
60
- <module>Bc_Deliverydate</module>
61
- <frontName>deliverydate</frontName>
62
- </args>
63
- </deliverydate>
64
- </routers>
65
- </admin>
66
- <adminhtml>
67
- <!--<menu>
68
- <deliverydate module="deliverydate">
69
- <title>Deliverydate</title>
70
- <sort_order>71</sort_order>
71
- <children>
72
- <items module="deliverydate">
73
- <title>Manage Items</title>
74
- <sort_order>0</sort_order>
75
- <action>deliverydate/adminhtml_deliverydate</action>
76
- </items>
77
- </children>
78
- </deliverydate>
79
- </menu>-->
80
- <acl>
81
- <resources>
82
- <all>
83
- <title>Allow Everything</title>
84
- </all>
85
- <admin>
86
- <children>
87
- <Bc_Deliverydate>
88
- <title>Deliverydate Module</title>
89
- <sort_order>10</sort_order>
90
- </Bc_Deliverydate>
91
- <system>
92
- <children>
93
- <config>
94
- <children>
95
- <deliverydate>
96
- <title>Delivery Date</title>
97
- </deliverydate>
98
- </children>
99
- </config>
100
- </children>
101
- </system>
102
- </children>
103
- </admin>
104
- </resources>
105
- </acl>
106
- <layout>
107
- <updates>
108
- <deliverydate>
109
- <file>deliverydate.xml</file>
110
- </deliverydate>
111
- </updates>
112
- </layout>
113
- </adminhtml>
114
- <global>
115
- <models>
116
- <deliverydate>
117
- <class>Bc_Deliverydate_Model</class>
118
- <resourceModel>deliverydate_mysql4</resourceModel>
119
- </deliverydate>
120
- <deliverydate_mysql4>
121
- <class>Bc_Deliverydate_Model_Mysql4</class>
122
- <entities>
123
- <deliverydate>
124
- <table>deliverydate</table>
125
- </deliverydate>
126
- </entities>
127
- </deliverydate_mysql4>
128
- </models>
129
- <resources>
130
- <deliverydate_setup>
131
- <setup>
132
- <module>Bc_Deliverydate</module>
133
- </setup>
134
- <connection>
135
- <use>core_setup</use>
136
- </connection>
137
- </deliverydate_setup>
138
- <deliverydate_write>
139
- <connection>
140
- <use>core_write</use>
141
- </connection>
142
- </deliverydate_write>
143
- <deliverydate_read>
144
- <connection>
145
- <use>core_read</use>
146
- </connection>
147
- </deliverydate_read>
148
- </resources>
149
- <blocks>
150
- <deliverydate>
151
- <class>Bc_Deliverydate_Block</class>
152
- </deliverydate>
153
- <sales>
154
- <rewrite>
155
- <order_info>Bc_Deliverydate_Block_Order_Info</order_info>
156
- </rewrite>
157
- </sales>
158
- </blocks>
159
- <helpers>
160
- <deliverydate>
161
- <class>Bc_Deliverydate_Helper</class>
162
- </deliverydate>
163
- </helpers>
164
- <default>
165
- <deliverydate>
166
- <deliverydate_general>
167
- <enabled>0</enabled>
168
- <on_which_page>1</on_which_page>
169
- <deliverydate_html>Please choose your preferrable future delivery time for current #order.</deliverydate_html>
170
- <deliverydate_format>d/M/Y</deliverydate_format>
171
- <deliverydate_dayoff></deliverydate_dayoff>
172
- </deliverydate_general>
173
- </deliverydate>
174
- </default>
175
- </global>
176
- </config>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
app/code/local/Bc/Deliverydate/etc/system_bkp_19022013.xml DELETED
@@ -1,81 +0,0 @@
1
- <?xml version="1.0"?>
2
- <config>
3
- <tabs>
4
- <deliverydate translate="label" module="deliverydate">
5
- <label>Biztech Extensions</label>
6
- <sort_order>400</sort_order>
7
- </deliverydate>
8
- </tabs>
9
- <sections>
10
- <deliverydate translate="label" module="deliverydate">
11
- <class>separator-top</class>
12
- <label>Delivery Date</label>
13
- <tab>deliverydate</tab>
14
- <sort_order>130</sort_order>
15
- <show_in_default>1</show_in_default>
16
- <show_in_website>1</show_in_website>
17
- <show_in_store>1</show_in_store>
18
- <groups>
19
- <deliverydate_general translate="label">
20
- <label>General</label>
21
- <frontend_type>text</frontend_type>
22
- <sort_order>10</sort_order>
23
- <show_in_default>1</show_in_default>
24
- <show_in_website>1</show_in_website>
25
- <show_in_store>1</show_in_store>
26
- <fields>
27
- <enabled translate="label">
28
- <label>Enabled</label>
29
- <frontend_type>select</frontend_type>
30
- <source_model>adminhtml/system_config_source_yesno</source_model>
31
- <sort_order>1</sort_order>
32
- <show_in_default>1</show_in_default>
33
- <show_in_website>1</show_in_website>
34
- <show_in_store>1</show_in_store>
35
- <comment>Select Yes to enable this feature.</comment>
36
- </enabled>
37
- <on_which_page translate="label">
38
- <label>Display At</label>
39
- <frontend_type>select</frontend_type>
40
- <source_model>Bc_Deliverydate_Model_Config_Option</source_model>
41
- <sort_order>2</sort_order>
42
- <show_in_default>1</show_in_default>
43
- <show_in_website>1</show_in_website>
44
- <show_in_store>1</show_in_store>
45
- <comment>Choose at which step delivery date should be captured.</comment>
46
- </on_which_page>
47
- <deliverydate_html translate="label">
48
- <label>Design HTML</label>
49
- <frontend_type>textarea</frontend_type>
50
- <sort_order>3</sort_order>
51
- <show_in_default>1</show_in_default>
52
- <show_in_website>1</show_in_website>
53
- <show_in_store>1</show_in_store>
54
- <comment></comment>
55
- </deliverydate_html>
56
- <deliverydate_format>
57
- <label>Date Format</label>
58
- <frontend_type>select</frontend_type>
59
- <source_model>Bc_Deliverydate_Model_Config_Format</source_model>
60
- <sort_order>4</sort_order>
61
- <show_in_default>1</show_in_default>
62
- <show_in_website>1</show_in_website>
63
- <show_in_store>1</show_in_store>
64
- <comment>Choose date format in which date will be displayed in frontend and admin panel.</comment>
65
- </deliverydate_format>
66
- <deliverydate_dayoff>
67
- <label>Day Off</label>
68
- <frontend_type>multiselect</frontend_type>
69
- <source_model>Bc_Deliverydate_Model_Config_Dayoff</source_model>
70
- <sort_order>5</sort_order>
71
- <show_in_default>1</show_in_default>
72
- <show_in_website>1</show_in_website>
73
- <show_in_store>1</show_in_store>
74
- <comment>Choose days on which shipping will not be available.</comment>
75
- </deliverydate_dayoff>
76
- </fields>
77
- </deliverydate_general>
78
- </groups>
79
- </deliverydate>
80
- </sections>
81
- </config>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
app/design/adminhtml/default/default/template/deliverydate/info.phtml CHANGED
@@ -81,7 +81,6 @@
81
  </div>
82
  </div>
83
  <?php endif; ?>
84
-
85
  <div class="clear"></div>
86
  <div class="entry-edit">
87
  <div class="entry-edit-head">
81
  </div>
82
  </div>
83
  <?php endif; ?>
 
84
  <div class="clear"></div>
85
  <div class="entry-edit">
86
  <div class="entry-edit-head">
app/design/frontend/default/default/template/deliverydate/review/info.phtml CHANGED
@@ -69,6 +69,14 @@
69
  </script>
70
  <div id="checkout-review-submit">
71
  <?php echo $this->getChildHtml('agreements') ?>
 
 
 
 
 
 
 
 
72
  <script type="text/javascript">
73
  //<![CDATA[
74
  review = new Review('<?php echo $this->getUrl('checkout/onepage/saveOrder') ?>', '<?php echo $this->getUrl('checkout/onepage/success') ?>', $('checkout-agreements'));
69
  </script>
70
  <div id="checkout-review-submit">
71
  <?php echo $this->getChildHtml('agreements') ?>
72
+ <div class="buttons-set" id="review-buttons-container">
73
+ <p class="f-left"><?php echo $this->__('Forgot an Item?') ?> <a href="<?php echo $this->getUrl('checkout/cart') ?>"><?php echo $this->__('Edit Your Cart') ?></a></p>
74
+ <?php echo $this->getChildHtml('button') ?>
75
+ <span class="please-wait" id="review-please-wait" style="display:none;">
76
+ <img src="<?php echo $this->getSkinUrl('images/opc-ajax-loader.gif') ?>" alt="<?php echo $this->__('Submitting order information...') ?>" title="<?php echo $this->__('Submitting order information...') ?>" class="v-middle" /> <?php echo $this->__('Submitting order information...') ?>
77
+ </span>
78
+ </div>
79
+
80
  <script type="text/javascript">
81
  //<![CDATA[
82
  review = new Review('<?php echo $this->getUrl('checkout/onepage/saveOrder') ?>', '<?php echo $this->getUrl('checkout/onepage/success') ?>', $('checkout-agreements'));
package.xml CHANGED
@@ -1,23 +1,24 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>order_delivery_date</name>
4
- <version>0.1.0</version>
5
  <stability>stable</stability>
6
  <license uri="http://opensource.org/licenses/osl-3.0.php">OSL v3.0</license>
7
  <channel>community</channel>
8
  <extends/>
9
- <summary>Delivery date extension will allow customer to choose preferable delivery date for order.</summary>
10
- <description>Delivery date extension will allow customer to choose preferable delivery date for order.
11
-
12
- Extension provide advance configuration for admin to decide where to capture delivery date from user either from shipping method step or review step in checkout process.
13
-
 
14
  Our extension will override files to display delivery date with order information so that admin dont requires to manually change any files.</description>
15
- <notes>- Customizable checkout process to display delivery date.
16
- - Backend configuration to manage extension</notes>
17
- <authors><author><name>Biztech</name><user>auto-converted</user><email>sales@biztechconsultancy.com</email></author></authors>
18
- <date>2013-02-19</date>
19
- <time>13:15:32</time>
20
- <contents><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><file name="deliverydate.xml" hash="5b131094e37144fbf5afcba8175e12a2"/></dir><dir name="template"><dir name="deliverydate"><file name="info.phtml" hash="384509460cd6670ed7c166ede12963f8"/></dir></dir></dir></dir></dir><dir name="frontend"><dir name="default"><dir name="default"><dir name="layout"><file name="deliverydate.xml" hash="782935656933efd6e8708824d9275474"/></dir><dir name="template"><dir name="deliverydate"><dir name="email"><file name="info.phtml" hash="6fdbc376e648bd328a9167dd08c8cc5b"/></dir><dir name="js"><file name="calendar.phtml" hash="0cf736ac3f11475c3b20ce008791ce30"/></dir><dir name="order"><file name="info.phtml" hash="03a790d8ec056ae0446afc78247e410d"/></dir><dir name="review"><file name="info.phtml" hash="b6008255d3308678c0658605f4a37539"/></dir><dir name="shipping_method"><file name="available.phtml" hash="0d7ab3fd3d976cc90ddba322d3c8737e"/></dir><file name="agreements.phtml" hash="77bcb19c1bb923f91a7780520b30e55f"/><file name="deliverydate.phtml" hash="cb61e2e8f65104212bc5a62b2c0634ac"/></dir></dir></dir></dir></dir></target><target name="magelocal"><dir name="Bc"><dir name="Deliverydate"><dir name="Block"><dir name="Adminhtml"><dir name="Deliverydate"><dir name="Edit"><dir name="Tab"><file name="Form.php" hash="eb392c359eafe55fa4af49726e38d25d"/></dir><file name="Form.php" hash="14a5ef75f43be68f966b4233d1a71707"/><file name="Tabs.php" hash="4dae864023de48414f5c5de48961dbb2"/></dir><file name="Edit.php" hash="b990ba5c1f8bc9c9e8796f4b0fe45ab2"/><file name="Grid.php" hash="1033c40acfc04c6d9b2827f3b1664fef"/></dir><file name="Deliverydate.php" hash="da2c1c11742280cbdad8a6789d8e710f"/></dir><dir name="Email"><file name="Info.php" hash="77175f966ef7fe9414bfbb1592f651ff"/></dir><dir name="Order"><file name="Info.php" hash="73d4b23927c7531e489eb6a806934b44"/></dir><file name="Deliverydate.php" hash="2e5ea173382e8fd75165b8bee4cfb409"/></dir><dir name="controllers"><dir name="Adminhtml"><file name="DeliverydateController.php" hash="a33ab0d29a473dbc421aef1df67d301f"/></dir><file name="IndexController.php" hash="4066dfbe772492393bf98a127af7bc2d"/></dir><dir name="etc"><file name="config.xml" hash="539d33a6e16d04de9ce02192a6330778"/><file name="config_bkp_19022013.xml" hash="0cef544ff62bb770f6ac5da176ed9a97"/><file name="system.xml" hash="adf832b092bdafb35a59d5b71e7601d2"/><file name="system_bkp_19022013.xml" hash="0376ca3cdb73f6811092199bc1f1b744"/></dir><dir name="Helper"><file name="Data.php" hash="bb3d59cf71fcc5664410fff1acd82d17"/></dir><dir name="Model"><dir name="Config"><file name="Dateformat.php" hash="722f44d3c607a2e0f172f8b2721405fe"/><file name="Dayoff.php" hash="be7e72edca44e8cee607972cde0e1565"/><file name="Option.php" hash="45780922eac613f1a6a03ced8af080ec"/><file name="Timeformat.php" hash="19b1013107a87923bdc2b962dae844ec"/></dir><dir name="Mysql4"><dir name="Deliverydate"><file name="Collection.php" hash="38e5fa717318b2fc9d18eca3db6b0e8b"/></dir><file name="Deliverydate.php" hash="5dee427cc09c3659a76a32a6ec13cade"/></dir><file name="Deliverydate.php" hash="d6d63e0c5db21a706ec7353b307f8a95"/><file name="Observer.php" hash="b0c184174b87e49131e6d672eb18178c"/><file name="Status.php" hash="334c9b7669e215314b32e9cbcff89354"/></dir><dir name="sql"><dir name="deliverydate_setup"><file name="mysql4-install-0.1.0.php" hash="d03f13d84464f407844bee55dc930d60"/></dir></dir></dir></dir></target><target name="mageskin"><dir name="frontend"><dir name="base"><dir name="default"><dir name="images"><file name="ico_reset.png" hash="b5f3195305024564e387bc15ebadcc7c"/></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Bc_Deliverydate.xml" hash="eab1058099910cdf137d2e38ee73c392"/></dir></target></contents>
21
  <compatible/>
22
- <dependencies/>
23
  </package>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>order_delivery_date</name>
4
+ <version>0.1.1</version>
5
  <stability>stable</stability>
6
  <license uri="http://opensource.org/licenses/osl-3.0.php">OSL v3.0</license>
7
  <channel>community</channel>
8
  <extends/>
9
+ <summary>Delivery date extension will allow customer to choose preferable delivery date for order. &#xD;
10
+ </summary>
11
+ <description>Delivery date extension will allow customer to choose preferable delivery date for order. &#xD;
12
+ &#xD;
13
+ Extension provide advance configuration for admin to decide where to capture delivery date from user either from shipping method step or review step in checkout process. &#xD;
14
+ &#xD;
15
  Our extension will override files to display delivery date with order information so that admin dont requires to manually change any files.</description>
16
+ <notes>- Customizable checkout process to display delivery date.&#xD;
17
+ - Backend configuration to manage extension </notes>
18
+ <authors><author><name>Biztech</name><user>biztechcon</user><email>sales@biztechconsultancy.com</email></author></authors>
19
+ <date>2013-02-21</date>
20
+ <time>10:15:03</time>
21
+ <contents><target name="mageetc"><dir name="modules"><file name="Bc_Deliverydate.xml" hash="eab1058099910cdf137d2e38ee73c392"/></dir></target><target name="magelocal"><dir name="Bc"><dir name="Deliverydate"><dir name="Block"><dir name="Adminhtml"><dir name="Deliverydate"><dir name="Edit"><file name="Form.php" hash="14a5ef75f43be68f966b4233d1a71707"/><dir name="Tab"><file name="Form.php" hash="eb392c359eafe55fa4af49726e38d25d"/></dir><file name="Tabs.php" hash="4dae864023de48414f5c5de48961dbb2"/></dir><file name="Edit.php" hash="b990ba5c1f8bc9c9e8796f4b0fe45ab2"/><file name="Grid.php" hash="1033c40acfc04c6d9b2827f3b1664fef"/></dir><file name="Deliverydate.php" hash="da2c1c11742280cbdad8a6789d8e710f"/></dir><file name="Deliverydate.php" hash="2e5ea173382e8fd75165b8bee4cfb409"/><dir name="Email"><file name="Info.php" hash="77175f966ef7fe9414bfbb1592f651ff"/></dir><dir name="Order"><file name="Info.php" hash="73d4b23927c7531e489eb6a806934b44"/></dir></dir><dir name="Helper"><file name="Data.php" hash="bb3d59cf71fcc5664410fff1acd82d17"/></dir><dir name="Model"><dir name="Config"><file name="Dateformat.php" hash="722f44d3c607a2e0f172f8b2721405fe"/><file name="Dayoff.php" hash="be7e72edca44e8cee607972cde0e1565"/><file name="Option.php" hash="45780922eac613f1a6a03ced8af080ec"/><file name="Timeformat.php" hash="19b1013107a87923bdc2b962dae844ec"/></dir><file name="Deliverydate.php" hash="d6d63e0c5db21a706ec7353b307f8a95"/><dir name="Mysql4"><dir name="Deliverydate"><file name="Collection.php" hash="38e5fa717318b2fc9d18eca3db6b0e8b"/></dir><file name="Deliverydate.php" hash="5dee427cc09c3659a76a32a6ec13cade"/></dir><file name="Observer.php" hash="b0c184174b87e49131e6d672eb18178c"/><file name="Status.php" hash="334c9b7669e215314b32e9cbcff89354"/></dir><dir name="controllers"><dir name="Adminhtml"><file name="DeliverydateController.php" hash="a33ab0d29a473dbc421aef1df67d301f"/></dir><file name="IndexController.php" hash="4066dfbe772492393bf98a127af7bc2d"/></dir><dir name="etc"><file name="config.xml" hash="f0f93b9572a98b9c9ff0751c7dc7032c"/><file name="system.xml" hash="adf832b092bdafb35a59d5b71e7601d2"/></dir><dir name="sql"><dir name="deliverydate_setup"><file name="mysql4-install-0.1.0.php" hash="d03f13d84464f407844bee55dc930d60"/></dir></dir></dir></dir></target><target name="magedesign"><dir name="frontend"><dir name="default"><dir name="default"><dir name="layout"><file name="deliverydate.xml" hash="782935656933efd6e8708824d9275474"/></dir><dir name="template"><dir name="deliverydate"><file name="agreements.phtml" hash="77bcb19c1bb923f91a7780520b30e55f"/><file name="deliverydate.phtml" hash="cb61e2e8f65104212bc5a62b2c0634ac"/><dir><dir name="email"><file name="info.phtml" hash="6fdbc376e648bd328a9167dd08c8cc5b"/></dir><dir name="js"><file name="calendar.phtml" hash="0cf736ac3f11475c3b20ce008791ce30"/></dir><dir name="order"><file name="info.phtml" hash="03a790d8ec056ae0446afc78247e410d"/></dir><dir name="review"><file name="info.phtml" hash="5d6228af4893ec0902215fdc271fef0c"/></dir><dir name="shipping_method"><file name="available.phtml" hash="0d7ab3fd3d976cc90ddba322d3c8737e"/></dir></dir></dir></dir></dir></dir></dir><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><file name="deliverydate.xml" hash="5b131094e37144fbf5afcba8175e12a2"/></dir><dir name="template"><dir name="deliverydate"><file name="info.phtml" hash="1a2fe215c78938cd4615275a8093b7c6"/></dir></dir></dir></dir></dir></target><target name="mageskin"><dir name="skin"><dir name="frontend"><dir name="base"><dir name="default"><dir name="images"><file name="ico_reset.png" hash=""/></dir></dir></dir></dir></dir></target></contents>
22
  <compatible/>
23
+ <dependencies><required><php><min>5.1.0</min><max>6.0.0</max></php></required></dependencies>
24
  </package>
skin/frontend/base/default/images/ico_reset.png DELETED
Binary file