Netsolutions_Offlineordertrack - Version 1.1.6

Version Notes

Latest version

Download this release

Release Info

Developer Netsol
Extension Netsolutions_Offlineordertrack
Version 1.1.6
Comparing to
See all releases


Code changes from version 1.1.5 to 1.1.6

app/code/community/Netsolutions/Offlineordertrack/etc/config.xml CHANGED
@@ -2,7 +2,7 @@
2
  <config>
3
  <modules>
4
  <Netsolutions_Offlineordertrack>
5
- <version>1.1.5</version>
6
  </Netsolutions_Offlineordertrack>
7
  </modules>
8
  <global>
2
  <config>
3
  <modules>
4
  <Netsolutions_Offlineordertrack>
5
+ <version>1.1.6</version>
6
  </Netsolutions_Offlineordertrack>
7
  </modules>
8
  <global>
app/code/community/Netsolutions/Offlineordertrack/sql/ot_setup/{mysql4-install-1.1.5.php → mysql4-install-1.1.6.php} RENAMED
File without changes
app/code/community/Netsolutions/Offlineordertrack/sql/ot_setup/mysql4-upgrade-1.1.5-1.1.6.php ADDED
@@ -0,0 +1,3 @@
 
 
 
1
+ <?php
2
+ /*
3
+ * No difference in database */
app/design/frontend/base/default/template/netsolutions/offlineordertrack/email/mail.phtml DELETED
@@ -1,13 +0,0 @@
1
- <?php
2
- $email = $this->getEmail();
3
- $ordercollection = Mage::getResourceModel('sales/order_collection')
4
- ->addFieldToSelect('increment_id','order_no')
5
- ->addFieldToFilter('customer_email',$email);
6
- ?>
7
- <?php foreach($ordercollection as $order): ?>
8
- <li style="list-style:none inside; padding:0 0 0 10px;">
9
- <a href="<?php echo Mage::getBaseUrl();?>offlineordertrack/tracking/index/" target="_blank">
10
- <?php echo $order['order_no']; ?>
11
- </a>
12
- </li>
13
- <?php endforeach; ?>
 
 
 
 
 
 
 
 
 
 
 
 
 
