LithiumSoftware_Akhilleus - Version 1.0.5

Version Notes

Bug fix: sending cart items

Download this release

Release Info

Developer Frenet
Extension LithiumSoftware_Akhilleus
Version 1.0.5
Comparing to
See all releases


Code changes from version 1.0.4 to 1.0.5

app/code/community/LithiumSoftware/Akhilleus/Model/Carrier/Akhilleus.php CHANGED
@@ -163,7 +163,7 @@ class LithiumSoftware_Akhilleus_Model_Carrier_Akhilleus
163
  //$this->_log('Quantidade: ' . $this->_productsQty[$i]);
164
 
165
  $shippingItem = new stdClass();
166
- $shippingItem->Weight = $this->_fixWeight($productObj->getWeight()) * $this->_productsQty[$i];
167
  if ($this->getConfigFlag('use_default'))
168
  {
169
  $shippingItem->Length = $this->getConfigData('default_length'); //16
@@ -205,8 +205,11 @@ class LithiumSoftware_Akhilleus_Model_Carrier_Akhilleus
205
  else
206
  $shippingItem->isFragile=false;
207
 
208
- $shippingItemArray[$count] = $shippingItem;
209
- $count++;
 
 
 
210
  }
211
 
212
  $service_param = array (
163
  //$this->_log('Quantidade: ' . $this->_productsQty[$i]);
164
 
165
  $shippingItem = new stdClass();
166
+ $shippingItem->Weight = $this->_fixWeight($productObj->getWeight());
167
  if ($this->getConfigFlag('use_default'))
168
  {
169
  $shippingItem->Length = $this->getConfigData('default_length'); //16
205
  else
206
  $shippingItem->isFragile=false;
207
 
208
+ for($z =0; $z < $this->_productsQty[$i]; $z++){
209
+ $tmp = clone($shippingItem);
210
+ $shippingItemArray[$count] = $tmp;
211
+ $count++;
212
+ }
213
  }
214
 
215
  $service_param = array (
app/code/community/LithiumSoftware/Akhilleus/etc/config.xml CHANGED
@@ -14,7 +14,7 @@
14
  <config>
15
  <modules>
16
  <LithiumSoftware_Akhilleus>
17
- <version>1.0.4</version>
18
  <depends>
19
  <Mage_Shipping/>
20
  </depends>
14
  <config>
15
  <modules>
16
  <LithiumSoftware_Akhilleus>
17
+ <version>1.0.5</version>
18
  <depends>
19
  <Mage_Shipping/>
20
  </depends>
package.xml CHANGED
@@ -1,7 +1,7 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>LithiumSoftware_Akhilleus</name>
4
- <version>1.0.4</version>
5
  <stability>stable</stability>
6
  <license uri="http://opensource.org/licenses/MIT">MIT</license>
7
  <channel>community</channel>
@@ -9,11 +9,11 @@
9
  <summary>Frenet allows merchants to display freight options from multiple carriers, including brazilian Correios.</summary>
10
  <description>The Frenet freight gateway is able to integrate and process tables of freight carriers and brazilian Correios. The freight calculation for the brazilian Correios services is done on-line (via Correios webservice) or in case of unavailability, uses database in the cloud highly available and regularly updated automatically, with the values of quotations. &#xD;
11
  It provides to the store owners, major carriers in Brazil to transport large volumes as well as JadLog, TNT, Direct, Total Express, JAMEF among others.</description>
12
- <notes>Changes to calculation of international freight - Correios Exporta F&#xE1;cil</notes>
13
  <authors><author><name>Frenet</name><user>MAG002970201</user><email>contato@frenet.com.br</email></author></authors>
14
- <date>2016-06-06</date>
15
- <time>21:11:24</time>
16
- <contents><target name="magecommunity"><dir name="LithiumSoftware"><dir name="Akhilleus"><dir name="Helper"><file name="Data.php" hash="fae99f78422836771d71873f253e8471"/></dir><dir name="Model"><dir name="Carrier"><file name="Akhilleus.php" hash="140fb55b0adc541a2031528c9b9fef19"/></dir><file name="Observer.php" hash="927d49b0b02ecfe36aa708a7f186422a"/><dir name="Source"><file name="WeightType.php" hash="90bd2253381d2c2094aa0183e3129eb7"/></dir></dir><dir name="etc"><file name="config.xml" hash="71710774ce6a68a2534b5a727cb3273b"/><file name="system.xml" hash="162638242c34a75a65091ec10b971741"/></dir><dir name="sql"><dir name="akhilleus_setup"><file name="install-1.0.0.php" hash="17104e4cf30a39bd0980837310ae940a"/></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="LithiumSoftware_Akhilleus.xml" hash="ad180127bc24251a43a18818f2a30c21"/></dir></target></contents>
17
  <compatible/>
18
  <dependencies><required><php><min>5.2.0</min><max>6.0.0</max></php></required></dependencies>
19
  </package>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>LithiumSoftware_Akhilleus</name>
4
+ <version>1.0.5</version>
5
  <stability>stable</stability>
6
  <license uri="http://opensource.org/licenses/MIT">MIT</license>
7
  <channel>community</channel>
9
  <summary>Frenet allows merchants to display freight options from multiple carriers, including brazilian Correios.</summary>
10
  <description>The Frenet freight gateway is able to integrate and process tables of freight carriers and brazilian Correios. The freight calculation for the brazilian Correios services is done on-line (via Correios webservice) or in case of unavailability, uses database in the cloud highly available and regularly updated automatically, with the values of quotations. &#xD;
11
  It provides to the store owners, major carriers in Brazil to transport large volumes as well as JadLog, TNT, Direct, Total Express, JAMEF among others.</description>
12
+ <notes>Bug fix: sending cart items</notes>
13
  <authors><author><name>Frenet</name><user>MAG002970201</user><email>contato@frenet.com.br</email></author></authors>
14
+ <date>2016-06-17</date>
15
+ <time>19:29:49</time>
16
+ <contents><target name="magecommunity"><dir name="LithiumSoftware"><dir name="Akhilleus"><dir name="Helper"><file name="Data.php" hash="fae99f78422836771d71873f253e8471"/></dir><dir name="Model"><dir name="Carrier"><file name="Akhilleus.php" hash="d0b349b07e0946b4262227a83d800faa"/></dir><file name="Observer.php" hash="927d49b0b02ecfe36aa708a7f186422a"/><dir name="Source"><file name="WeightType.php" hash="90bd2253381d2c2094aa0183e3129eb7"/></dir></dir><dir name="etc"><file name="config.xml" hash="f2102dfea3ac1af03ace4bcf76e9ca04"/><file name="system.xml" hash="162638242c34a75a65091ec10b971741"/></dir><dir name="sql"><dir name="akhilleus_setup"><file name="install-1.0.0.php" hash="17104e4cf30a39bd0980837310ae940a"/></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="LithiumSoftware_Akhilleus.xml" hash="ad180127bc24251a43a18818f2a30c21"/></dir></target></contents>
17
  <compatible/>
18
  <dependencies><required><php><min>5.2.0</min><max>6.0.0</max></php></required></dependencies>
19
  </package>