Thebod_Shippingrates - Version 1.0.7

Version Notes

* Fixed pre-1.6 filter bug

Download this release

Release Info

Developer Magento Core Team
Extension Thebod_Shippingrates
Version 1.0.7
Comparing to
See all releases


Code changes from version 1.0.6 to 1.0.7

app/code/community/Thebod/Shippingrates/Model/Carrier.php CHANGED
@@ -56,7 +56,7 @@ class Thebod_Shippingrates_Model_Carrier extends Mage_Shipping_Model_Carrier_Abs
56
  */
57
  public function checkRate(array $rate, Mage_Shipping_Model_Rate_Request $request)
58
  {
59
- if (!Mage::getSingleton('checkout/session')->hasQuote()) {
60
  return true;
61
  }
62
 
@@ -217,4 +217,4 @@ class Thebod_Shippingrates_Model_Carrier extends Mage_Shipping_Model_Carrier_Abs
217
  );
218
  return $allowedMethods;
219
  }
220
- }
56
  */
57
  public function checkRate(array $rate, Mage_Shipping_Model_Rate_Request $request)
58
  {
59
+ if (!Mage::getSingleton('checkout/session')->getQuoteId()) {
60
  return true;
61
  }
62
 
217
  );
218
  return $allowedMethods;
219
  }
220
+ }
app/locale/pt_PT/Thebod_Shippingrates.csv DELETED
@@ -1,14 +0,0 @@
1
- "Thebod Shippingrates","Thebod Shippingrates"
2
- "Enabled","Activo"
3
- "Enable Shippingrates?","Activar Portes de Envio?"
4
- "Method name","Método"
5
- "Displayed above shipping rates","Apresentar por cima dos portes de envio"
6
- "Shipping methods","Métodos de envio"
7
- "<b>code</b>: internal code, must be unique<br/><b>price</b>: price for this shipping method<br/><b>description</b>: description shown at checkout, html code supported, or use => and <= to bold text<br/><b>notification mail</b>: optional, if set a mail is send to this address after an order is placed using this shipping rate (useful for pickup-at-store configurations)","<b>código</b>: código interno, tem que ser único<br/><b>preço</b>: preço para este método de envio<br/><b>descrição</b>: descrição apresentada no checkout, suporta código html, ou o uso de => e <= para que o texto fique a negrito<br/><b>email para notificação</b>: opcional, se atribuído será enviado um email sempre que for efectuada uma encomenda com este método de envio (útil para configurações levantar na loja)"
8
- "Sort order","Ordenação"
9
- "Add","Adicionar"
10
- "Delete","Apagar"
11
- "code","código"
12
- "price","preço"
13
- "description","descrição"
14
- "notification mail (optional)","notificação de email (opcional)"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
package.xml CHANGED
@@ -1,7 +1,7 @@
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,13 +15,11 @@ 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.&#xD;
16
  &#xD;
17
  Fork me on Github https://github.com/thebod/Thebod_Shippingrates !</description>
18
- <notes>* Bugfix release&#xD;
19
- * Extended country filters (exclude countries)&#xD;
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>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Thebod_Shippingrates</name>
4
+ <version>1.0.7</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.&#xD;
16
  &#xD;
17
  Fork me on Github https://github.com/thebod/Thebod_Shippingrates !</description>
18
+ <notes>* Fixed pre-1.6 filter bug</notes>
 
 
19
  <authors><author><name>Bastian Ike</name><user>auto-converted</user><email>thebod@thebod.de</email></author></authors>
20
+ <date>2012-04-10</date>
21
+ <time>14:34:41</time>
22
+ <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="d45c013dea9772654b58bfb2df189947"/><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></target></contents>
23
  <compatible/>
24
  <dependencies/>
25
  </package>