Version Notes
* Bugfix release
* Extended country filters (exclude countries)
* Limit to payment methods
Download this release
Release Info
Developer | Magento Core Team |
Extension | Thebod_Shippingrates |
Version | 1.0.6 |
Comparing to | |
See all releases |
Code changes from version 1.0.5 to 1.0.6
app/code/community/Thebod/Shippingrates/Model/Observer.php
CHANGED
@@ -71,7 +71,7 @@ class Thebod_Shippingrates_Model_Observer
|
|
71 |
$filter = explode(';', $shippingConfig['filter'][$configKey]);
|
72 |
foreach ($filter as $k => $v) {
|
73 |
$v = explode(':', $v);
|
74 |
-
if (isset($v[1]) && ($v[0] == 'payment') && !in_array($method->getCode(), explode(',', $v[1]))) {
|
75 |
$checkResult->isAvailable = false;
|
76 |
}
|
77 |
}
|
71 |
$filter = explode(';', $shippingConfig['filter'][$configKey]);
|
72 |
foreach ($filter as $k => $v) {
|
73 |
$v = explode(':', $v);
|
74 |
+
if (isset($v[1]) && strlen($v[1]) && ($v[0] == 'payment') && !in_array($method->getCode(), explode(',', $v[1]))) {
|
75 |
$checkResult->isAvailable = false;
|
76 |
}
|
77 |
}
|
package.xml
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>Thebod_Shippingrates</name>
|
4 |
-
<version>1.0.
|
5 |
<stability>stable</stability>
|
6 |
<license uri="http://creativecommons.org/licenses/by/3.0/">CC-BY 3.0</license>
|
7 |
<channel>community</channel>
|
@@ -15,12 +15,13 @@ This simple module lets you define as many shipping methods as you need, with an
|
|
15 |
Very useful for 'pickup-at-store' or if you need a few self-specified fixed rates shipping methods.
|
16 |

|
17 |
Fork me on Github https://github.com/thebod/Thebod_Shippingrates !</description>
|
18 |
-
<notes>*
|
|
|
19 |
* Limit to payment methods</notes>
|
20 |
<authors><author><name>Bastian Ike</name><user>auto-converted</user><email>thebod@thebod.de</email></author></authors>
|
21 |
-
<date>2012-03-
|
22 |
-
<time>
|
23 |
-
<contents><target name="magecommunity"><dir name="Thebod"><dir name="Shippingrates"><dir name="Block"><dir name="Adminhtml"><file name="Config.php" hash="c3ff22b4e2f50e0990893a9e2f4e05cb"/></dir></dir><dir name="Helper"><file name="Data.php" hash="5354742180f98d13a69deb3a4a9ac89b"/></dir><dir name="Model"><dir name="System"><file name="Config.php" hash="bf385822d37c0566d8b3cccf4edb9d59"/></dir><file name="Carrier.php" hash="dc2681ec4f83015e239ca8a6a97ccd72"/><file name="Email.php" hash="b38b57d3c7b5a4ab87dbcb5d2ad00ac1"/><file name="Observer.php" hash="
|
24 |
<compatible/>
|
25 |
<dependencies/>
|
26 |
</package>
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>Thebod_Shippingrates</name>
|
4 |
+
<version>1.0.6</version>
|
5 |
<stability>stable</stability>
|
6 |
<license uri="http://creativecommons.org/licenses/by/3.0/">CC-BY 3.0</license>
|
7 |
<channel>community</channel>
|
15 |
Very useful for 'pickup-at-store' or if you need a few self-specified fixed rates shipping methods.
|
16 |

|
17 |
Fork me on Github https://github.com/thebod/Thebod_Shippingrates !</description>
|
18 |
+
<notes>* Bugfix release
|
19 |
+
* Extended country filters (exclude countries)
|
20 |
* Limit to payment methods</notes>
|
21 |
<authors><author><name>Bastian Ike</name><user>auto-converted</user><email>thebod@thebod.de</email></author></authors>
|
22 |
+
<date>2012-03-29</date>
|
23 |
+
<time>09:51:45</time>
|
24 |
+
<contents><target name="magecommunity"><dir name="Thebod"><dir name="Shippingrates"><dir name="Block"><dir name="Adminhtml"><file name="Config.php" hash="c3ff22b4e2f50e0990893a9e2f4e05cb"/></dir></dir><dir name="Helper"><file name="Data.php" hash="5354742180f98d13a69deb3a4a9ac89b"/></dir><dir name="Model"><dir name="System"><file name="Config.php" hash="bf385822d37c0566d8b3cccf4edb9d59"/></dir><file name="Carrier.php" hash="dc2681ec4f83015e239ca8a6a97ccd72"/><file name="Email.php" hash="b38b57d3c7b5a4ab87dbcb5d2ad00ac1"/><file name="Observer.php" hash="ee9ecdf080c4f6003d1b786280faf6f1"/></dir><dir name="etc"><file name="config.xml" hash="74bbede3e173d2a184f80051d6dc4838"/><file name="system.xml" hash="9d342162dceeebcdeacbfd544dddd350"/></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Thebod_Shippingrates.xml" hash="3696db1933b77f5e792c2bcc82d8216f"/></dir></target><target name="magelocale"><dir name="de_DE"><file name="Thebod_Shippingrates.csv" hash="c0e42c61094aa36c8b699b909581615f"/></dir><dir name="pt_PT"><file name="Thebod_Shippingrates.csv" hash="7873741ed92a4370a7280d4c76e7c1ee"/></dir></target></contents>
|
25 |
<compatible/>
|
26 |
<dependencies/>
|
27 |
</package>
|