Mage_Shipwire - Version 1.2.0

Version Notes

Shipwire Shipping Rating API integrated

Download this release

Release Info

Developer Magento Core Team
Extension Mage_Shipwire
Version 1.2.0
Comparing to
See all releases


Code changes from version 1.1.2 to 1.2.0

app/code/local/Shipwire/Shipping/Model/Carrier/ShippingMethod.php CHANGED
@@ -85,7 +85,12 @@ class Shipwire_Shipping_Model_Carrier_ShippingMethod extends Mage_Shipping_Model
85
  $address_city = $requestVar->dest_city;
86
  $address_region = $requestVar->dest_region_code;
87
  $address_country = $requestVar->dest_country_id;
88
- $address_postcode = $requestVar->postcode;
 
 
 
 
 
89
 
90
  $items = $requestVar->all_items;
91
 
85
  $address_city = $requestVar->dest_city;
86
  $address_region = $requestVar->dest_region_code;
87
  $address_country = $requestVar->dest_country_id;
88
+ $address_postcode =
89
+ !empty($requestVar->dest_postcode)
90
+ ? $requestVar->dest_postcode
91
+ : (!empty($requestVar->dest_zip)
92
+ ? $requestVar->dest_zip
93
+ : $requestVar->postcode);
94
 
95
  $items = $requestVar->all_items;
96
 
package.xml CHANGED
@@ -1,18 +1,18 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Mage_Shipwire</name>
4
- <version>1.1.2</version>
5
  <stability>stable</stability>
6
  <license uri="http://www.opensource.org/licenses/osl-3.0.php">OSL v3.0</license>
7
  <channel>community</channel>
8
  <extends/>
9
  <summary>Shipwire Extension</summary>
10
- <description>This includes shipwire shipping rating service</description>
11
  <notes>Shipwire Shipping Rating API integrated</notes>
12
- <authors><author><name>Shipwire</name><user>auto-converted</user><email>chang+dev@shipwire.com</email></author></authors>
13
- <date>2010-02-02</date>
14
- <time>01:07:08</time>
15
- <contents><target name="mage"><dir name="app"><dir name="etc"><dir name="modules"><file name="Shipwire_Shipping.xml" hash="89ae766499a54d75ac436f50efc2496c"/></dir></dir></dir></target><target name="magelocal"><dir name="Shipwire"><dir name="Shipping"><dir name="etc"><file name="config.xml" hash="1f073aae242b24b08032b22abf6c98c4"/><file name="system.xml" hash="0e5b1aafaa66a8d9a855078c76906568"/></dir><dir name="Model"><dir name="Carrier"><file name="Service.php" hash="aaceaced3d084b1130dc7d97c22ba140"/><file name="ShippingMethod.php" hash="c68e5fee998bd5c571b4ab4d5f4ffd2a"/></dir></dir></dir></dir></target></contents>
16
  <compatible/>
17
  <dependencies/>
18
  </package>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Mage_Shipwire</name>
4
+ <version>1.2.0</version>
5
  <stability>stable</stability>
6
  <license uri="http://www.opensource.org/licenses/osl-3.0.php">OSL v3.0</license>
7
  <channel>community</channel>
8
  <extends/>
9
  <summary>Shipwire Extension</summary>
10
+ <description>Shipwire Rating API shipping method</description>
11
  <notes>Shipwire Shipping Rating API integrated</notes>
12
+ <authors><author><name>Shipwire</name><user>auto-converted</user><email>magento-dev@shipwire.com</email></author></authors>
13
+ <date>2010-12-17</date>
14
+ <time>00:06:52</time>
15
+ <contents><target name="mage"><dir name="app"><dir name="etc"><dir name="modules"><file name="Shipwire_Shipping.xml" hash="89ae766499a54d75ac436f50efc2496c"/></dir></dir></dir></target><target name="magelocal"><dir name="Shipwire"><dir name="Shipping"><dir name="etc"><file name="config.xml" hash="1f073aae242b24b08032b22abf6c98c4"/><file name="system.xml" hash="0e5b1aafaa66a8d9a855078c76906568"/></dir><dir name="Model"><dir name="Carrier"><file name="Service.php" hash="aaceaced3d084b1130dc7d97c22ba140"/><file name="ShippingMethod.php" hash="38790354ca0e9f76b0e3e38620cc76e9"/></dir></dir></dir></dir></target></contents>
16
  <compatible/>
17
  <dependencies/>
18
  </package>