Version Notes
Change reading of arrays compatible with php version below 5.4
Download this release
Release Info
Developer | Joshua Oliver |
Extension | Transdirect_Shipping |
Version | 1.1.3 |
Comparing to | |
See all releases |
Code changes from version 1.1.2 to 1.1.3
- app/code/local/Transdirect/.DS_Store +0 -0
- app/code/local/Transdirect/Ship/.DS_Store +0 -0
- app/code/local/Transdirect/Ship/Model/.DS_Store +0 -0
- app/code/local/Transdirect/Ship/Model/System/.DS_Store +0 -0
- app/code/local/Transdirect/Ship/Model/System/Config/.DS_Store +0 -0
- app/code/local/Transdirect/Ship/Model/System/Config/Backend/Serialized.php +3 -3
- package.xml +5 -5
app/code/local/Transdirect/.DS_Store
CHANGED
Binary file
|
app/code/local/Transdirect/Ship/.DS_Store
CHANGED
Binary file
|
app/code/local/Transdirect/Ship/Model/.DS_Store
CHANGED
Binary file
|
app/code/local/Transdirect/Ship/Model/System/.DS_Store
CHANGED
Binary file
|
app/code/local/Transdirect/Ship/Model/System/Config/.DS_Store
CHANGED
Binary file
|
app/code/local/Transdirect/Ship/Model/System/Config/Backend/Serialized.php
CHANGED
@@ -10,15 +10,15 @@ class Transdirect_Ship_Model_System_Config_Backend_Serialized extends Mage_Admin
|
|
10 |
$value = $this->getValue();
|
11 |
$value = unserialize($value);
|
12 |
if (empty($value)) {
|
13 |
-
$value =
|
14 |
foreach ($couriers->toOptionArray() as $courier) {
|
15 |
-
$value[$courier['value']] =
|
16 |
'enable_courier' => '',
|
17 |
'courier' => $courier['label'],
|
18 |
'rename_group' => '',
|
19 |
'surcharge_courier' => 0,
|
20 |
'enable_surcharge_courier' => ''
|
21 |
-
|
22 |
}
|
23 |
} else {
|
24 |
foreach ($couriers->toOptionArray() as $courier) {
|
10 |
$value = $this->getValue();
|
11 |
$value = unserialize($value);
|
12 |
if (empty($value)) {
|
13 |
+
$value = array();
|
14 |
foreach ($couriers->toOptionArray() as $courier) {
|
15 |
+
$value[$courier['value']] = array(
|
16 |
'enable_courier' => '',
|
17 |
'courier' => $courier['label'],
|
18 |
'rename_group' => '',
|
19 |
'surcharge_courier' => 0,
|
20 |
'enable_surcharge_courier' => ''
|
21 |
+
);
|
22 |
}
|
23 |
} else {
|
24 |
foreach ($couriers->toOptionArray() as $courier) {
|
package.xml
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>Transdirect_Shipping</name>
|
4 |
-
<version>1.1.
|
5 |
<stability>stable</stability>
|
6 |
<license>Open Software License (OSL)</license>
|
7 |
<channel>community</channel>
|
@@ -30,11 +30,11 @@ and more.
|
|
30 |
To find out more about Transdirect's service, please contact sales@transdirect.com.au.
|
31 |

|
32 |
Transdirect - Delivering Solutions.</description>
|
33 |
-
<notes>Change version
|
34 |
<authors><author><name>Joshua Oliver</name><user>transdirect</user><email>josh+transdirect@bywave.com.au</email></author></authors>
|
35 |
-
<date>2015-
|
36 |
-
<time>
|
37 |
-
<contents><target name="magelocal"><dir name="Transdirect"><dir name="Ship"><dir name="Block"><dir name="Adminhtml"><file name="Grid.php" hash="fd7f272097ff678f7a7696c179f2a968"/><dir name="System"><dir name="Config"><file name="Date.php" hash="ad27b62a061cde0e1a8f05e06d960d81"/><file name=".DS_Store" hash="194577a7e20bdcc7afbb718f502c134c"/></dir><file name=".DS_Store" hash="413ad75aa33a5df85f230c6a4c955fde"/></dir><file name=".DS_Store" hash="b5d686c6ef525f9d00a5bd6760fb7600"/></dir><file name="Country.php" hash="b0b6cf18448a4b0954a63efb3a357394"/><file name="Couriers.php" hash="f4372bf89477d2a9d8d195e572ff7909"/><file name="Enablecourier.php" hash="c27874c939cb1252d11e65230e24951c"/><file name="Quotes.php" hash="0e539cc0a2831069789a3d9b3f647772"/><file name="Ship.php" hash="27112cddd22559ebd1f3d6b7abf64a3d"/><file name="Unitcourier.php" hash="1bafc5ea7cc82e7bd366091684276a31"/><file name=".DS_Store" hash="e1c6e725f9c8716b9ba372aea2582c25"/></dir><dir name="Helper"><file name="Data.php" hash="0252ec0e51cfda0a3f23ddf359f75202"/></dir><dir name="Model"><dir name="Carrier"><file name="Transdirect.php" hash="68281f2ea61ce5de220c0557a168e536"/></dir><file name="Observer.php" hash="190f8f9662de5e72ae4dcd405133ca11"/><dir name="Resource"><file name="Setup.php" hash="190fa03ddd1b3d6fff1b930122ea189b"/></dir><dir name="Source"><file name="AddressType.php" hash="3eb0fb748607a38b0b31732a895ac980"/><file name="Couriers.php" hash="574fc2c0480f7b4e517f12bfb9708a39"/><file name="OrderStatus.php" hash="654d24a98571156e0b31f24f910182ee"/><file name="Quotes.php" hash="d382cf07326522786c4f929bbb5e228f"/><file name="Unit.php" hash="31307975b626a49d0d06078cbee1ecd6"/></dir><dir name="System"><dir name="Config"><dir name="Backend"><file name="Serialized.php" hash="
|
38 |
<compatible/>
|
39 |
<dependencies><required><php><min>5.1.0</min><max>6.0.0</max></php></required></dependencies>
|
40 |
</package>
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>Transdirect_Shipping</name>
|
4 |
+
<version>1.1.3</version>
|
5 |
<stability>stable</stability>
|
6 |
<license>Open Software License (OSL)</license>
|
7 |
<channel>community</channel>
|
30 |
To find out more about Transdirect's service, please contact sales@transdirect.com.au.
|
31 |

|
32 |
Transdirect - Delivering Solutions.</description>
|
33 |
+
<notes>Change reading of arrays compatible with php version below 5.4 </notes>
|
34 |
<authors><author><name>Joshua Oliver</name><user>transdirect</user><email>josh+transdirect@bywave.com.au</email></author></authors>
|
35 |
+
<date>2015-10-02</date>
|
36 |
+
<time>05:17:17</time>
|
37 |
+
<contents><target name="magelocal"><dir name="Transdirect"><dir name="Ship"><dir name="Block"><dir name="Adminhtml"><file name="Grid.php" hash="fd7f272097ff678f7a7696c179f2a968"/><dir name="System"><dir name="Config"><file name="Date.php" hash="ad27b62a061cde0e1a8f05e06d960d81"/><file name=".DS_Store" hash="194577a7e20bdcc7afbb718f502c134c"/></dir><file name=".DS_Store" hash="413ad75aa33a5df85f230c6a4c955fde"/></dir><file name=".DS_Store" hash="b5d686c6ef525f9d00a5bd6760fb7600"/></dir><file name="Country.php" hash="b0b6cf18448a4b0954a63efb3a357394"/><file name="Couriers.php" hash="f4372bf89477d2a9d8d195e572ff7909"/><file name="Enablecourier.php" hash="c27874c939cb1252d11e65230e24951c"/><file name="Quotes.php" hash="0e539cc0a2831069789a3d9b3f647772"/><file name="Ship.php" hash="27112cddd22559ebd1f3d6b7abf64a3d"/><file name="Unitcourier.php" hash="1bafc5ea7cc82e7bd366091684276a31"/><file name=".DS_Store" hash="e1c6e725f9c8716b9ba372aea2582c25"/></dir><dir name="Helper"><file name="Data.php" hash="0252ec0e51cfda0a3f23ddf359f75202"/></dir><dir name="Model"><dir name="Carrier"><file name="Transdirect.php" hash="68281f2ea61ce5de220c0557a168e536"/></dir><file name="Observer.php" hash="190f8f9662de5e72ae4dcd405133ca11"/><dir name="Resource"><file name="Setup.php" hash="190fa03ddd1b3d6fff1b930122ea189b"/></dir><dir name="Source"><file name="AddressType.php" hash="3eb0fb748607a38b0b31732a895ac980"/><file name="Couriers.php" hash="574fc2c0480f7b4e517f12bfb9708a39"/><file name="OrderStatus.php" hash="654d24a98571156e0b31f24f910182ee"/><file name="Quotes.php" hash="d382cf07326522786c4f929bbb5e228f"/><file name="Unit.php" hash="31307975b626a49d0d06078cbee1ecd6"/></dir><dir name="System"><dir name="Config"><dir name="Backend"><file name="Serialized.php" hash="b2eae87914abb9aac6606cfc09f4b2e3"/></dir><file name=".DS_Store" hash="17065e11290b0f019609037f64bb45c4"/></dir><file name=".DS_Store" hash="16da9705f2c6c41bc4f59460dc80842a"/></dir><file name=".DS_Store" hash="3831c8a3aac8444857f0035951233456"/></dir><dir name="controllers"><file name="IndexController.php" hash="0a7b2535288aedd6323990e56049b452"/></dir><dir name="etc"><file name="adminhtml.xml" hash="79534cef195241413dc4503010a9ad18"/><file name="config.xml" hash="1208f298c6c8ac4c612301cb74964897"/><file name="system.xml" hash="a387040b7a683332572ff512a059bf76"/></dir><dir name="sql"><dir name="ship_setup_catalog"><file name="mysql4-install-0.1.0.php" hash="ff4817bf11abbf293862311418d86e26"/><file name=".DS_Store" hash="194577a7e20bdcc7afbb718f502c134c"/></dir><dir name="ship_setup_sales"><file name="mysql4-install-0.1.0.php" hash="3ab28c009fa43907f495c4de18085274"/><file name=".DS_Store" hash="4233c80afd944d59bf445e108a3e2176"/></dir><file name=".DS_Store" hash="47109a1eb7526e20b8b7590dc2e563c5"/></dir><file name=".DS_Store" hash="2fd392989b4cf35b76154f0da931834d"/></dir><file name=".DS_Store" hash="363ff60ca9926723287ec330168ad151"/></dir></target><target name="magedesign"><dir name="frontend"><dir name="default"><dir name="default"><dir name="layout"><file name="ship.xml" hash="7b6b6dcee52e6af102111b227da4b16d"/></dir><dir name="template"><dir name="ship"><dir name="checkout"><dir name="cart"><file name="totals.phtml" hash="96e28634c4a68102067349ef0149cd32"/></dir></dir><dir name="footer"><file name="js.phtml" hash="729153a7b05e9e397ad96abbda8e3a84"/></dir><file name="product_shipping.phtml" hash="a56e35a53ddf0484bc633d5d54fc9ea3"/><file name="shipping.phtml" hash="d885565bdd58f507fbbb4e0c6254c66a"/></dir><dir name="checkout"><dir name="onepage"><file name="shipping.phtml" hash="e13cf76a57a588f44e84ff12a56d2e46"/><file name=".DS_Store" hash="62c890ce978711988e86f245231d7b28"/></dir><file name=".DS_Store" hash="63ad22dc3e1a524e92945f9fbdf80e08"/></dir></dir></dir></dir><dir name="rwd"><dir name="default"><dir name="template"><dir name="ship"><dir name="checkout"><dir name="cart"><file name="totals.phtml" hash="96e28634c4a68102067349ef0149cd32"/></dir></dir><dir name="footer"><file name="js.phtml" hash="729153a7b05e9e397ad96abbda8e3a84"/></dir><file name="product_shipping.phtml" hash="f86fc4817054df798c0549970bc9dc16"/><file name="shipping.phtml" hash="a8e00a911251ba4af976d77b838feb01"/></dir><dir name="checkout"><dir name="onepage"><file name="custom-shipping.phtml" hash="88930ea6f21c47ef49243c55e28b2984"/></dir></dir></dir><dir name="layout"><file name="ship.xml" hash="7b6b6dcee52e6af102111b227da4b16d"/></dir></dir></dir></dir><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="template"><dir name="system"><dir name="config"><dir name="form"><dir name="field"><file name="couriersarray.phtml" hash="44fab4c7b846230f8802ae71706e4377"/></dir></dir></dir></dir></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Transdirect_Ship.xml" hash="fbc66a2834c10ad65dd55a7dd4bea798"/></dir></target><target name="mageskin"><dir name="frontend"><dir name="default"><dir name="default"><dir name="ship"><dir name="css"><file name="jquery.autoSuggest.css" hash="e976e6a48799083cf955aa5373d2838c"/></dir><dir name="js"><file name="jquery-1.11.0.js" hash="573025dfa115bc306dac7dfa18153675"/><file name="jquery.autoSuggest.js" hash="b1833197f28b1321b565b3c56b8a1403"/><file name="location_script.js" hash="9238343017e0cb8552bc7b02c6ad2c04"/></dir></dir></dir></dir><dir name="rwd"><dir name="default"><dir name="ship"><dir name="css"><file name="jquery.autoSuggest.css" hash="e976e6a48799083cf955aa5373d2838c"/></dir><dir name="js"><file name="jquery-1.11.0.js" hash="573025dfa115bc306dac7dfa18153675"/><file name="jquery.autoSuggest.js" hash="b1833197f28b1321b565b3c56b8a1403"/><file name="location_script.js" hash="9238343017e0cb8552bc7b02c6ad2c04"/></dir></dir></dir></dir></dir></target></contents>
|
38 |
<compatible/>
|
39 |
<dependencies><required><php><min>5.1.0</min><max>6.0.0</max></php></required></dependencies>
|
40 |
</package>
|