app/design/frontend/base/default/template/netsolutions/offlineordertrack/track.phtml DELETED
@@ -1,126 +0,0 @@
1
- <?php
2
- /**
3
- * package : Netsol Offline Order Track
4
- *
5
- * **/
6
- $helper = $this->helper('offlineordertrack');
7
- ?>
8
- <?php if($this->error_status){?>
9
- <div id="error_status"><?php echo $this->error_status; ?></div>
10
- <a href="<?php echo $this->ordertrackUrl(); ?>">Back</a>
11
- <?php }else{?>
12
- <div id="order-result" class="orderResult">
13
- <div class="rsNo"><span class="noText">Order #</span><span id="no-value" class="noNumber"><?php echo $this->order_number; ?></span></div>
14
- <div class="rsStatus1">
15
- <ul>
16
- <li id="status1-pending" class="<?php echo ($this->status == 'pending') ? 'active':''?>">Pending</li>
17
- <li id="status1-processing" class="<?php echo ($this->status == 'processing') ? 'active':''?>">Processing</li>
18
- <li id="status1-completed" class="<?php echo ($this->status == 'complete')? 'active' :''?>">Complete</li>
19
- <li id="status1-cancel" class="<?php echo ($this->status == 'canceled')? 'active' :''?>">Canceled</li>
20
- <li id="status1-closed" class="<?php echo ($this->status == 'closed')? 'active' :''?>">Closed</li>
21
- </ul>
22
- </div>
23
- <div class="rsStatus2"><span class="status2Text">Order status: </span><span id="status2-value" class="status2Value"><?php echo ucwords($this->status); ?></span></div>
24
- <div id="rs-carrier" class="rsCarrier" style="display: block;"><span class="carrierText">Carrier: </span><span id="carrier-value" class="carrierValue"><?php echo $this->carriers; ?></span></div>
25
- <div class="rsBilled"><span class="billedText">Billed on: </span><span id="billed-value" class="billedValue"><?php echo $this->billed_on; ?></span></div>
26
- <div id="rs-shipped" class="rsShipped" style="display: block;"><span class="shippedText">Shipped on: </span><span id="shipped-value" class="shippedValue"><?php echo $this->shipped_dates; ?></span></div>
27
-
28
- <div class="rsOrder">
29
- <div class="orderDetail">
30
- <div class="detailTitle">Order Detail</div>
31
- <div class="detailContent">
32
- <table class="data-table">
33
- <colgroup>
34
- <col width="1">
35
- <col width="1">
36
- <col width="1">
37
- <col width="1">
38
- <col width="1">
39
- <col width="1">
40
- </colgroup>
41
- <thead id="orderdetail-header"><?php echo $this->orderdetail_header; ?></thead>
42
- <tbody id="orderdetail-html"><?php echo $this->orderdetail_html; ?></tbody>
43
- </table>
44
- <div class="detailSummary">
45
- <table>
46
- <tbody><tr>
47
- <td class="s-text">Subtotal</td>
48
- <td id="s-subtotal"><?php echo $this->subtotal; ?></td>
49
- </tr>
50
- <tr>
51
- <td class="s-text">Shipping</td>
52
- <td id="s-shipping"><?php echo $this->shipping; ?></td>
53
- </tr>
54
- <tr>
55
- <td class="s-text">Tax</td>
56
- <td id="s-tax"><?php echo $this->tax;?></td>
57
- </tr>
58
- <tr>
59
- <td class="s-text">Discount</td>
60
- <td id="s-tax-discount"><?php echo $this->discount;?></td>
61
- </tr>
62
- <tr>
63
- <td class="s-text"><strong>Grand Total</strong></td>
64
- <td class="sTotal" id="s-total"><?php echo $this->grandtotal; ?></td>
65
- </tr>
66
- <tr>
67
- <td class="sPayment" id="s-payment" colspan="2"><?php echo $this->payment; ?></td>
68
- </tr>
69
- </tbody></table>
70
- </div>
71
- <div class="order-info-address">
72
- <div class="order-info-box">
73
- <!--<div>
74
- <h2>Gift Message</h2>
75
- <div id="gift-html"><span></span></div>
76
- </div>-->
77
- </div>
78
- <div class="order-info-box">
79
- <div class="col-1">
80
- <div class="box">
81
- <div class="box-title">
82
- <h2>Billing Information</h2>
83
- </div>
84
- <div class="box-content">
85
- <address id="billing-info"><?php echo $this->billing_info; ?></address>
86
- </div>
87
- </div>
88
- </div>
89
- </div>
90
- <div class="order-info-box">
91
- <div class="col-1">
92
- <div class="box">
93
- <div class="box-title">
94
- <h2>Shipping Information</h2>
95
- </div>
96
- <div class="box-content">
97
- <address id="shipping-info"><?php echo $this->shipping_info; ?></address>
98
- </div>
99
- </div>
100
- </div>
101
- </div>
102
- </div>
103
- </div>
104
- </div>
105
- </div>
106
- </div>
107
-
108
- <script>jQuery.noConflict();</script>
109
- <script type="text/javascript">
110
- if ( typeof jQuery == 'undefined')
111
- {
112
- var script=document.createElement('script');
113
- script.onload = function() {
114
- console.log("Script loaded and ready");
115
- jQuery.noConflict();
116
- jQuery('#order-result').show('slow');
117
- }
118
- script.type='text/javascript';
119
- script.src='<?php echo $this->getSkinUrl('js/ordertrack/jquery-1.10.2.min.js');?>';
120
- document.getElementsByTagName('head')[0].appendChild(script)
121
- }else{
122
- jQuery('#order-result').show('slow');
123
- }
124
-
125
- </script>
126
- <?php } ?>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
app/design/frontend/base/default/template/netsolutions/offlineordertrack/view.phtml DELETED
@@ -1,400 +0,0 @@
1
- <?php
2
- /**
3
- * package : Netsol Offline Order Track
4
- *
5
- * **/
6
- $helper = $this->helper('offlineordertrack');
7
- $fieldmultiselect = Mage::getStoreConfig('netsolconfig/netsol_group/netsol_specific_field');
8
- $fieldmultiselect = explode(",",$fieldmultiselect);
9
- ?>
10
- <div id="messages_product_view"><?php echo $this->getMessagesBlock()->toHtml() ?></div>
11
- <?php if(Mage::Helper('offlineordertrack')->getIsEnabled()): ////if my module is enabled?>
12
- <div id="track-order">
13
- <div class="page-title">
14
- <h1><?php echo $this->__('Track Your Order'); ?></h1>
15
- </div>
16
- <div class="content-trackorder">
17
- <form id="track-order-form" name="trackorderform" method="GET" action="<?php echo $this->getFormUrl(); ?>">
18
- <div>
19
- <div class="field">
20
- <label class="required" for="order:number">Order Number</label>
21
- <div class="input-box">
22
- <input type="text" class="input-text required-entry" id="order:number" name="order_number" title="Order Number">
23
- </div>
24
- </div>
25
- <div class="field" style="display:<?php echo (in_array(1,$fieldmultiselect)) ? 'block' : 'none';?>">
26
- <label class="required" for="order:email">Email Address</label>
27
- <div class="input-box">
28
- <input type="text" style="display:<?php echo (in_array(1,$fieldmultiselect)) ? 'block' : 'none';?>" class="input-text validate-email required-entry " id="order:email" name="order_email" title="Email Address">
29
- </div>
30
- </div>
31
- <div class="field" style="display:<?php echo (in_array(2,$fieldmultiselect)) ? 'block' : 'none';?>">
32
- <label class="required" for="order:zipcode">Zipcode</label>
33
- <div class="input-box">
34
- <input type="text"style="display:<?php echo (in_array(2,$fieldmultiselect)) ? 'block' : 'none';?>" class="input-text validate-zip-international required-entry" id="order:zipcode" name="order_zipcode" title="Zipcode">
35
- </div>
36
- </div>
37
- <div class="field" style="display:<?php echo (in_array(3,$fieldmultiselect)) ? 'block' : 'none';?>">
38
- <label class="required" for="order:phonenumber">Phone Number</label>
39
- <div class="input-box">
40
- <input type="text" style="display:<?php echo (in_array(3,$fieldmultiselect)) ? 'block' : 'none';?>" class="input-text required-entry" id="order:phonenumber" name="order_phonenumber" title="Phone Number">
41
- </div>
42
- </div>
43
-
44
- </div>
45
- <button class="button track-order" id="track-order-button" title="Track Order" type="submit"><span><span>Track order</span></span></button>
46
- <div id="div-loading" class="divLoading" style="display: none;">
47
- <span class="loadingAjax">Loading</span>
48
- </div>
49
- </form>
50
-
51
- <form id="track-order-forgotorder" name="trackorderforgotform" method="POST" action="<?php echo $this->getForgotorderurl(); ?>" style="display:none;">
52
- <div class="field">
53
- <label class="required" for="order:email">Email Address</label>
54
- <div class="input-box">
55
- <input type="text" class="input-text validate-email required-entry" id="order_emailid" name="order_email" title="Email Address">
56
- </div>
57
- </div>
58
- <button class="button forgotOrderNumber" id="track-order-forgot-button" title="Forgot Order Number" type="submit"><span><span>Submit</span></span></button>
59
- </form>
60
- </div>
61
- <div id="error_status"></div>
62
- <div class="field">
63
- <label for="order:forgotordernumber">Forgot Your Order Number</label>
64
- <div class="input-box">
65
- <input type="checkbox" id="order_forgotordernumber" name="order_forgotordernumber" onchange="valueChanged()"/>
66
- </div>
67
- </div>
68
- </div>
69
-
70
- <div id="order-result" class="orderResult" style="display: none;">
71
- <div class="rsNo"><span class="noText">Order #</span><span id="no-value" class="noNumber"></span></div>
72
- <div class="rsStatus1">
73
- <ul>
74
- <li id="status1-pending">Pending</li>
75
- <li id="status1-processing">Processing</li>
76
- <li id="status1-completed">Complete</li>
77
- <li id="status1-cancel">Canceled</li>
78
- <li id="status1-closed">Closed</li>
79
- </ul>
80
- </div>
81
- <div class="rsStatus2"><span class="status2Text">Order status: </span><span id="status2-value" class="status2Value"></span></div>
82
- <div id="rs-carrier" class="rsCarrier" style="display: none;"><span class="carrierText">Carrier: </span><span id="carrier-value" class="carrierValue"></span></div>
83
- <div class="rsBilled"><span class="billedText">Billed on: </span><span id="billed-value" class="billedValue"></span></div>
84
- <div id="rs-shipped" class="rsShipped" style="display: none;"><span class="shippedText">Shipped on: </span><span id="shipped-value" class="shippedValue"></span></div>
85
- <div class="rsOrder">
86
- <div class="orderDetail">
87
- <div class="detailTitle">Order Detail</div>
88
- <div class="detailContent">
89
- <table class="data-table">
90
- <colgroup>
91
- <col width="1">
92
- <col width="1">
93
- <col width="1">
94
- <col width="1">
95
- <col width="1">
96
- <col width="1">
97
- </colgroup>
98
- <thead id="orderdetail-header"></thead>
99
- <tbody id="orderdetail-html"></tbody>
100
- </table>
101
- <div class="detailSummary">
102
- <table>
103
- <tbody><tr>
104
- <td class="s-text">Subtotal</td>
105
- <td id="s-subtotal"></td>
106
- </tr>
107
- <tr>
108
- <td class="s-text">Shipping</td>
109
- <td id="s-shipping"></td>
110
- </tr>
111
- <tr>
112
- <td class="s-text">Tax</td>
113
- <td id="s-tax"></td>
114
- </tr>
115
- <tr>
116
- <td class="s-text">Discount</td>
117
- <td id="s-tax-discount"></td>
118
- </tr>
119
- <tr>
120
- <td class="s-text"><strong>Grand Total</strong></td>
121
- <td class="sTotal" id="s-total"></td>
122
- </tr>
123
- <tr>
124
- <td class="sPayment" id="s-payment" colspan="2"></td>
125
- </tr>
126
- </tbody></table>
127
- </div>
128
- <div class="order-info-address">
129
- <!--<div class="order-info-box">
130
- <div>
131
- <h2>Gift Message</h2>
132
- <div id="gift-html"><span></span></div>
133
- </div>
134
- </div>-->
135
- <div class="order-info-box">
136
- <div class="col-1">
137
- <div class="box">
138
- <div class="box-title">
139
- <h2>Billing Information</h2>
140
- </div>
141
- <div class="box-content">
142
- <address id="billing-info"></address>
143
- </div>
144
- </div>
145
- </div>
146
- </div>
147
- <div class="order-info-box">
148
- <div class="col-1">
149
- <div class="box">
150
- <div class="box-title">
151
- <h2>Shipping Information</h2>
152
- </div>
153
- <div class="box-content">
154
- <address id="shipping-info"></address>
155
- </div>
156
- </div>
157
- </div>
158
- </div>
159
- </div>
160
- </div>
161
- </div>
162
- </div>
163
- </div>
164
- <?php $ajaxEnabled = Mage::getStoreConfig('netsolconfig/netsol_group/netsol_ajax_enable');?>
165
- <script type="text/javascript">
166
- var ajax = "<?php echo $ajaxEnabled; ?>";
167
- var baseurl = "<?php echo Mage::getBaseUrl() ?>";
168
- </script>
169
- <script type="text/javascript" src="<?php echo $this->getSkinUrl('js/ordertrack/ordertrack.js'); ?>"></script>
170
- <script type="text/javascript">
171
- //<![CDATA[
172
- var orderForm = new VarienForm('track-order-form', true);
173
- var orderforgotForm = new VarienForm('track-order-forgotorder', true);
174
- //]]>
175
-
176
- if ( typeof jQuery == 'undefined')
177
- {
178
- var script=document.createElement('script');
179
- script.onload = function() {
180
- console.log("Script loaded and ready");
181
- jQuery.noConflict();
182
-
183
- jQuery("#track-order-form").submit(function()
184
- {
185
- jQuery('#div-loading').show();
186
- jQuery('#order-result-false').hide('slow');
187
- //jQuery('#order-result').hide('slow');
188
- //jQuery('#rs-carrier').show();
189
- jQuery('#rs-shipped').show();
190
- //jQuery('#rs-traking').show();
191
- var ajax = '<?php echo $ajaxEnabled; ?>';
192
- var url = '<?php echo Mage::getBaseUrl(). "offlineordertrack/tracking/ajax/"; ?>';
193
- var data = jQuery('#track-order-form').serialize();
194
- data += '&isAjax=1';
195
- if(ajax == 0)
196
- {
197
- jQuery('#div-loading').hide();
198
- var orderstatus = '<?php echo $this->status; ?>';
199
- if (this.validator.validate()) {
200
- document.trackorderform.submit();
201
- if (orderstatus === 'canceled') {
202
- jQuery('#status2-value').text('Canceled');
203
- } else if (orderstatus === 'closed') {
204
- jQuery('#status2-value').text('Closed');
205
- } else if (orderstatus === 'complete') {
206
- jQuery('#status2-value').text('Complete');
207
- } else if (orderstatus === 'fraud') {
208
- jQuery('#status2-value').text('Suspected Fraud');
209
- } else if (orderstatus === 'holded') {
210
- jQuery('#status2-value').text('On Hold');
211
- } else if (orderstatus === 'payment_review') {
212
- jQuery('#status2-value').text('Payment Review');
213
- } else if (orderstatus === 'pending') {
214
- jQuery('#status2-value').text('Pending');
215
- } else if (orderstatus === 'pending_payment') {
216
- jQuery('#status2-value').text('Pending Payment');
217
- } else if (orderstatus === 'pending_paypal') {
218
- jQuery('#status2-value').text('Pending PayPal');
219
- } else {
220
- jQuery('#status2-value').text('Processing');
221
- }
222
- if (orderstatus === 'pending' || orderstatus === 'pending_payment' || orderstatus === 'pending_paypal' || orderstatus === 'holded') {
223
- removeActiveClass();
224
- jQuery('#status1-pending').addClass('active');
225
- } else if (orderstatus === 'processing' || orderstatus === 'payment_review' || orderstatus === 'fraud') {
226
- removeActiveClass();
227
- jQuery('#status1-processing').addClass('active');
228
- } else if (orderstatus === 'complete') {
229
- removeActiveClass();
230
- jQuery('#status1-completed').addClass('active');
231
- } else if (orderstatus === 'canceled') {
232
- removeActiveClass();
233
- jQuery('#status1-cancel').addClass('active');
234
- } else if (orderstatus === 'closed') {
235
- removeActiveClass();
236
- jQuery('#status1-closed').addClass('active');
237
- }
238
- }
239
- }else{
240
- jQuery.ajax({
241
- url: url,
242
- type: "POST",
243
- data: data,
244
- dataType: 'json',
245
- success: function(data)
246
- {
247
- jQuery('#div-loading').hide();
248
- if (data.order_number !== '') {
249
- if(data.error_status){
250
- jQuery('#error_status').html(data.error_status);
251
- jQuery('#error_status').show();
252
- jQuery('#order-result').hide();
253
- }else{
254
- jQuery('#order-result').show('slow');
255
- jQuery('#error_status').hide();
256
- }
257
- jQuery('#no-value').text(data.order_number);
258
- jQuery('#track-order-number').text(data.order_number);
259
- jQuery('#billed-value').text(data.billed_on);
260
- jQuery('#status2-value').text(data.status);
261
- jQuery('#s-subtotal').html(data.subtotal);
262
- jQuery('#s-shipping').html(data.shipping);
263
- jQuery('#s-tax').html(data.tax);
264
- jQuery('#s-tax-discount').html(data.discount);
265
- jQuery('#s-total').html(data.grandtotal);
266
- jQuery('#s-payment').text('(' + data.payment + ')');
267
- jQuery('#gift-html').html(data.gifthtml);
268
- jQuery('#billing-info').html(data.billing_info);
269
- jQuery('#shipping-info').html(data.shipping_info);
270
- jQuery('#orderdetail-header').html(data.orderdetail_header);
271
- jQuery('#orderdetail-html').html(data.orderdetail_html);
272
-
273
-
274
- if (data.status === 'canceled') {
275
- jQuery('#status2-value').text('Canceled');
276
- } else if (data.status === 'closed') {
277
- jQuery('#status2-value').text('Closed');
278
- } else if (data.status === 'complete') {
279
- jQuery('#status2-value').text('Complete');
280
- } else if (data.status === 'fraud') {
281
- jQuery('#status2-value').text('Suspected Fraud');
282
- } else if (data.status === 'holded') {
283
- jQuery('#status2-value').text('On Hold');
284
- } else if (data.status === 'payment_review') {
285
- jQuery('#status2-value').text('Payment Review');
286
- } else if (data.status === 'pending') {
287
- jQuery('#status2-value').text('Pending');
288
- } else if (data.status === 'pending_payment') {
289
- jQuery('#status2-value').text('Pending Payment');
290
- } else if (data.status === 'pending_paypal') {
291
- jQuery('#status2-value').text('Pending PayPal');
292
- } else {
293
- jQuery('#status2-value').text('Processing');
294
- }
295
- jQuery('#number-after').val(data.order_number);
296
- jQuery('#email-after').val(data.order_email);
297
-
298
- var carrier_string = '';
299
- if(data.carriers)
300
- {
301
- for (var i = 0; i < data.carriers.length; i++)
302
- {
303
- if (data.carriers.length - i === 1) {
304
- carrier_string += data.carriers[i];
305
- } else {
306
- carrier_string += data.carriers[i] + ' ';
307
- }
308
- }
309
- }
310
- if(data.shipped_dates){
311
- jQuery('#shipped-value').text(data.shipped_dates);
312
- }else{
313
- jQuery('#rs-shipped').hide();
314
- }
315
- jQuery('#carrier-value').text(carrier_string);
316
- if (data.shipped_dates === '') {
317
- jQuery('#rs-carrier').hide();
318
- jQuery('#rs-shipped').hide();
319
- jQuery('#rs-traking').hide();
320
- }
321
-
322
- if (data.status === 'pending' || data.status === 'pending_payment' || data.status === 'pending_paypal' || data.status === 'holded') {
323
- removeActiveClass();
324
- jQuery('#status1-pending').addClass('active');
325
- } else if (data.status === 'processing' || data.status === 'payment_review' || data.status === 'fraud') {
326
- removeActiveClass();
327
- jQuery('#status1-processing').addClass('active');
328
- } else if (data.status === 'complete') {
329
- removeActiveClass();
330
- jQuery('#status1-completed').addClass('active');
331
- } else if (data.status === 'canceled') {
332
- removeActiveClass();
333
- jQuery('#status1-cancel').addClass('active');
334
- } else if (data.status === 'closed') {
335
- removeActiveClass();
336
- jQuery('#status1-closed').addClass('active');
337
- }
338
- }else {
339
- jQuery('#order-result-false').show('slow');
340
- jQuery('#order-result-false').text('Order Number or Email Adress invaild!');
341
- }
342
- },
343
- error: function(error)
344
- {
345
- console.log(error.status);
346
- }
347
- });
348
- }
349
- return false;
350
- });
351
-
352
- /****
353
- jQuery ajax for retrieving all order number for specfic email
354
- address and sending to customer email***/
355
-
356
- jQuery("#track-order-forgotorder").submit(function(){
357
- var url = jQuery("#track-order-forgotorder").attr('action');
358
- var data = jQuery('#track-order-forgotorder').serialize();
359
- //data += '&isAjax=1';
360
-
361
- jQuery.ajax({
362
- url: url,
363
- type: "POST",
364
- data: data,
365
- dataType: 'json',
366
- success:function(data){
367
- console.log('succes');
368
- if(data.error_status){
369
- jQuery('#error_status').html(data.error_status);
370
- jQuery('#error_status').show();
371
- //jQuery('#order-result').hide();
372
- }else{
373
- //jQuery('#order-result').show('slow');
374
- jQuery('#error_status').hide();
375
- }
376
-
377
- },
378
- statusCode: {
379
- 404: function() { alert('Could not contact server.');
380
- },
381
- 500: function() { alert('A server-side error has occurred.. 1');
382
- }
383
- },
384
- error: function(error) {
385
- console.log(error);
386
- return false;
387
- },
388
- });
389
-
390
- return false;
391
- });
392
- };
393
- script.type='text/javascript';
394
- script.src='<?php echo $this->getSkinUrl('js/ordertrack/jquery-1.10.2.min.js');?>';
395
- document.getElementsByTagName('head')[0].appendChild(script);
396
- }
397
-
398
-
399
- </script>
400
- <?php endif; ?>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
app/locale/en_US/template/email/forgotordernumbermail.html ADDED
@@ -0,0 +1,46 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <!--@subject Forgot Order Numer Notification@-->
2
+ <!--@vars
3
+
4
+ @-->
5
+ <body style="background:#F6F6F6; font-family:Verdana, Arial, Helvetica, sans-serif; font-size:12px; margin:0; padding:0;">
6
+ <div style="background:#F6F6F6; font-family:Verdana, Arial, Helvetica, sans-serif; font-size:12px; margin:0; padding:0;">
7
+ <table cellspacing="0" cellpadding="0" border="0" height="100%" width="100%">
8
+ <tr>
9
+ <td align="center" valign="top" style="padding:20px 0 20px 0">
10
+ <!-- [ header starts here] -->
11
+ <table bgcolor="FFFFFF" cellspacing="0" cellpadding="10" border="0" width="650" style="border:1px solid #E0E0E0;">
12
+ <tr>
13
+ <td valign="top">
14
+ <a href="{{store url=""}}">
15
+ <img src="{{skin url='images/logo_email.gif' _area='frontend'}}" style="margin-bottom:10px;" border="0"/>
16
+ </a>
17
+ </td>
18
+ </tr>
19
+ <!-- [ middle starts here] -->
20
+ <tr>
21
+ <td valign="top">
22
+ <h1 style="font-size:22px; font-weight:normal; line-height:22px; margin:0 0 11px 0;">Dear {{var name}},</h1>
23
+ <p style="font-size:12px; line-height:16px; margin:0 0 16px 0;">Welcome to {{var store.getFrontendName()}}.
24
+ <p style="border:1px solid #E0E0E0; font-size:12px; line-height:16px; margin:0; padding:13px 18px; background:#f9f9f9;">
25
+
26
+ <strong>E-mail</strong>: {{var email}}<br/>
27
+ </p>
28
+ <p style="font-size:12px; line-height:16px; margin:0 0 8px 0;">ALL Order number placed at our site from your email address are place below:</p>
29
+ <ul style="font-size:12px; line-height:16px; margin:0 0 16px 0; padding:0;">
30
+ Use the following values when prompted to Order Track:<br/>
31
+ {{block type='offlineordertrack/forgotmail' email=$email area='frontend'}}
32
+ </ul>
33
+ <p style="font-size:12px; line-height:16px; margin:0;">If you have any questions about your account or any other matter, please feel free to contact us at <a href="mailto:{{config path='trans_email/ident_support/email'}}" style="color:#1E7EC8;">{{config path='trans_email/ident_support/email'}}</a> or by phone at {{config path='general/store_information/phone'}}.</p>
34
+ </td>
35
+ </tr>
36
+ <tr>
37
+ <td bgcolor="#EAEAEA" align="center" style="background:#EAEAEA; text-align:center;"><center><p style="font-size:12px; margin:0;">Thank you again, <strong>{{var store.getFrontendName()}}</strong></p></center></td>
38
+ </tr>
39
+ </table>
40
+ </td>
41
+ </tr>
42
+ </table>
43
+ </div>
44
+ </body>
45
+
46
+
package.xml CHANGED
@@ -1,7 +1,7 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Netsolutions_Offlineordertrack</name>
4
- <version>1.1.5</version>
5
  <stability>stable</stability>
