Version Notes
Renamed button in Order View to "ShipIt".
Changed the behaviour of the "ShipIt" button to open a new browser window instead of redirecting the Order View page.
Download this release
Release Info
Developer | George Plummer |
Extension | Rvtech_Starshipit |
Version | 1.6.0.3 |
Comparing to | |
See all releases |
Code changes from version 1.6.0.2 to 1.6.0.3
app/code/community/Rvtech/Starshipit/Block/Sales/Order/View.php
CHANGED
@@ -34,7 +34,7 @@
|
|
34 |
class Rvtech_Starshipit_Block_Sales_Order_View extends Mage_Adminhtml_Block_Widget_Form_Container
|
35 |
{
|
36 |
|
37 |
-
const STARSHIP_BASE = '
|
38 |
|
39 |
public function __construct()
|
40 |
{
|
@@ -181,8 +181,9 @@ class Rvtech_Starshipit_Block_Sales_Order_View extends Mage_Adminhtml_Block_Widg
|
|
181 |
|
182 |
// Starship Button
|
183 |
$this->_addButton('order_starship', array(
|
184 |
-
'label' => Mage::helper('sales')->__('
|
185 |
-
|
|
|
186 |
'class' => 'go'
|
187 |
));
|
188 |
}
|
34 |
class Rvtech_Starshipit_Block_Sales_Order_View extends Mage_Adminhtml_Block_Widget_Form_Container
|
35 |
{
|
36 |
|
37 |
+
const STARSHIP_BASE = 'http://beta.starshipit.com/templates/admin4/popupprint.aspx';
|
38 |
|
39 |
public function __construct()
|
40 |
{
|
181 |
|
182 |
// Starship Button
|
183 |
$this->_addButton('order_starship', array(
|
184 |
+
'label' => Mage::helper('sales')->__('ShipIt'),
|
185 |
+
'onclick' => 'popWin(\'' . $this->getStarshipUrl() . '\', \'' . 'ShipIt' . '\', \'' . 'width=800,height=600,top=150,left=300,location=no,status=yes,scrollbars=yes,resizable=yes' . '\')',
|
186 |
+
//'onclick' => 'popWin(\'' . $this->getStarshipUrl() . '\', 'shipment info', 'width=300,height=300,left=100,top=0,location=no,status=yes,scrollbars=yes,resizable=yes'); return false;',
|
187 |
'class' => 'go'
|
188 |
));
|
189 |
}
|
app/code/community/Starshipit/Ship/Model/Carrier/View.php
CHANGED
@@ -182,7 +182,7 @@ class Rvtech_Starshipit_Block_Sales_Order_View extends Mage_Adminhtml_Block_Widg
|
|
182 |
// Starship Button
|
183 |
$this->_addButton('order_starship', array(
|
184 |
'label' => Mage::helper('sales')->__('StarShipIt'),
|
185 |
-
'onclick' => '
|
186 |
'class' => 'go'
|
187 |
));
|
188 |
}
|
182 |
// Starship Button
|
183 |
$this->_addButton('order_starship', array(
|
184 |
'label' => Mage::helper('sales')->__('StarShipIt'),
|
185 |
+
'onclick' => 'popWin('http://www.mysite.com.au/delpopup.php', 'deliveryinfo', 'width=300,height=300,left=0,top=0,location=no,status=yes,scrollbars=yes,resizable=yes'); return false;',
|
186 |
'class' => 'go'
|
187 |
));
|
188 |
}
|
package.xml
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>Rvtech_Starshipit</name>
|
4 |
-
<version>1.6.0.
|
5 |
<stability>stable</stability>
|
6 |
<license uri="http://opensource.org/licenses/osl-3.0.php">Open Software License (OSL)</license>
|
7 |
<channel>community</channel>
|
@@ -15,13 +15,13 @@ From StarShipIt shipping labels can be produced, tracking of orders is supported
|
|
15 |

|
16 |
DHL Express Worldwide is supported as well 
|
17 |
Australia Post eParcel, CourierPost, Fastways, and more</description>
|
18 |
-
<notes>
|
19 |

|
20 |
-
|
21 |
<authors><author><name>George Plummer</name><user>GeorgeSPlummer</user><email>george@starshipit.com</email></author></authors>
|
22 |
-
<date>2015-
|
23 |
-
<time>
|
24 |
-
<contents><target name="magecommunity"><dir name="Rvtech"><dir name="Starshipit"><dir name="Block"><dir name="Adminhtml"><dir name="System"><dir name="Config"><dir name="Form"><file name="Button.php" hash="2b3b0143262abe0d3ba50c38fe10d932"/><file name="Syncbutton.php" hash="b53f7f430495c1e9466789b116ce6349"/></dir></dir></dir></dir><dir name="Sales"><dir name="Order"><file name="Grid.php" hash="52dc5c408d28810e8bc3a19dc65409a3"/><file name="View.php" hash="
|
25 |
<compatible/>
|
26 |
<dependencies><required><php><min>5.1.0</min><max>5.6.8</max></php></required></dependencies>
|
27 |
</package>
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>Rvtech_Starshipit</name>
|
4 |
+
<version>1.6.0.3</version>
|
5 |
<stability>stable</stability>
|
6 |
<license uri="http://opensource.org/licenses/osl-3.0.php">Open Software License (OSL)</license>
|
7 |
<channel>community</channel>
|
15 |

|
16 |
DHL Express Worldwide is supported as well 
|
17 |
Australia Post eParcel, CourierPost, Fastways, and more</description>
|
18 |
+
<notes>Renamed button in Order View to "ShipIt".
|
19 |

|
20 |
+
Changed the behaviour of the "ShipIt" button to open a new browser window instead of redirecting the Order View page.</notes>
|
21 |
<authors><author><name>George Plummer</name><user>GeorgeSPlummer</user><email>george@starshipit.com</email></author></authors>
|
22 |
+
<date>2015-06-25</date>
|
23 |
+
<time>22:49:53</time>
|
24 |
+
<contents><target name="magecommunity"><dir name="Rvtech"><dir name="Starshipit"><dir name="Block"><dir name="Adminhtml"><dir name="System"><dir name="Config"><dir name="Form"><file name="Button.php" hash="2b3b0143262abe0d3ba50c38fe10d932"/><file name="Syncbutton.php" hash="b53f7f430495c1e9466789b116ce6349"/></dir></dir></dir></dir><dir name="Sales"><dir name="Order"><file name="Grid.php" hash="52dc5c408d28810e8bc3a19dc65409a3"/><file name="View.php" hash="02071ad3d9c0742439e1d780b40a4022"/></dir></dir></dir><dir name="Helper"><file name="Data.php" hash="0313223fc94e9ed45f4401119bd6f528"/><file name="Starship.php" hash="8e67e9407ff4e1226c9ee83ba267b6d5"/></dir><dir name="Model"><file name="Observer.php" hash="cac0751526ff06c8bdaa99d432a75865"/><file name="Orders.php" hash="d5e6fa78702b1a0bd60e8cb4b3f57521"/><file name="Orders.php_ORG" hash="cbadeab0c67303b653bed3549a9b73de"/></dir><dir name="controllers"><dir name="Adminhtml"><file name="StarshipitController.php" hash="926e0e618d5732fa7fffc0b1b5028259"/><file name="StarshipitController.php_ORG" hash="b7c694e8252892da817eae072f6f8ad6"/></dir><file name="IndexController.php" hash="f74d6e40df4fc46a9be2e53b5da55727"/></dir><dir name="etc"><file name="adminhtml.xml" hash="02121bfdaabeb4aa30733462d532b211"/><file name="config.xml" hash="521d80ad07595a1d4017ac610dd1512c"/><file name="system.xml" hash="02c4074fdacdf4c48f78eb85409dcc77"/></dir></dir></dir><dir name="Starshipit"><dir name="Ship"><dir name="Block"><file name="Ship.php" hash="529d915d3293400dab088a1827406977"/></dir><dir name="Helper"><file name="Data.php" hash="601fe2fdf26bd83cc88ce7b9da7d6e23"/></dir><dir name="Model"><dir name="Carrier"><file name="Auspost.php" hash="12ba8d875aa3390323356540ef291d7b"/><file name="Button.php" hash="2b3b0143262abe0d3ba50c38fe10d932"/><file name="Courierpost.php" hash="020b163a31753d59d4eb4acb30f9aa7e"/><file name="Dhlexpress.php" hash="ef0d41ba374e75028fd5ed2ecadc538a"/><file name="Fastway.php" hash="68e6be1e3bfcac41cdd68d13b5a06a0a"/><file name="Grid.php" hash="52dc5c408d28810e8bc3a19dc65409a3"/><file name="Nzpost.php" hash="fd2e2bcf5bae86f73ef4fbd43cfd5757"/><file name="View.php" hash="7c0b8050183738c0fa7be989c38dc385"/></dir></dir><dir name="controllers"><file name="IndexController.php" hash="87ed8f9f6923f532a1fab239c54596c5"/></dir><dir name="etc"><file name="config.xml" hash="d83e58ad297f4a06d5dea18883b141f5"/><file name="system.xml" hash="e2d23522fcc05684be45ab699d80b666"/></dir></dir></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="template"><dir name="starshipit"><dir name="system"><dir name="config"><file name="button.phtml" hash="064f053f67fc7b749d1aec40cd352ce1"/><file name="syncbutton.phtml" hash="3e67731254d4d0298891cd2598471dc9"/></dir></dir></dir></dir><dir name="layout"><file name="starshipit.xml" hash="e451df5a50a3c73bd53ba272ba43f2a4"/></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Rvtech_Startshipit.xml" hash="741fde1331d6a9b27ef2faa2bd8a843f"/><file name="Starshipit.xml" hash="af4dcd9278d8eb0d30dfb70de26682eb"/></dir></target><target name="mageweb"><dir name="js"><dir name="mage"><dir name="adminhtml"><file name="starshipgrid.js" hash="df976a3e0a82fa6e8117ef687609b431"/></dir></dir></dir></target></contents>
|
25 |
<compatible/>
|
26 |
<dependencies><required><php><min>5.1.0</min><max>5.6.8</max></php></required></dependencies>
|
27 |
</package>
|