Version Notes
Release 1.90.25
Download this release
Release Info
Developer | Codisto |
Extension | codistoconnect |
Version | 1.90.25 |
Comparing to | |
See all releases |
Code changes from version 1.90.24 to 1.90.25
- app/code/community/Codisto/Sync/controllers/IndexController.php +8 -8
- app/code/community/Codisto/Sync/data/codisto_setup/{data-install-1.90.24.php → data-install-1.90.25.php} +0 -0
- app/code/community/Codisto/Sync/etc/config.xml +1 -1
- app/code/community/Codisto/Sync/sql/codisto_setup/{mysql4-install-1.90.24.php → mysql4-install-1.90.25.php} +0 -0
- package.xml +5 -5
app/code/community/Codisto/Sync/controllers/IndexController.php
CHANGED
@@ -676,13 +676,13 @@ class Codisto_Sync_IndexController extends Mage_Core_Controller_Front_Action
|
|
676 |
$taxpercent = $price == 0 ? 0 : round($priceinctax / $price - 1.0, 2) * 100;
|
677 |
$weight = $orderline->weight[0];
|
678 |
|
679 |
-
if($weightunit
|
680 |
$weightactual = floatval($weight);
|
681 |
-
else if($weightunit
|
682 |
$weightactual = floatval($weight / 1000);
|
683 |
-
else if($weightunit
|
684 |
$weightactual = floatval($weight / 453.592);
|
685 |
-
else if($weightunit
|
686 |
$weightactual = floatval($weight / 28.3495);
|
687 |
|
688 |
if($weightactual == 0)
|
@@ -1254,13 +1254,13 @@ class Codisto_Sync_IndexController extends Mage_Core_Controller_Front_Action
|
|
1254 |
$taxpercent = $price == 0 ? 0 : round($priceinctax / $price - 1.0, 2) * 100;
|
1255 |
$weight = $orderline->weight[0];
|
1256 |
|
1257 |
-
if($weightunit
|
1258 |
$weightactual = floatval($weight);
|
1259 |
-
else if($weightunit
|
1260 |
$weightactual = floatval($weight / 1000);
|
1261 |
-
else if($weightunit
|
1262 |
$weightactual = floatval($weight / 453.592);
|
1263 |
-
else if($weightunit
|
1264 |
$weightactual = floatval($weight / 28.3495);
|
1265 |
|
1266 |
if($weightactual == 0)
|
676 |
$taxpercent = $price == 0 ? 0 : round($priceinctax / $price - 1.0, 2) * 100;
|
677 |
$weight = $orderline->weight[0];
|
678 |
|
679 |
+
if(!$weightunit || $weightunit == 'g')
|
680 |
$weightactual = floatval($weight);
|
681 |
+
else if($weightunit == 'kg')
|
682 |
$weightactual = floatval($weight / 1000);
|
683 |
+
else if($weightunit == 'pounds')
|
684 |
$weightactual = floatval($weight / 453.592);
|
685 |
+
else if($weightunit == 'ounces')
|
686 |
$weightactual = floatval($weight / 28.3495);
|
687 |
|
688 |
if($weightactual == 0)
|
1254 |
$taxpercent = $price == 0 ? 0 : round($priceinctax / $price - 1.0, 2) * 100;
|
1255 |
$weight = $orderline->weight[0];
|
1256 |
|
1257 |
+
if(!$weightunit || $weightunit == 'g')
|
1258 |
$weightactual = floatval($weight);
|
1259 |
+
else if($weightunit == 'kg')
|
1260 |
$weightactual = floatval($weight / 1000);
|
1261 |
+
else if($weightunit == 'pounds')
|
1262 |
$weightactual = floatval($weight / 453.592);
|
1263 |
+
else if($weightunit == 'ounces')
|
1264 |
$weightactual = floatval($weight / 28.3495);
|
1265 |
|
1266 |
if($weightactual == 0)
|
app/code/community/Codisto/Sync/data/codisto_setup/{data-install-1.90.24.php → data-install-1.90.25.php}
RENAMED
File without changes
|
app/code/community/Codisto/Sync/etc/config.xml
CHANGED
@@ -23,7 +23,7 @@
|
|
23 |
<config>
|
24 |
<modules>
|
25 |
<Codisto_Sync>
|
26 |
-
<version>1.90.
|
27 |
<depends>
|
28 |
<Mage_Payment/>
|
29 |
</depends>
|
23 |
<config>
|
24 |
<modules>
|
25 |
<Codisto_Sync>
|
26 |
+
<version>1.90.25</version>
|
27 |
<depends>
|
28 |
<Mage_Payment/>
|
29 |
</depends>
|
app/code/community/Codisto/Sync/sql/codisto_setup/{mysql4-install-1.90.24.php → mysql4-install-1.90.25.php}
RENAMED
File without changes
|
package.xml
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>codistoconnect</name>
|
4 |
-
<version>1.90.
|
5 |
<stability>stable</stability>
|
6 |
<license uri="http://opensource.org/licenses/Apache-2.0">Apache 2</license>
|
7 |
<channel>community</channel>
|
@@ -16,11 +16,11 @@ Only simple products are supported.
|
|
16 |
You will be required to authorise us to make listings on your behalf. This is easy to do and can be done in 3 steps.
|
17 |

|
18 |
</description>
|
19 |
-
<notes>
|
20 |
<authors><author><name>Codisto</name><user>codistodev</user><email>ebay@codisto.com</email></author></authors>
|
21 |
-
<date>2017-
|
22 |
-
<time>
|
23 |
-
<contents><target name="magecommunity"><dir name="Codisto"><dir name="Sync"><dir name="Block"><file name="PaymentInfo.php" hash="7aa15fed37766d20d9d5a7d707aff80d"/></dir><dir name="Controller"><file name="Router.php" hash="9dbb9e0e72e5eb0eda425f450542e4db"/></dir><dir name="Ebaypayment"><dir name="Model"><file name="Paymentmethod.php" hash="480787461a5b952a739f20a752bffb5d"/></dir></dir><dir name="Helper"><file name="CmsContent.php" hash="f00b4523d681c60c660089d0de0f2e03"/><file name="Data.php" hash="8a0721d8d2d882c4ba64e9dab9de4fe9"/><file name="Signal.php" hash="998380ec7df67fe41a27475fc7fe7ed2"/></dir><dir name="Model"><dir name="Indexer"><file name="Ebay.php" hash="556b1aabc7c3202f31a2e6c250e7d590"/></dir><file name="Observer.php" hash="3349b89012cb681a7a61cecbd4a9f7bf"/><dir name="Resource"><dir name="Mysql4"><file name="Setup.php" hash="6a6664ea18d93bcdd0f45530caa56244"/></dir></dir><file name="Sync.php" hash="ff65f14d0d85f44014a4c2f575145dac"/></dir><dir name="Test"><dir name="Config"><file name="AdminHtml.php" hash="6ee6404e52ed6376ad41b7556f265c32"/><dir name="Config"><dir name="expectations"><file name="testCodistoCoreConfig.yaml" hash="4a4e07f62981139ff6eb8a63420cbf0d"/></dir></dir><file name="Config.php" hash="2e9023fcbab484d03936394934f44f13"/></dir><dir name="Controller"><file name="Router.php" hash="8afc0dca269dd0977ff6b3ac6802d0ee"/></dir><dir name="Controllers"><file name="CodistoController.php" hash="a2be4faeac73ff1847c0d7dc4fbdc0e0"/><file name="IndexController.php" hash="f7252fae8d2f7b67397ae56524db49d1"/><file name="SyncController.php" hash="33436e4935631488073765d723a82ff7"/></dir><dir name="Model"><file name="Paymentmethod.php" hash="862365909073ffbba057f6f152933826"/><file name="Sync.php" hash="10a38bbb62260208a8b1529e762b7b75"/></dir><file name="README" hash="8299e52f9198536ff5fd3fb42f4a29d8"/></dir><dir name="controllers"><file name="CodistoController.php" hash="eccbf167582d60ae559b7455b9b8e7ea"/><file name="IndexController.php" hash="
|
24 |
<compatible/>
|
25 |
<dependencies><required><php><min>5.2.0</min><max>6.0.0</max></php></required></dependencies>
|
26 |
</package>
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>codistoconnect</name>
|
4 |
+
<version>1.90.25</version>
|
5 |
<stability>stable</stability>
|
6 |
<license uri="http://opensource.org/licenses/Apache-2.0">Apache 2</license>
|
7 |
<channel>community</channel>
|
16 |
You will be required to authorise us to make listings on your behalf. This is easy to do and can be done in 3 steps.
|
17 |

|
18 |
</description>
|
19 |
+
<notes>Release 1.90.25</notes>
|
20 |
<authors><author><name>Codisto</name><user>codistodev</user><email>ebay@codisto.com</email></author></authors>
|
21 |
+
<date>2017-02-03</date>
|
22 |
+
<time>02:02:16</time>
|
23 |
+
<contents><target name="magecommunity"><dir name="Codisto"><dir name="Sync"><dir name="Block"><file name="PaymentInfo.php" hash="7aa15fed37766d20d9d5a7d707aff80d"/></dir><dir name="Controller"><file name="Router.php" hash="9dbb9e0e72e5eb0eda425f450542e4db"/></dir><dir name="Ebaypayment"><dir name="Model"><file name="Paymentmethod.php" hash="480787461a5b952a739f20a752bffb5d"/></dir></dir><dir name="Helper"><file name="CmsContent.php" hash="f00b4523d681c60c660089d0de0f2e03"/><file name="Data.php" hash="8a0721d8d2d882c4ba64e9dab9de4fe9"/><file name="Signal.php" hash="998380ec7df67fe41a27475fc7fe7ed2"/></dir><dir name="Model"><dir name="Indexer"><file name="Ebay.php" hash="556b1aabc7c3202f31a2e6c250e7d590"/></dir><file name="Observer.php" hash="3349b89012cb681a7a61cecbd4a9f7bf"/><dir name="Resource"><dir name="Mysql4"><file name="Setup.php" hash="6a6664ea18d93bcdd0f45530caa56244"/></dir></dir><file name="Sync.php" hash="ff65f14d0d85f44014a4c2f575145dac"/></dir><dir name="Test"><dir name="Config"><file name="AdminHtml.php" hash="6ee6404e52ed6376ad41b7556f265c32"/><dir name="Config"><dir name="expectations"><file name="testCodistoCoreConfig.yaml" hash="4a4e07f62981139ff6eb8a63420cbf0d"/></dir></dir><file name="Config.php" hash="2e9023fcbab484d03936394934f44f13"/></dir><dir name="Controller"><file name="Router.php" hash="8afc0dca269dd0977ff6b3ac6802d0ee"/></dir><dir name="Controllers"><file name="CodistoController.php" hash="a2be4faeac73ff1847c0d7dc4fbdc0e0"/><file name="IndexController.php" hash="f7252fae8d2f7b67397ae56524db49d1"/><file name="SyncController.php" hash="33436e4935631488073765d723a82ff7"/></dir><dir name="Model"><file name="Paymentmethod.php" hash="862365909073ffbba057f6f152933826"/><file name="Sync.php" hash="10a38bbb62260208a8b1529e762b7b75"/></dir><file name="README" hash="8299e52f9198536ff5fd3fb42f4a29d8"/></dir><dir name="controllers"><file name="CodistoController.php" hash="eccbf167582d60ae559b7455b9b8e7ea"/><file name="IndexController.php" hash="298af3c37cf75bb373acc3b7e1d7f807"/><file name="IndexController.php.save" hash="24cc504720034f8c02ad9b889676abd0"/><file name="SyncController.php" hash="53b704f555e96f83e125151434dc763f"/></dir><dir name="data"><dir name="codisto_setup"><file name="data-install-1.90.25.php" hash="29334830432cf1a02e4a992b9a42d6c5"/></dir></dir><dir name="etc"><file name="adminhtml.xml" hash="9503ace98df8dfa2f2ec460b30e1053d"/><file name="config.xml" hash="aeceb5d83903c24a24e1543d449a386b"/></dir><dir name="sql"><dir name="codisto_setup"><file name="mysql4-install-1.90.25.php" hash="f5e7410bdb70ae4c021e3d257ccbf9a9"/></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Codisto_Sync.xml" hash="a791bc2a9302d085eb29edf77421f525"/></dir></target></contents>
|
24 |
<compatible/>
|
25 |
<dependencies><required><php><min>5.2.0</min><max>6.0.0</max></php></required></dependencies>
|
26 |
</package>
|