6
  <license>Open Software License</license>
7
  <channel>community</channel>
@@ -10,9 +10,9 @@
10
  <description>This extension allows the customers to check orders details and status without logging in to their account. </description>
11
  <notes>Latest version</notes>
12
  <authors><author><name>Netsol</name><user>net_solutions</user><email>marketing@netsolutionsindia.com</email></author></authors>
13
- <date>2015-07-07</date>
14
- <time>05:42:11</time>
15
- <contents><target name="magecommunity"><dir name="Netsolutions"><dir name="Offlineordertrack"><dir name="Block"><file name="Forgotmail.php" hash="bfa51eb79037a1ecd83fef4ed02694b4"/><file name="Tracking.php" hash="0741cd154e094d4196a6b40785e122c5"/></dir><dir name="Helper"><file name="Data.php" hash="1684c88d1eef1c170b0fcc890def0e39"/></dir><dir name="Model"><dir name="Mysql4"><dir name="Ordertrack"><file name="Collection.php" hash="a828733d247949aefea0e8ef80fb6238"/></dir><file name="Ordertrack.php" hash="4f4f8d8c46e33ff181237a00d0275adf"/></dir><file name="Ordertrack.php" hash="0bad8553772cc8e6def9366e3c41fbd5"/><dir name="System"><dir name="Config"><dir name="Source"><file name="View.php" hash="77b1904426b84b429e344d3701996b49"/></dir></dir></dir></dir><dir name="controllers"><file name="TrackingController.php" hash="6212bcc605f0c6783a16df3966ae3f70"/></dir><dir name="etc"><file name="adminhtml.xml" hash="69edda440ef5de1d8399c6893baa3a0a"/><file name="config.xml" hash="23b77479360682d97f2efbe36db3d633"/><file name="system.xml" hash="ba1fc4ac8378625410ca7d8622b2e0dd"/></dir><dir name="sql"><dir name="ot_setup"><file name="mysql4-install-1.1.5.php" hash="99ecd2fc3073d959897810316da47787"/><file name="mysql4-upgrade-1.1.2-1.1.3.php" hash="ecdaefef485fc41cecc9de89fad97737"/><file name="mysql4-upgrade-1.1.3-1.1.4 .php" hash="ecdaefef485fc41cecc9de89fad97737"/><file name="mysql4-upgrade-1.1.4-1.1.5.php" hash="ecdaefef485fc41cecc9de89fad97737"/></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Netsolutions_Offlineordertrack.xml" hash="1bc70e057c37a9fa2494ee418e759159"/></dir></target><target name="magedesign"><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="offlineordertrack.xml" hash="462bc726d57acadab7cd7c50c0302c34"/></dir><dir name="template"><dir name="netsolutions"><dir name="offlineordertrack"><dir name="email"><file name="mail.phtml" hash="3d5360174bd6a95f476599aa1e41f430"/></dir><file name="track.phtml" hash="56311295219a8fee78b23182a3812a73"/><file name="view.phtml" hash="64e435deb8ad86db8c0120a05b9e3222"/></dir></dir></dir></dir></dir></dir></target><target name="mageskin"><dir name="frontend"><dir name="base"><dir name="default"><dir name="js"><dir name="ordertrack"><file name="jquery-1.10.2.min.js" hash="628072e7212db1e8cdacb22b21752cda"/><file name="ordertrack.js" hash="01ff6d90fda04aea4226780ad033f579"/></dir></dir><dir name="css"><file name="ordertrack.css" hash="5f0b79a24caa2b4b714371522aa319a0"/></dir><dir name="images"><file name="order-loader.gif" hash="e805ea7eca1f34c75ba0f93780d32d38"/></dir></dir></dir></dir></target></contents>
16
  <compatible/>
