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 +1 -1
- app/code/local/Bc/Deliverydate/etc/config_bkp_19022013.xml +0 -176
- app/code/local/Bc/Deliverydate/etc/system_bkp_19022013.xml +0 -81
- app/design/adminhtml/default/default/template/deliverydate/info.phtml +0 -1
- app/design/frontend/default/default/template/deliverydate/review/info.phtml +8 -0
- package.xml +14 -13
- skin/frontend/base/default/images/ico_reset.png +0 -0
app/code/local/Bc/Deliverydate/etc/config.xml
CHANGED
|
@@ -10,7 +10,7 @@
|
|
| 10 |
<config>
|
| 11 |
<modules>
|
| 12 |
<Bc_Deliverydate>
|
| 13 |
-
<version>0.1.
|
| 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>
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
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 |
//<