Version Notes
This is stable release for the extension
Download this release
Release Info
Developer | UberCX |
Extension | Ubercx_Shippingtracking |
Version | 1.0.6 |
Comparing to | |
See all releases |
Code changes from version 1.0.5 to 1.0.6
- app/code/community/Ubercx/Shippingtracking/Block/Adminhtml/Sales/Order/Shipment/View/Tracking.php +37 -0
- app/code/community/Ubercx/Shippingtracking/controllers/Sales/Order/ShipmentController.php +43 -0
- app/code/community/Ubercx/Shippingtracking/etc/config.xml +17 -3
- app/code/community/Ubercx/Shippingtracking/etc/system.xml +7 -6
- app/etc/modules/Ubercx_Shippingtracking.xml +1 -1
- package.xml +33 -23
app/code/community/Ubercx/Shippingtracking/Block/Adminhtml/Sales/Order/Shipment/View/Tracking.php
ADDED
@@ -0,0 +1,37 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Open Software License (OSL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/osl-3.0.php
|
11 |
+
* If you did not receive a copy of the license and are unable to
|
12 |
+
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magentocommerce.com so we can send you a copy immediately.
|
14 |
+
*
|
15 |
+
* DISCLAIMER
|
16 |
+
*
|
17 |
+
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
+
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magentocommerce.com for more information.
|
20 |
+
*
|
21 |
+
* @category Mage
|
22 |
+
* @package Mage_Adminhtml
|
23 |
+
* @copyright Copyright (c) 2014 Magento Inc. (http://www.magentocommerce.com)
|
24 |
+
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
25 |
+
*/
|
26 |
+
|
27 |
+
/**
|
28 |
+
* Shipment tracking control form
|
29 |
+
*
|
30 |
+
* @category Mage
|
31 |
+
* @package Mage_Adminhtml
|
32 |
+
* @author Magento Core Team <core@magentocommerce.com>
|
33 |
+
*/
|
34 |
+
class Ubercx_Shippingtracking_Block_Adminhtml_Sales_Order_Shipment_View_Tracking extends Mage_Adminhtml_Block_Sales_Order_Shipment_View_Tracking
|
35 |
+
{
|
36 |
+
|
37 |
+
}
|
app/code/community/Ubercx/Shippingtracking/controllers/Sales/Order/ShipmentController.php
ADDED
@@ -0,0 +1,43 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Open Software License (OSL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/osl-3.0.php
|
11 |
+
* If you did not receive a copy of the license and are unable to
|
12 |
+
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magentocommerce.com so we can send you a copy immediately.
|
14 |
+
*
|
15 |
+
* DISCLAIMER
|
16 |
+
*
|
17 |
+
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
+
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magentocommerce.com for more information.
|
20 |
+
*
|
21 |
+
* @category Mage
|
22 |
+
* @package Mage_Adminhtml
|
23 |
+
* @copyright Copyright (c) 2014 Magento Inc. (http://www.magentocommerce.com)
|
24 |
+
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
25 |
+
*/
|
26 |
+
|
27 |
+
/**
|
28 |
+
* Adminhtml sales order shipment controller
|
29 |
+
*
|
30 |
+
* @category Mage
|
31 |
+
* @package Mage_Adminhtml
|
32 |
+
* @author Magento Core Team <core@magentocommerce.com>
|
33 |
+
*/
|
34 |
+
class Ubercx_Shippingtracking_Sales_Order_ShipmentController extends Mage_Adminhtml_Controller_Sales_Shipment
|
35 |
+
{
|
36 |
+
|
37 |
+
public function indexAction()
|
38 |
+
{
|
39 |
+
$this->loadLayout();
|
40 |
+
$this->renderLayout();
|
41 |
+
}
|
42 |
+
|
43 |
+
}
|
app/code/community/Ubercx/Shippingtracking/etc/config.xml
CHANGED
@@ -15,7 +15,7 @@
|
|
15 |
*
|
16 |
* @category UBERCX
|
17 |
* @package Ubercx_Shippingtracking
|
18 |
-
* @copyright Copyright (c) 2015
|
19 |
* @author Ubercx Developer <ubercx_nospam@jframeworks.com>
|
20 |
* @license http://opensource.org/licenses/gpl-license GNU General Public License
|
21 |
*/
|
@@ -23,7 +23,7 @@
|
|
23 |
<config>
|
24 |
<modules>
|
25 |
<Ubercx_Shippingtracking>
|
26 |
-
<version>1.0.
|
27 |
</Ubercx_Shippingtracking>
|
28 |
</modules>
|
29 |
<global>
|
@@ -44,9 +44,14 @@
|
|
44 |
<sales>
|
45 |
<rewrite>
|
46 |
<order_view>Ubercx_Shippingtracking_Block_Order_View</order_view>
|
47 |
-
|
48 |
</rewrite>
|
49 |
</sales>
|
|
|
|
|
|
|
|
|
|
|
50 |
</blocks>
|
51 |
</global>
|
52 |
<frontend>
|
@@ -72,4 +77,13 @@
|
|
72 |
<ubercx_api_url><![CDATA[https://api.ubercx.io/tracking/v1/getTrackingDetails?carrier=CARRIER_CODE&trackId=TRACK_ID]]></ubercx_api_url>
|
73 |
</shippingtracking>
|
74 |
</default>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
75 |
</config>
|
15 |
*
|
16 |
* @category UBERCX
|
17 |
* @package Ubercx_Shippingtracking
|
18 |
+
* @copyright Copyright (c) 2015 Ubercx, Inc.
|
19 |
* @author Ubercx Developer <ubercx_nospam@jframeworks.com>
|
20 |
* @license http://opensource.org/licenses/gpl-license GNU General Public License
|
21 |
*/
|
23 |
<config>
|
24 |
<modules>
|
25 |
<Ubercx_Shippingtracking>
|
26 |
+
<version>1.0.6</version>
|
27 |
</Ubercx_Shippingtracking>
|
28 |
</modules>
|
29 |
<global>
|
44 |
<sales>
|
45 |
<rewrite>
|
46 |
<order_view>Ubercx_Shippingtracking_Block_Order_View</order_view>
|
47 |
+
<order_shipment_items>Ubercx_Shippingtracking_Block_Order_Shipment_Items</order_shipment_items>
|
48 |
</rewrite>
|
49 |
</sales>
|
50 |
+
<adminhtml>
|
51 |
+
<rewrite>
|
52 |
+
<sales_order_shipment_view_tracking>Ubercx_Shippingtracking_Block_Adminhtml_Sales_Order_Shipment_View_Tracking</sales_order_shipment_view_tracking>
|
53 |
+
</rewrite>
|
54 |
+
</adminhtml>
|
55 |
</blocks>
|
56 |
</global>
|
57 |
<frontend>
|
77 |
<ubercx_api_url><![CDATA[https://api.ubercx.io/tracking/v1/getTrackingDetails?carrier=CARRIER_CODE&trackId=TRACK_ID]]></ubercx_api_url>
|
78 |
</shippingtracking>
|
79 |
</default>
|
80 |
+
<adminhtml>
|
81 |
+
<layout>
|
82 |
+
<updates>
|
83 |
+
<shippingtracking>
|
84 |
+
<file>shippingtracking.xml</file>
|
85 |
+
</shippingtracking>
|
86 |
+
</updates>
|
87 |
+
</layout>
|
88 |
+
</adminhtml>
|
89 |
</config>
|
app/code/community/Ubercx/Shippingtracking/etc/system.xml
CHANGED
@@ -22,10 +22,10 @@
|
|
22 |
-->
|
23 |
<config>
|
24 |
<tabs>
|
25 |
-
<
|
26 |
<label>UberCX Plugins</label>
|
27 |
<sort_order>301</sort_order>
|
28 |
-
</
|
29 |
</tabs>
|
30 |
<sections>
|
31 |
<shippingtracking translate="label" module="shippingtracking">
|
@@ -36,6 +36,7 @@
|
|
36 |
<show_in_default>1</show_in_default>
|
37 |
<show_in_website>1</show_in_website>
|
38 |
<show_in_store>1</show_in_store>
|
|
|
39 |
<groups>
|
40 |
<shippingtracking_settings translate="label">
|
41 |
<label>UberCX Shipping Tracking Settings</label>
|
@@ -44,22 +45,22 @@
|
|
44 |
<show_in_default>1</show_in_default>
|
45 |
<show_in_website>1</show_in_website>
|
46 |
<show_in_store>1</show_in_store>
|
47 |
-
|
48 |
<fields>
|
49 |
-
|
50 |
<label>User Key</label>
|
51 |
<frontend_type>text</frontend_type>
|
52 |
<sort_order>1</sort_order>
|
53 |
<show_in_default>1</show_in_default>
|
54 |
<show_in_website>0</show_in_website>
|
55 |
<show_in_store>0</show_in_store>
|
56 |
-
<comment><![CDATA[<a href="https://ubercx.io/
|
57 |
</shippingtracking_user_key>
|
58 |
<shippingtracking_active translate="label">
|
59 |
<label>Enabled</label>
|
60 |
<frontend_type>select</frontend_type>
|
61 |
<source_model>adminhtml/system_config_source_yesno</source_model>
|
62 |
-
<sort_order>
|
63 |
<show_in_default>1</show_in_default>
|
64 |
<show_in_website>0</show_in_website>
|
65 |
<show_in_store>0</show_in_store>
|
22 |
-->
|
23 |
<config>
|
24 |
<tabs>
|
25 |
+
<ubercx translate="label" module="shippingtracking">
|
26 |
<label>UberCX Plugins</label>
|
27 |
<sort_order>301</sort_order>
|
28 |
+
</ubercx>
|
29 |
</tabs>
|
30 |
<sections>
|
31 |
<shippingtracking translate="label" module="shippingtracking">
|
36 |
<show_in_default>1</show_in_default>
|
37 |
<show_in_website>1</show_in_website>
|
38 |
<show_in_store>1</show_in_store>
|
39 |
+
<tab>ubercx</tab>
|
40 |
<groups>
|
41 |
<shippingtracking_settings translate="label">
|
42 |
<label>UberCX Shipping Tracking Settings</label>
|
45 |
<show_in_default>1</show_in_default>
|
46 |
<show_in_website>1</show_in_website>
|
47 |
<show_in_store>1</show_in_store>
|
48 |
+
<comment><![CDATA[This plugin allows real time shipment tracking for UPS, USPS, FEDEX, DHL carriers. It connects with uberCX API, which responds in JSON payload. Please visit this <a target="_blank" href="https://ubercx.io/track/plugins/magento">link</a> to detail documentation about Magento plugin and recipes.<br>This plugin comes with default page which shows shipping tracking details on customer order detail page.]]></comment>
|
49 |
<fields>
|
50 |
+
<shippingtracking_user_key translate="label">
|
51 |
<label>User Key</label>
|
52 |
<frontend_type>text</frontend_type>
|
53 |
<sort_order>1</sort_order>
|
54 |
<show_in_default>1</show_in_default>
|
55 |
<show_in_website>0</show_in_website>
|
56 |
<show_in_store>0</show_in_store>
|
57 |
+
<comment><![CDATA[<a href="https://ubercx.io/signup" target="_blank">Get your User Key</a>]]></comment>
|
58 |
</shippingtracking_user_key>
|
59 |
<shippingtracking_active translate="label">
|
60 |
<label>Enabled</label>
|
61 |
<frontend_type>select</frontend_type>
|
62 |
<source_model>adminhtml/system_config_source_yesno</source_model>
|
63 |
+
<sort_order>3</sort_order>
|
64 |
<show_in_default>1</show_in_default>
|
65 |
<show_in_website>0</show_in_website>
|
66 |
<show_in_store>0</show_in_store>
|
app/etc/modules/Ubercx_Shippingtracking.xml
CHANGED
@@ -25,7 +25,7 @@
|
|
25 |
<Ubercx_Shippingtracking>
|
26 |
<active>true</active>
|
27 |
<codePool>community</codePool>
|
28 |
-
<version>1.0.
|
29 |
</Ubercx_Shippingtracking>
|
30 |
</modules>
|
31 |
</config>
|
25 |
<Ubercx_Shippingtracking>
|
26 |
<active>true</active>
|
27 |
<codePool>community</codePool>
|
28 |
+
<version>1.0.6</version>
|
29 |
</Ubercx_Shippingtracking>
|
30 |
</modules>
|
31 |
</config>
|
package.xml
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>Ubercx_Shippingtracking</name>
|
4 |
-
<version>1.0.
|
5 |
<stability>stable</stability>
|
6 |
<license uri="http://opensource.org/licenses/gpl-license">GNU General Public License</license>
|
7 |
<channel>community</channel>
|
@@ -9,35 +9,45 @@
|
|
9 |
<summary>Embedded Shipping Tracking, It allows customer to see shipping details. Retailers can use USPS, Fedex, UPS and DHL shipping methods.</summary>
|
10 |
<description>Track Shipment allows customer to track his order shipping using USPS, Fedex, UPS and DHL shipping methods.</description>
|
11 |
<notes>This is stable release for the extension</notes>
|
12 |
-
<authors><author><name>UberCX</name><user>
|
13 |
-
<date>2015-
|
14 |
<time>12:00:00</time>
|
15 |
<contents>
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
<dir name="
|
22 |
-
<dir name="
|
23 |
-
<
|
|
|
|
|
24 |
</dir>
|
25 |
-
<file name="View.php" hash="8211363692f450f1031a9db2c0c97dd1"/>
|
26 |
</dir>
|
27 |
</dir>
|
28 |
-
<
|
29 |
-
|
|
|
|
|
30 |
</dir>
|
31 |
-
|
32 |
-
|
33 |
-
|
34 |
-
|
35 |
-
|
|
|
|
|
36 |
</dir>
|
37 |
-
|
38 |
-
|
39 |
-
<file name="
|
40 |
-
|
|
|
|
|
|
|
|
|
|
|
41 |
<target name="magedesign">
|
42 |
<dir name="frontend">
|
43 |
<dir name="base">
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>Ubercx_Shippingtracking</name>
|
4 |
+
<version>1.0.6</version>
|
5 |
<stability>stable</stability>
|
6 |
<license uri="http://opensource.org/licenses/gpl-license">GNU General Public License</license>
|
7 |
<channel>community</channel>
|
9 |
<summary>Embedded Shipping Tracking, It allows customer to see shipping details. Retailers can use USPS, Fedex, UPS and DHL shipping methods.</summary>
|
10 |
<description>Track Shipment allows customer to track his order shipping using USPS, Fedex, UPS and DHL shipping methods.</description>
|
11 |
<notes>This is stable release for the extension</notes>
|
12 |
+
<authors><author><name>UberCX</name><user>UberCX</user><email>support@ubercx.io</email></author></authors>
|
13 |
+
<date>2015-09-16</date>
|
14 |
<time>12:00:00</time>
|
15 |
<contents>
|
16 |
+
<target name="magecommunity">
|
17 |
+
<dir name="Ubercx">
|
18 |
+
<dir name="Shippingtracking">
|
19 |
+
<dir name="Block">
|
20 |
+
<dir name="Adminhtml">
|
21 |
+
<dir name="Sales">
|
22 |
+
<dir name="Order">
|
23 |
+
<dir name="Shipment">
|
24 |
+
<dir name="View"><file name="Tracking.php" hash="82bc98f8542e0fc528a58d29f3bdbe59"/></dir>
|
25 |
+
</dir>
|
26 |
</dir>
|
|
|
27 |
</dir>
|
28 |
</dir>
|
29 |
+
<file name="List.php" hash="3b8d9b7096100452530f698703ac4b1a"/>
|
30 |
+
<dir name="Order">
|
31 |
+
<dir name="Shipment"><file name="Items.php" hash="c399f3f91eead9596c424fbbc18a5bd8"/></dir>
|
32 |
+
<file name="View.php" hash="8211363692f450f1031a9db2c0c97dd1"/>
|
33 |
</dir>
|
34 |
+
</dir>
|
35 |
+
<dir name="Helper"><file name="Data.php" hash="ca5fa56683203f3ec2b626672ca70277"/></dir>
|
36 |
+
<dir name="Model"><file name="Info.php" hash="930e6e84ee01c35f4ec3c7f10e248212"/></dir>
|
37 |
+
<dir name="controllers">
|
38 |
+
<file name="ListController.php" hash="a2d36f4fda30aa81586ae838c8b63991"/>
|
39 |
+
<dir name="Sales">
|
40 |
+
<dir name="Order"><file name="ShipmentController.php" hash="da6ca2befa3c85bfc2c124403a2a1170"/></dir>
|
41 |
</dir>
|
42 |
+
</dir>
|
43 |
+
<dir name="etc">
|
44 |
+
<file name="adminhtml.xml" hash="3053a2ca3c927e71ff15e5b325bb43a8"/>
|
45 |
+
<file name="config.xml" hash="080949f5fd6e73d8327922f9ec97c589"/>
|
46 |
+
<file name="system.xml" hash="7421cda02b5fbbc907abb38c47e88089"/>
|
47 |
+
</dir>
|
48 |
+
</dir>
|
49 |
+
</dir>
|
50 |
+
</target>
|
51 |
<target name="magedesign">
|
52 |
<dir name="frontend">
|
53 |
<dir name="base">
|