17
  <dependencies><required><php><min>5.2.0</min><max>6.0.0</max></php></required></dependencies>
18
  </package>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Netsolutions_Offlineordertrack</name>
4
+ <version>1.1.6</version>
5
  <stability>stable</stability>
6
  <license>Open Software License</license>
7
  <channel>community</channel>
10
  <description>This extension allows the customers to check orders details and status without logging in to their account. </description>
11
  <notes>Latest version</notes>
12
  <authors><author><name>Netsol</name><user>net_solutions</user><email>marketing@netsolutionsindia.com</email></author></authors>
13
+ <date>2015-07-13</date>
14
+ <time>07:28:36</time>
15
+ <contents><target name="magecommunity"><dir name="Netsolutions"><dir name="Offlineordertrack"><dir name="Block"><file name="Forgotmail.php" hash="bfa51eb79037a1ecd83fef4ed02694b4"/><file name="Tracking.php" hash="0741cd154e094d4196a6b40785e122c5"/></dir><dir name="Helper"><file name="Data.php" hash="1684c88d1eef1c170b0fcc890def0e39"/></dir><dir name="Model"><dir name="Mysql4"><dir name="Ordertrack"><file name="Collection.php" hash="a828733d247949aefea0e8ef80fb6238"/></dir><file name="Ordertrack.php" hash="4f4f8d8c46e33ff181237a00d0275adf"/></dir><file name="Ordertrack.php" hash="0bad8553772cc8e6def9366e3c41fbd5"/><dir name="System"><dir name="Config"><dir name="Source"><file name="View.php" hash="77b1904426b84b429e344d3701996b49"/></dir></dir></dir></dir><dir name="controllers"><file name="TrackingController.php" hash="6212bcc605f0c6783a16df3966ae3f70"/></dir><dir name="etc"><file name="adminhtml.xml" hash="69edda440ef5de1d8399c6893baa3a0a"/><file name="config.xml" hash="99c6a0919e5235088d58608e12f9f189"/><file name="system.xml" hash="ba1fc4ac8378625410ca7d8622b2e0dd"/></dir><dir name="sql"><dir name="ot_setup"><file name="mysql4-install-1.1.6.php" hash="99ecd2fc3073d959897810316da47787"/><file name="mysql4-upgrade-1.1.2-1.1.3.php" hash="ecdaefef485fc41cecc9de89fad97737"/><file name="mysql4-upgrade-1.1.3-1.1.4 .php" hash="ecdaefef485fc41cecc9de89fad97737"/><file name="mysql4-upgrade-1.1.4-1.1.5.php" hash="ecdaefef485fc41cecc9de89fad97737"/><file name="mysql4-upgrade-1.1.5-1.1.6.php" hash="ecdaefef485fc41cecc9de89fad97737"/></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Netsolutions_Offlineordertrack.xml" hash="1bc70e057c37a9fa2494ee418e759159"/></dir></target><target name="magedesign"><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="offlineordertrack.xml" hash="462bc726d57acadab7cd7c50c0302c34"/></dir></dir></dir></dir></target><target name="mageskin"><dir name="frontend"><dir name="base"><dir name="default"><dir name="css"><file name="ordertrack.css" hash="5f0b79a24caa2b4b714371522aa319a0"/></dir><dir name="js"><dir name="ordertrack"><file name="jquery-1.10.2.min.js" hash="628072e7212db1e8cdacb22b21752cda"/><file name="ordertrack.js" hash="01ff6d90fda04aea4226780ad033f579"/></dir></dir><dir name="images"><file name="order-loader.gif" hash="e805ea7eca1f34c75ba0f93780d32d38"/></dir></dir></dir></dir></target><target name="magelocale"><dir name="en_US"><dir name="template"><dir name="email"><file name="forgotordernumbermail.html" hash="ed548cc114cd797716abbeabd96ccfa1"/></dir></dir></dir></target></contents>
16
  <compatible/>
17
  <dependencies><required><php><min>5.2.0</min><max>6.0.0</max></php></required></dependencies>
18
  </package>