trackorder_module - Version 0.1.5

Version Notes

supee patch 6788

Download this release

Release Info

Developer Biztech
Extension trackorder_module
Version 0.1.5
Comparing to
See all releases


Code changes from version 0.1.4 to 0.1.5

app/code/local/Biztech/All/Helper/Data.php DELETED
@@ -1,6 +0,0 @@
1
- <?php
2
-
3
- class Biztech_All_Helper_Data extends Mage_Core_Helper_Abstract
4
- {
5
-
6
- }
 
 
 
 
 
 
app/code/local/Biztech/All/Model/All.php DELETED
@@ -1,10 +0,0 @@
1
- <?php
2
-
3
- class Biztech_All_Model_All extends Mage_Core_Model_Abstract
4
- {
5
- public function _construct()
6
- {
7
- parent::_construct();
8
- $this->_init('all/all');
9
- }
10
- }
 
 
 
 
 
 
 
 
 
 
app/code/local/Biztech/All/Model/Mysql4/All.php DELETED
@@ -1,10 +0,0 @@
1
- <?php
2
-
3
- class Biztech_All_Model_Mysql4_All extends Mage_Core_Model_Mysql4_Abstract
4
- {
5
- public function _construct()
6
- {
7
- // Note that the all_id refers to the key field in your database table.
8
- $this->_init('all/all', 'all_id');
9
- }
10
- }
 
 
 
 
 
 
 
 
 
 
app/code/local/Biztech/All/Model/Mysql4/All/Collection.php DELETED
@@ -1,10 +0,0 @@
1
- <?php
2
-
3
- class Biztech_All_Model_Mysql4_All_Collection extends Mage_Core_Model_Mysql4_Collection_Abstract
4
- {
5
- public function _construct()
6
- {
7
- parent::_construct();
8
- $this->_init('all/all');
9
- }
10
- }
 
 
 
 
 
 
 
 
 
 
app/code/local/Biztech/All/Model/Source/Updates/Type.php DELETED
@@ -1,50 +0,0 @@
1
- <?php
2
- /**
3
-
4
- *
5
- * NOTICE OF LICENSE
6
- *
7
- * This source file is subject to the EULA
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
- */
11
-
12
- class Biztech_All_Model_Source_Updates_Type extends Mage_Eav_Model_Entity_Attribute_Source_Abstract
13
- {
14
- const TYPE_UPDATE_RELEASE = 'UPDATE_RELEASE';
15
- const TYPE_INSTALLED_UPDATE = 'INSTALLED_UPDATE';
16
- public function toOptionArray()
17
- {
18
- return array(
19
- array('value' => self::TYPE_INSTALLED_UPDATE, 'label' => Mage::helper('all')->__('My extensions updates')),
20
- array('value' => self::TYPE_UPDATE_RELEASE, 'label' => Mage::helper('all')->__('All extensions updates')),
21
- );
22
- }
23
-
24
- public function getAllOptions()
25
- {
26
- return $this->toOptionArray();
27
- }
28
-
29
-
30
- public function getLabel($value)
31
- {
32
- $options = $this->toOptionArray();
33
- foreach ($options as $v) {
34
- if ($v['value'] == $value) {
35
- return $v['label'];
36
- }
37
- }
38
- return '';
39
- }
40
-
41
- public function getGridOptions()
42
- {
43
- $items = $this->getAllOptions();
44
- $out = array();
45
- foreach ($items as $item) {
46
- $out[$item['value']] = $item['label'];
47
- }
48
- return $out;
49
- }
50
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
app/code/local/Biztech/All/Model/Status.php DELETED
@@ -1,15 +0,0 @@
1
- <?php
2
-
3
- class Biztech_All_Model_Status extends Varien_Object
4
- {
5
- const STATUS_ENABLED = 1;
6
- const STATUS_DISABLED = 2;
7
-
8
- static public function getOptionArray()
9
- {
10
- return array(
11
- self::STATUS_ENABLED => Mage::helper('all')->__('Enabled'),
12
- self::STATUS_DISABLED => Mage::helper('all')->__('Disabled')
13
- );
14
- }
15
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
app/code/local/Biztech/All/Model/Update.php DELETED
@@ -1,93 +0,0 @@
1
- <?php
2
-
3
- class Biztech_All_Model_Update extends Mage_Core_Helper_Abstract
4
- {
5
-
6
- const UPDATE_NOTIFICATION_FEED_URL = 'http://store.biztechconsultancy.com/rss/catalog/new/store_id/1/';
7
- public function getInterests()
8
- {
9
- $types = @explode(',', Mage::getStoreConfig('all/all_general/interests'));
10
- return $types;
11
- }
12
- public function isExtensionInstalled($code)
13
- {
14
-
15
- $modules = array_keys((array)Mage::getConfig()->getNode('modules')->children());
16
- foreach ($modules as $moduleName) {
17
- if ($moduleName == $code) {
18
- return true;
19
- }
20
- }
21
- return false;
22
- }
23
-
24
- public function check()
25
- {
26
- if ((time() - Mage::app()->loadCache('biztech_all_updates_feed_lastcheck')) > Mage::getStoreConfig('all/all_general/check_frequency')) {
27
- $this->refresh();
28
- }
29
- }
30
-
31
- public function refresh()
32
- {
33
- $types = array();
34
- $feedData = array();
35
- $extensio_module = array();
36
- try{
37
- $xml = false;
38
- $limit_context = stream_context_create(array('http'=>array('timeout' => 5)));
39
- $xml = file_get_contents(self::UPDATE_NOTIFICATION_FEED_URL,true,$limit_context);
40
- $xml = simplexml_load_string($xml, 'SimpleXMLElement', LIBXML_NOCDATA);//LIBXML_NOCDATA LIBXML_NOWARNING
41
-
42
- if($xml != false){
43
- $interests = $this->getInterests();
44
- if(!empty($interests[0])){
45
- $isInterestedInSelfUpgrades = in_array(Biztech_All_Model_Source_Updates_Type::TYPE_INSTALLED_UPDATE, $interests);
46
- $isInterestedInAllUpgrades = in_array(Biztech_All_Model_Source_Updates_Type::TYPE_UPDATE_RELEASE, $interests);
47
- $modules = Mage::getConfig()->getNode('modules')->children();
48
- $modulesArray = (array)$modules;
49
- foreach($xml->channel->item as $keys=>$extensions) {
50
- $types[] = (string) $extensions->update_notifications->type;
51
- $extensions_name = (string)$extensions->update_notifications->extensions;
52
-
53
- if((string)$extensions->update_notifications->date!=""&&(string)$extensions->update_notifications->extension_title!=""&&(string)$extensions->update_notifications->extension_content!=""&&(string)$extensions->update_notifications->product_url!=""){
54
- if(!$isInterestedInAllUpgrades){
55
- if ($this->isExtensionInstalled($extensions_name)) {
56
- $feedData[] = array(
57
- 'severity' => 4,
58
- 'date_added' => (string) $extensions->update_notifications->date,
59
- 'title' => (string)$extensions->update_notifications->extension_title,
60
- 'description' => (string)$extensions->update_notifications->extension_content,
61
- 'url' => (string)$extensions->update_notifications->product_url,
62
- );
63
- }
64
- } else{
65
- $feedData[] = array(
66
- 'severity' => 4,
67
- 'date_added' => (string)$extensions->update_notifications->date,
68
- 'title' => (string)$extensions->update_notifications->extension_title,
69
- 'description' => (string)$extensions->update_notifications->extension_content,
70
- 'url' => (string)$extensions->update_notifications->product_url,
71
- );
72
- }
73
- }
74
- }
75
- if ($feedData) {
76
- foreach($feedData as $data){
77
- if ((array_intersect($types,$interests) && $isInterestedInSelfUpgrades)) {
78
- Mage::getModel('adminnotification/inbox')->parse(array_reverse(array($data)));
79
- }
80
- }
81
- }
82
- Mage::app()->saveCache(time(), 'biztech_all_updates_feed_lastcheck');
83
- return true;
84
- }
85
- } else{
86
- return false;
87
- }
88
-
89
- }catch (Exception $e) {
90
- Mage::getSingleton('adminhtml/session')->addError($e->getMessage());
91
- }
92
- }
93
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
app/code/local/Biztech/All/etc/config.xml DELETED
@@ -1,147 +0,0 @@
1
- <?xml version="1.0"?>
2
- <!--
3
- /**
4
- * @category Biztech
5
- * @package Biztech_All
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
- <Biztech_All>
13
- <version>0.1.0</version>
14
- </Biztech_All>
15
- </modules>
16
- <frontend>
17
- <routers>
18
- <all>
19
- <use>standard</use>
20
- <args>
21
- <module>Biztech_All</module>
22
- <frontName>all</frontName>
23
- </args>
24
- </all>
25
- </routers>
26
- <!--<layout>
27
- <updates>
28
- <all>
29
- <file>all.xml</file>
30
- </all>
31
- </updates>
32
- </layout>-->
33
- </frontend>
34
- <admin>
35
- <routers>
36
- <all>
37
- <use>admin</use>
38
- <args>
39
- <module>Biztech_All</module>
40
- <frontName>all</frontName>
41
- </args>
42
- </all>
43
- </routers>
44
- </admin>
45
- <adminhtml>
46
- <!--<menu>
47
- <all module="all">
48
- <title>All</title>
49
- <sort_order>71</sort_order>
50
- <children>
51
- <items module="all">
52
- <title>Manage Items</title>
53
- <sort_order>0</sort_order>
54
- <action>all/adminhtml_all</action>
55
- </items>
56
- </children>
57
- </all>
58
- </menu> -->
59
- <acl>
60
- <resources>
61
- <all>
62
- <title>Allow Everything</title>
63
- </all>
64
- <admin>
65
- <children>
66
- <Biztech_All>
67
- <title>All Module</title>
68
- <sort_order>10</sort_order>
69
- </Biztech_All>
70
- </children>
71
- </admin>
72
- </resources>
73
- </acl>
74
- <events>
75
- <controller_action_predispatch>
76
- <observers>
77
-
78
- <bzall_upds>
79
- <type>singleton</type>
80
- <class>all/update</class>
81
- <method>check</method>
82
- </bzall_upds>
83
- </observers>
84
- </controller_action_predispatch>
85
- </events>
86
- <!--<layout>
87
- <updates>
88
- <all>
89
- <file>all.xml</file>
90
- </all>
91
- </updates>
92
- </layout> -->
93
- </adminhtml>
94
- <global>
95
- <models>
96
- <all>
97
- <class>Biztech_All_Model</class>
98
- <resourceModel>all_mysql4</resourceModel>
99
- </all>
100
- <all_mysql4>
101
- <class>Biztech_All_Model_Mysql4</class>
102
- <entities>
103
- <all>
104
- <table>all</table>
105
- </all>
106
- </entities>
107
- </all_mysql4>
108
- </models>
109
- <resources>
110
- <all_setup>
111
- <setup>
112
- <module>Biztech_All</module>
113
- </setup>
114
- <connection>
115
- <use>core_setup</use>
116
- </connection>
117
- </all_setup>
118
- <all_write>
119
- <connection>
120
- <use>core_write</use>
121
- </connection>
122
- </all_write>
123
- <all_read>
124
- <connection>
125
- <use>core_read</use>
126
- </connection>
127
- </all_read>
128
- </resources>
129
- <blocks>
130
- <all>
131
- <class>Biztech_All_Block</class>
132
- </all>
133
- </blocks>
134
- <helpers>
135
- <all>
136
- <class>Biztech_All_Helper</class>
137
- </all>
138
- </helpers>
139
- </global>
140
- <default>
141
- <all>
142
- <all_general>
143
- <check_frequency>86400</check_frequency>
144
- </all_general>
145
- </all>
146
- </default>
147
- </config>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
app/code/local/Biztech/All/etc/system.xml DELETED
@@ -1,46 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8" ?>
2
- <config>
3
- <tabs>
4
- <biztech translate="label" module="all">
5
- <label>Biztech Extensions</label>
6
- <sort_order>400</sort_order>
7
- </biztech>
8
- </tabs>
9
- <sections>
10
- <all translate="label" module="all">
11
- <label>Info</label>
12
- <tab>biztech</tab>
13
- <frontend_type>text</frontend_type>
14
- <sort_order>10</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
-
20
- <all_general translate="label">
21
- <label>General</label>
22
- <frontend_type>text</frontend_type>
23
- <sort_order>10</sort_order>
24
- <show_in_default>1</show_in_default>
25
- <show_in_website>1</show_in_website>
26
- <show_in_store>1</show_in_store>
27
- <fields>
28
-
29
- <interests translate="label">
30
- <label>I'd like to be informed by Biztech about:</label>
31
- <comment></comment>
32
- <frontend_type>multiselect</frontend_type>
33
- <sort_order>100</sort_order>
34
- <show_in_default>1</show_in_default>
35
- <show_in_website>1</show_in_website>
36
- <show_in_store>1</show_in_store>
37
- <can_be_empty>1</can_be_empty>
38
- <source_model>all/source_updates_type</source_model>
39
- </interests>
40
-
41
- </fields>
42
- </all_general>
43
- </groups>
44
- </all>
45
- </sections>
46
- </config>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
app/code/local/Biztech/Trackorder/Model/Observer.php CHANGED
@@ -64,13 +64,13 @@ class Biztech_Trackorder_Model_Observer {
64
  }
65
 
66
  $order = $observer->getEvent()->getOrder();
67
- self::$_handleTrackLinkCounter++;
68
- if ($order->getTrackLink() == NULL) {
69
  $trackLink = substr(md5(microtime()), rand(0, 26), 6);
70
-
71
- $order->setTrackLink($trackLink);
72
- }
73
- }
74
  }
75
 
76
  public function addlinkFront(Varien_Event_Observer $observer) {
@@ -80,13 +80,13 @@ class Biztech_Trackorder_Model_Observer {
80
  return $this;
81
  }
82
 
83
- $order = $observer->getEvent()->getOrder();
84
- self::$_handleTrackLinkCounter++;
85
- if ($order->getTrackLink() == NULL) {
86
  $trackLink = substr(md5(microtime()), rand(0, 26), 6);
87
  $order->setTrackLink($trackLink);
88
  }
89
- }
90
  }
91
 
92
 
@@ -94,12 +94,12 @@ class Biztech_Trackorder_Model_Observer {
94
 
95
  if (Mage::app()->getRequest()->getControllerName() == 'multishipping') {
96
  $order = $observer->getEvent()->getOrder();
97
-
98
- if ($order->getTrackLink() == NULL) {
99
  $trackLink = substr(md5(microtime()), rand(0, 26), 6);
100
  $order->setTrackLink($trackLink);
101
  }
102
- }
103
  }
104
 
105
  }
64
  }
65
 
66
  $order = $observer->getEvent()->getOrder();
67
+ self::$_handleTrackLinkCounter++;
68
+ if ($order->getTrackLink() == NULL) {
69
  $trackLink = substr(md5(microtime()), rand(0, 26), 6);
70
+
71
+ $order->setTrackLink($trackLink);
72
+ }
73
+ }
74
  }
75
 
76
  public function addlinkFront(Varien_Event_Observer $observer) {
80
  return $this;
81
  }
82
 
83
+ $order = $observer->getEvent()->getOrder();
84
+ self::$_handleTrackLinkCounter++;
85
+ if ($order->getTrackLink() == NULL) {
86
  $trackLink = substr(md5(microtime()), rand(0, 26), 6);
87
  $order->setTrackLink($trackLink);
88
  }
89
+ }
90
  }
91
 
92
 
94
 
95
  if (Mage::app()->getRequest()->getControllerName() == 'multishipping') {
96
  $order = $observer->getEvent()->getOrder();
97
+
98
+ if ($order->getTrackLink() == NULL) {
99
  $trackLink = substr(md5(microtime()), rand(0, 26), 6);
100
  $order->setTrackLink($trackLink);
101
  }
102
+ }
103
  }
104
 
105
  }
app/code/local/Biztech/Trackorder/etc/config.xml CHANGED
@@ -1,169 +1,168 @@
1
- <?xml version="1.0"?>
2
- <!--
3
- /**
4
- * @category Biztech
5
- * @package Biztech_Trackorder
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
- <Biztech_Trackorder>
13
- <version>0.1.4</version>
14
- </Biztech_Trackorder>
15
- </modules>
16
- <frontend>
17
- <routers>
18
- <trackorder>
19
- <use>standard</use>
20
- <args>
21
- <module>Biztech_Trackorder</module>
22
- <frontName>trackorder</frontName>
23
- </args>
24
- </trackorder>
25
- </routers>
26
- <layout>
27
- <updates>
28
- <trackorder>
29
- <file>trackorder.xml</file>
30
- </trackorder>
31
- </updates>
32
- </layout>
33
- <events>
34
- <sales_order_save_after>
35
- <observers>
36
- <trackorder_link>
37
- <type>singleton</type>
38
- <class>trackorder/observer</class>
39
- <method>addlinkFront</method>
40
- </trackorder_link>
41
- </observers>
42
- </sales_order_save_after>
43
- <checkout_type_multishipping_create_orders_single>
44
- <observers>
45
- <trackorder_multishiplink>
46
- <type>singleton</type>
47
- <class>trackorder/observer</class>
48
- <method>addmultishipLink</method>
49
- </trackorder_multishiplink>
50
- </observers>
51
- </checkout_type_multishipping_create_orders_single>
52
-
53
- </events>
54
- </frontend>
55
- <admin>
56
- <routers>
57
- <trackorder>
58
- <use>admin</use>
59
- <args>
60
- <module>Biztech_Trackorder</module>
61
- <frontName>trackorder</frontName>
62
- </args>
63
- </trackorder>
64
- </routers>
65
- </admin>
66
- <adminhtml>
67
- <acl>
68
- <resources>
69
- <all>
70
- <title>Allow Everything</title>
71
- </all>
72
- <admin>
73
- <children>
74
- <Biztech_Trackorder>
75
- <title>Trackorder Module</title>
76
- <sort_order>10</sort_order>
77
- </Biztech_Trackorder>
78
- <system>
79
- <children>
80
- <config>
81
- <children>
82
- <trackorder>
83
- <title>Track Order</title>
84
- </trackorder>
85
- </children>
86
- </config>
87
- </children>
88
- </system>
89
- </children>
90
- </admin>
91
- </resources>
92
- </acl>
93
- <layout>
94
- <updates>
95
- <trackorder>
96
- <file>trackorder.xml</file>
97
- </trackorder>
98
- </updates>
99
- </layout>
100
- <events>
101
- <admin_system_config_changed_section_trackorder>
102
- <observers>
103
- <trackorder_status>
104
- <type>model</type>
105
- <class>trackorder/observer</class>
106
- <method>checkstatus</method>
107
- </trackorder_status>
108
- </observers>
109
- </admin_system_config_changed_section_trackorder>
110
- <sales_order_save_after>
111
- <observers>
112
- <trackorder_link>
113
- <type>singleton</type>
114
- <class>trackorder/observer</class>
115
- <method>addlinkAdmin</method>
116
- </trackorder_link>
117
- </observers>
118
- </sales_order_save_after>
119
- </events>
120
- </adminhtml>
121
- <global>
122
- <models>
123
- <trackorder>
124
- <class>Biztech_Trackorder_Model</class>
125
- <resourceModel>trackorder_mysql4</resourceModel>
126
- </trackorder>
127
- <trackorder_mysql4>
128
- <class>Biztech_Trackorder_Model_Mysql4</class>
129
- <entities>
130
- <trackorder>
131
- <table>trackorder</table>
132
- </trackorder>
133
- </entities>
134
- </trackorder_mysql4>
135
- </models>
136
- <resources>
137
- <trackorder_setup>
138
- <setup>
139
- <module>Biztech_Trackorder</module>
140
- </setup>
141
- <connection>
142
- <use>core_setup</use>
143
- </connection>
144
- </trackorder_setup>
145
- <trackorder_write>
146
- <connection>
147
- <use>core_write</use>
148
- </connection>
149
- </trackorder_write>
150
- <trackorder_read>
151
- <connection>
152
- <use>core_read</use>
153
- </connection>
154
- </trackorder_read>
155
- </resources>
156
-
157
-
158
- <blocks>
159
- <trackorder>
160
- <class>Biztech_Trackorder_Block</class>
161
- </trackorder>
162
- </blocks>
163
- <helpers>
164
- <trackorder>
165
- <class>Biztech_Trackorder_Helper</class>
166
- </trackorder>
167
- </helpers>
168
- </global>
169
  </config>
1
+ <?xml version="1.0"?>
2
+ <!--
3
+ /**
4
+ * @category Biztech
5
+ * @package Biztech_Trackorder
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
+ <Biztech_Trackorder>
13
+ <version>0.1.5</version>
14
+ </Biztech_Trackorder>
15
+ </modules>
16
+ <frontend>
17
+ <routers>
18
+ <trackorder>
19
+ <use>standard</use>
20
+ <args>
21
+ <module>Biztech_Trackorder</module>
22
+ <frontName>trackorder</frontName>
23
+ </args>
24
+ </trackorder>
25
+ </routers>
26
+ <layout>
27
+ <updates>
28
+ <trackorder>
29
+ <file>trackorder.xml</file>
30
+ </trackorder>
31
+ </updates>
32
+ </layout>
33
+ </frontend>
34
+ <admin>
35
+ <routers>
36
+ <adminhtml>
37
+ <args>
38
+ <modules>
39
+ <trackorder after="Mage_Adminhtml">Biztech_Trackorder_Adminhtml</trackorder>
40
+ </modules>
41
+ </args>
42
+ </adminhtml>
43
+ </routers>
44
+ </admin>
45
+ <adminhtml>
46
+ <acl>
47
+ <resources>
48
+ <all>
49
+ <title>Allow Everything</title>
50
+ </all>
51
+ <admin>
52
+ <children>
53
+ <Biztech_Trackorder>
54
+ <title>Trackorder Module</title>
55
+ <sort_order>10</sort_order>
56
+ </Biztech_Trackorder>
57
+ <system>
58
+ <children>
59
+ <config>
60
+ <children>
61
+ <trackorder>
62
+ <title>Track Order</title>
63
+ </trackorder>
64
+ </children>
65
+ </config>
66
+ </children>
67
+ </system>
68
+ </children>
69
+ </admin>
70
+ </resources>
71
+ </acl>
72
+ <layout>
73
+ <updates>
74
+ <trackorder>
75
+ <file>trackorder.xml</file>
76
+ </trackorder>
77
+ </updates>
78
+ </layout>
79
+ <events>
80
+ <admin_system_config_changed_section_trackorder>
81
+ <observers>
82
+ <trackorder_status>
83
+ <type>model</type>
84
+ <class>trackorder/observer</class>
85
+ <method>checkstatus</method>
86
+ </trackorder_status>
87
+ </observers>
88
+ </admin_system_config_changed_section_trackorder>
89
+ <sales_order_save_after>
90
+ <observers>
91
+ <trackorder_link>
92
+ <type>singleton</type>
93
+ <class>trackorder/observer</class>
94
+ <method>addlinkAdmin</method>
95
+ </trackorder_link>
96
+ </observers>
97
+ </sales_order_save_after>
98
+ </events>
99
+ </adminhtml>
100
+ <global>
101
+ <models>
102
+ <trackorder>
103
+ <class>Biztech_Trackorder_Model</class>
104
+ <resourceModel>trackorder_mysql4</resourceModel>
105
+ </trackorder>
106
+ <trackorder_mysql4>
107
+ <class>Biztech_Trackorder_Model_Mysql4</class>
108
+ <entities>
109
+ <trackorder>
110
+ <table>trackorder</table>
111
+ </trackorder>
112
+ </entities>
113
+ </trackorder_mysql4>
114
+ </models>
115
+ <events>
116
+ <sales_order_save_after>
117
+ <observers>
118
+ <trackorder_link>
119
+ <type>singleton</type>
120
+ <class>trackorder/observer</class>
121
+ <method>addlinkFront</method>
122
+ </trackorder_link>
123
+ </observers>
124
+ </sales_order_save_after>
125
+ <checkout_type_multishipping_create_orders_single>
126
+ <observers>
127
+ <trackorder_multishiplink>
128
+ <type>singleton</type>
129
+ <class>trackorder/observer</class>
130
+ <method>addmultishipLink</method>
131
+ </trackorder_multishiplink>
132
+ </observers>
133
+ </checkout_type_multishipping_create_orders_single>
134
+ </events>
135
+ <resources>
136
+ <trackorder_setup>
137
+ <setup>
138
+ <module>Biztech_Trackorder</module>
139
+ </setup>
140
+ <connection>
141
+ <use>core_setup</use>
142
+ </connection>
143
+ </trackorder_setup>
144
+ <trackorder_write>
145
+ <connection>
146
+ <use>core_write</use>
147
+ </connection>
148
+ </trackorder_write>
149
+ <trackorder_read>
150
+ <connection>
151
+ <use>core_read</use>
152
+ </connection>
153
+ </trackorder_read>
154
+ </resources>
155
+
156
+
157
+ <blocks>
158
+ <trackorder>
159
+ <class>Biztech_Trackorder_Block</class>
160
+ </trackorder>
161
+ </blocks>
162
+ <helpers>
163
+ <trackorder>
164
+ <class>Biztech_Trackorder_Helper</class>
165
+ </trackorder>
166
+ </helpers>
167
+ </global>
 
168
  </config>
app/etc/modules/Biztech_All.xml DELETED
@@ -1,52 +0,0 @@
1
- <?xml version="1.0"?>
2
- <!--
3
- /**
4
- * @category Biztech
5
- * @package Biztech_All
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
- <Biztech_All>
13
- <active>true</active>
14
- <codePool>local</codePool>
15
- </Biztech_All>
16
- </modules>
17
- <adminhtml>
18
- <acl>
19
- <resources>
20
- <all>
21
- <title>Allow Everything</title>
22
- </all>
23
- <admin>
24
- <children>
25
- <Biztech_All>
26
- <title>All</title>
27
- <sort_order>10</sort_order>
28
- </Biztech_All>
29
- <system>
30
- <children>
31
- <config>
32
- <children>
33
- <all>
34
- <title>All</title>
35
- </all>
36
- </children>
37
- </config>
38
- </children>
39
- </system>
40
- </children>
41
- </admin>
42
- </resources>
43
- </acl>
44
- <layout>
45
- <updates>
46
- <all>
47
- <file>all.xml</file>
48
- </all>
49
- </updates>
50
- </layout>
51
- </adminhtml>
52
- </config>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
package.xml CHANGED
@@ -1,63 +1,18 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>trackorder_module</name>
4
- <version>0.1.4</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>Add more value and usability to your e-store! You can do it now by integrating track order extension and enabling your customers&#x2019; track their consignments easily and accurately that too without signing in!</summary>
10
- <description>Add more value and usability to your e-store! You can do it now by integrating track order extension and enabling your customers&#x2019; track their consignments easily and accurately that too without signing in!&#xD;
11
- Once the buyer fills out the order number and the relevant email address, the system will display all the details of the said order with latest status, including the shipment tracking data also. It will also have the link to the shipment website, through which the order has been sent, to enable the customers track the status of the order directly going to the shipment site.&#xD;
12
- Make your customers least worried about the shipment of products as a real-time access is available to track their order now! They can sit back and relax, as tracking shipment is now possible with the extension. &#xD;
13
- Core Features for Customers&#xD;
14
- &#x27A2; Track Order Without Login&#xD;
15
- No need to log in to account for tracking order status&#xD;
16
- &#xD;
17
- &#x27A2; View Order Status&#xD;
18
- Complete order status can be viewed now &#xD;
19
- &#xD;
20
- &#x27A2; Link to Shipment Tracking Order&#xD;
21
- Link to order shipment tracking with the website is also visible&#xD;
22
- &#xD;
23
- &#x27A2; Link Available in Main Menu&#xD;
24
- Tracking order link will be available in main-menu or top link for the customers for easy accessibility&#xD;
25
- &#xD;
26
- &#x27A2; Widget for Tracking Order&#xD;
27
- Tracking order widget can be visible at right side or left side of webpage, as defined by the admin&#xD;
28
- &#xD;
29
- &#x27A2; Real Time Tracking&#xD;
30
- Customers can have real-time access to track orders and shipments of their products&#xD;
31
- &#xD;
32
- &#xD;
33
- Core Features for Admin&#xD;
34
- &#xD;
35
- &#xD;
36
- &#x27A2; Admin Places Link to Track Order&#xD;
37
- Admin can place the separate link to &#x2018;track order&#x2019; in the top link or the top menu&#xD;
38
- &#xD;
39
- &#x27A2; Admin Decides the Placement of Widget &#xD;
40
- Admin can place the track order widget to either left or right side of the webpage&#xD;
41
- &#xD;
42
- &#x27A2; Link to Track Order in Email &#xD;
43
- A track order link can be sent in the order confirmation and shipment notification&#xD;
44
- &#xD;
45
- &#x27A2; Easily Install Extension&#xD;
46
- Admin can easily install the extension and it is simple to be configured&#xD;
47
- &#xD;
48
- &#xD;
49
- Your Gain&#xD;
50
- &#xD;
51
- &#x25CF; Happy Customer &#xD;
52
- &#x25CF; More Feature-equipped e-store&#xD;
53
- &#x25CF; Increased Customer Satisfaction&#xD;
54
- &#x25CF; More Loyal Customers&#xD;
55
- </description>
56
- <notes>-Bug Fixing</notes>
57
  <authors><author><name>Biztech</name><user>biztechcon</user><email>sales@biztechconsultancy.com</email></author></authors>
58
- <date>2015-07-31</date>
59
- <time>09:11:37</time>
60
- <contents><target name="mageetc"><dir name="modules"><file name="Biztech_All.xml" hash="f4c3b9c029e56da8f09d7d71336c00f7"/><file name="Biztech_Trackorder.xml" hash="b81eefbec619714c203ea48b08569cf9"/></dir></target><target name="magelocal"><dir name="Biztech"><dir name="All"><dir name="Helper"><file name="Data.php" hash="e856726fd089e7f73ca7de450b696419"/></dir><dir name="Model"><file name="All.php" hash="a9aeeb9c6d7be9cf20414f405efc878d"/><dir name="Mysql4"><dir name="All"><file name="Collection.php" hash="a1909236183d126f38e628b85bb57e81"/></dir><file name="All.php" hash="f02542393eb26eadfb9b92d901d2ac12"/></dir><dir name="Source"><dir name="Updates"><file name="Type.php" hash="fa695bf4764c2d93c7436ed54bde89ba"/></dir></dir><file name="Status.php" hash="30a6f0da7d9d45e1082da532d5f8dabc"/><file name="Update.php" hash="8be940508b4ee734bf244ccdca9026ea"/></dir><dir name="etc"><file name="config.xml" hash="27e403cedb861da03753d28527d9c664"/><file name="system.xml" hash="17262087dc933d934e09ac04cafb4c51"/></dir></dir><dir name="Trackorder"><dir name="Block"><file name="Trackorder.php" hash="e50a5a3be035ac2c55cf50e76af03601"/><file name="Trackwidget.php" hash="2c0acfa5b09c216ef4907a88afba4050"/><file name="View.php" hash="0c65f7bd839db3f2588f05466c61f279"/></dir><dir name="Helper"><file name="Data.php" hash="ca4d65b28c67e74f8bdf05bb58a47a73"/></dir><dir name="Model"><file name="Observer.php" hash="8083e595380980470140c9a5ac19bba4"/><dir name="System"><dir name="Config"><dir name="Frontend"><file name="Widgetsettings.php" hash="30f5a6e8fc3a8856e289890fa11247c1"/></dir></dir></dir></dir><dir name="controllers"><file name="IndexController.php" hash="81f8391c0c6aeab5789ae002b9803e4b"/></dir><dir name="etc"><file name="config.xml" hash="87c59652b791bd2f3f0a04e55d78d84d"/><file name="system.xml" hash="4d6c933b47575ed0ff7ffed6c6bd7608"/><file name="widget.xml" hash="ff61595a908d0ce4c846f5b330ce5dd7"/></dir><dir name="sql"><dir name="trackorder_setup"><file name="mysql4-install-0.1.0.php" hash="47c62d342c96c4628c2da5c2e3dafacf"/><file name="mysql4-upgrade-0.1.0-0.1.1.php" hash="4f08e9d298368363dcf13fd0a9cc9eb8"/><file name="mysql4-upgrade-0.1.3-0.1.4.php" hash="3b08d40b8e1ae6a359334bd162d087ba"/></dir></dir></dir></dir></target><target name="magedesign"><dir name="frontend"><dir name="default"><dir name="default"><dir name="layout"><file name="trackorder.xml" hash="7d81b1e199c97dff44d9502917d49514"/></dir><dir name="template"><dir name="trackorder"><file name="info.phtml" hash="592dd505f0bb03cb19017d55120b51a2"/><dir name="order"><file name="items.phtml" hash="1953cc2fb3cad9c24af8f2238c1454fb"/></dir><dir name="shipment"><file name="items.phtml" hash="bf1301921046e9416adc8968c6a0609e"/></dir><file name="trackdetail.phtml" hash="6f515a0db9ad081b71b9297a743b0ff8"/><file name="trackorder.phtml" hash="2939541a8537a23c78cbe5f1ed49f824"/><file name="trackorderlink.phtml" hash="55338259c837d10814a56ed3d6cc1d02"/><file name="trackwidget.phtml" hash="78d940b9765d109236c24ed6d95fdb22"/><file name="view.phtml" hash="71f72f80ecf948a65cba97cbd7ce7e26"/></dir></dir></dir></dir></dir></target><target name="mageskin"><dir name="frontend"><dir name="default"><dir name="default"><dir name="trackorder"><dir name="css"><file name="trackorder.css" hash="9bfecdaa1cf87a42f67f642dc865bea6"/></dir><dir name="images"><file name="ajax-loader-tr.gif" hash="1ae32bc8232ff2527c627e5b38eb319a"/><file name="ajax-loader.gif" hash="57ca1a2085d82f0574e3ef740b9a5ead"/><file name="i-trackorder.png" hash="65f5d4dbeafa21878e487859e29b0453"/><file name="main-bg.png" hash="615e539beac7fc4ad7b6aa7e519ca2ee"/></dir></dir></dir></dir></dir></target></contents>
61
  <compatible/>
62
  <dependencies><required><php><min>5.1.0</min><max>6.0.0</max></php></required></dependencies>
63
  </package>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>trackorder_module</name>
4
+ <version>0.1.5</version>
5
+ <stability>devel</stability>
6
  <license uri="http://opensource.org/licenses/osl-3.0.php">OSL v3.0</license>
7
  <channel>community</channel>
8
  <extends/>
9
+ <summary>trackorder</summary>
10
+ <description>trackorder</description>
11
+ <notes>supee patch 6788</notes>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
12
  <authors><author><name>Biztech</name><user>biztechcon</user><email>sales@biztechconsultancy.com</email></author></authors>
13
+ <date>2016-03-15</date>
14
+ <time>06:34:09</time>
15
+ <contents><target name="magelocal"><dir name="Biztech"><dir name="Trackorder"><dir name="Block"><file name="Trackorder.php" hash="e50a5a3be035ac2c55cf50e76af03601"/><file name="Trackwidget.php" hash="2c0acfa5b09c216ef4907a88afba4050"/><file name="View.php" hash="0c65f7bd839db3f2588f05466c61f279"/></dir><dir name="Helper"><file name="Data.php" hash="ca4d65b28c67e74f8bdf05bb58a47a73"/></dir><dir name="Model"><file name="Observer.php" hash="75b9f3f4d6480c27e1872c180b979e3a"/><dir name="System"><dir name="Config"><dir name="Frontend"><file name="Widgetsettings.php" hash="30f5a6e8fc3a8856e289890fa11247c1"/></dir></dir></dir></dir><dir name="controllers"><file name="IndexController.php" hash="81f8391c0c6aeab5789ae002b9803e4b"/></dir><dir name="etc"><file name="config.xml" hash="44446a11535997933f8c1afbc5a73804"/><file name="system.xml" hash="4d6c933b47575ed0ff7ffed6c6bd7608"/><file name="widget.xml" hash="ff61595a908d0ce4c846f5b330ce5dd7"/></dir><dir name="sql"><dir name="trackorder_setup"><file name="mysql4-install-0.1.0.php" hash="47c62d342c96c4628c2da5c2e3dafacf"/><file name="mysql4-upgrade-0.1.0-0.1.1.php" hash="4f08e9d298368363dcf13fd0a9cc9eb8"/><file name="mysql4-upgrade-0.1.3-0.1.4.php" hash="3b08d40b8e1ae6a359334bd162d087ba"/></dir></dir></dir></dir></target><target name="magedesign"><dir name="frontend"><dir name="default"><dir name="default"><dir name="layout"><file name="trackorder.xml" hash="7d81b1e199c97dff44d9502917d49514"/></dir><dir name="template"><dir name="trackorder"><file name="info.phtml" hash="592dd505f0bb03cb19017d55120b51a2"/><dir name="order"><file name="items.phtml" hash="1953cc2fb3cad9c24af8f2238c1454fb"/></dir><dir name="shipment"><file name="items.phtml" hash="bf1301921046e9416adc8968c6a0609e"/></dir><file name="trackdetail.phtml" hash="6f515a0db9ad081b71b9297a743b0ff8"/><file name="trackorder.phtml" hash="2939541a8537a23c78cbe5f1ed49f824"/><file name="trackorderlink.phtml" hash="55338259c837d10814a56ed3d6cc1d02"/><file name="trackwidget.phtml" hash="78d940b9765d109236c24ed6d95fdb22"/><file name="view.phtml" hash="71f72f80ecf948a65cba97cbd7ce7e26"/></dir></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Biztech_Trackorder.xml" hash="b81eefbec619714c203ea48b08569cf9"/></dir></target><target name="mageskin"><dir name="frontend"><dir name="default"><dir name="default"><dir name="trackorder"><dir name="css"><file name="trackorder.css" hash="9bfecdaa1cf87a42f67f642dc865bea6"/></dir><dir name="images"><file name="ajax-loader-tr.gif" hash="1ae32bc8232ff2527c627e5b38eb319a"/><file name="ajax-loader.gif" hash="57ca1a2085d82f0574e3ef740b9a5ead"/><file name="i-trackorder.png" hash="65f5d4dbeafa21878e487859e29b0453"/><file name="main-bg.png" hash="615e539beac7fc4ad7b6aa7e519ca2ee"/></dir></dir></dir></dir></dir></target></contents>
16
  <compatible/>
17
  <dependencies><required><php><min>5.1.0</min><max>6.0.0</max></php></required></dependencies>
18
  </package>