Version Notes
* Remove HTML from product descriptions
Download this release
Release Info
Developer | Christiaan de Ridder |
Extension | Tritac_ChannelEngine |
Version | 3.2.0 |
Comparing to | |
See all releases |
Code changes from version 3.1.0 to 3.2.0
app/code/community/Tritac/ChannelEngine/Model/Observer.php
CHANGED
@@ -785,7 +785,7 @@ class Tritac_ChannelEngine_Model_Observer
|
|
785 |
|
786 |
$xml .= "<Type><![CDATA[".$product['type_id']."]]></Type>";
|
787 |
$xml .= "<Name><![CDATA[".$product['name']."]]></Name>";
|
788 |
-
$xml .= "<Description><![CDATA["
|
789 |
$xml .= "<Price><![CDATA[".$product['price']."]]></Price>";
|
790 |
$xml .= "<ListPrice><![CDATA[".$product['msrp']."]]></ListPrice>";
|
791 |
$xml .= "<PurchasePrice><![CDATA[".$product['cost']."]]></PurchasePrice>";
|
785 |
|
786 |
$xml .= "<Type><![CDATA[".$product['type_id']."]]></Type>";
|
787 |
$xml .= "<Name><![CDATA[".$product['name']."]]></Name>";
|
788 |
+
$xml .= "<Description><![CDATA[".strip_tags($product['description'])."]]></Description>";
|
789 |
$xml .= "<Price><![CDATA[".$product['price']."]]></Price>";
|
790 |
$xml .= "<ListPrice><![CDATA[".$product['msrp']."]]></ListPrice>";
|
791 |
$xml .= "<PurchasePrice><![CDATA[".$product['cost']."]]></PurchasePrice>";
|
app/code/community/Tritac/ChannelEngine/etc/config.xml
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
<config>
|
3 |
<modules>
|
4 |
<Tritac_ChannelEngine>
|
5 |
-
<version>3.
|
6 |
</Tritac_ChannelEngine>
|
7 |
</modules>
|
8 |
|
@@ -183,7 +183,7 @@
|
|
183 |
</fetch_channelengine_returns>
|
184 |
<generate_channelengine_feed>
|
185 |
<schedule>
|
186 |
-
<cron_expr
|
187 |
</schedule>
|
188 |
<run>
|
189 |
<model>channelengine/observer::generateFeed</model>
|
2 |
<config>
|
3 |
<modules>
|
4 |
<Tritac_ChannelEngine>
|
5 |
+
<version>3.2.0</version>
|
6 |
</Tritac_ChannelEngine>
|
7 |
</modules>
|
8 |
|
183 |
</fetch_channelengine_returns>
|
184 |
<generate_channelengine_feed>
|
185 |
<schedule>
|
186 |
+
<cron_expr>30 * * * *</cron_expr>
|
187 |
</schedule>
|
188 |
<run>
|
189 |
<model>channelengine/observer::generateFeed</model>
|
lib/Tritac/ChannelEngineApiClient/Models/Order.php
CHANGED
@@ -18,9 +18,9 @@ class Tritac_ChannelEngineApiClient_Models_Order extends Tritac_ChannelEngineApi
|
|
18 |
protected $orderDate;
|
19 |
protected $createdAt;
|
20 |
protected $updatedAt;
|
21 |
-
|
22 |
-
|
23 |
-
|
24 |
protected $billingAddress;
|
25 |
protected $cancellations;
|
26 |
protected $channelName;
|
@@ -28,7 +28,7 @@ class Tritac_ChannelEngineApiClient_Models_Order extends Tritac_ChannelEngineApi
|
|
28 |
protected $canShipPartialOrderLines;
|
29 |
|
30 |
protected $merchantId;
|
31 |
-
|
32 |
protected $shippingCostsInclVat;
|
33 |
protected $shippingCostsVat;
|
34 |
protected $subTotalInclVat;
|
@@ -76,14 +76,14 @@ class Tritac_ChannelEngineApiClient_Models_Order extends Tritac_ChannelEngineApi
|
|
76 |
function setUpdatedAt( $updatedAt) { $this->updatedAt = $updatedAt; }
|
77 |
function getUpdatedAt() { return $this->updatedAt; }
|
78 |
|
79 |
-
|
80 |
-
|
81 |
|
82 |
-
|
83 |
-
|
84 |
|
85 |
-
|
86 |
-
|
87 |
|
88 |
function setBillingAddress(Tritac_ChannelEngineApiClient_Models_Address $billingAddress) { $this->billingAddress = $billingAddress; }
|
89 |
function getBillingAddress() { return $this->billingAddress; }
|
@@ -103,8 +103,8 @@ class Tritac_ChannelEngineApiClient_Models_Order extends Tritac_ChannelEngineApi
|
|
103 |
function setMerchantId($merchantId) { $this->merchantId = $merchantId; }
|
104 |
function getMerchantId() { return $this->merchantId; }
|
105 |
|
106 |
-
|
107 |
-
|
108 |
|
109 |
function setShippingCostsInclVat($shippingCostsInclVat) { $this->shippingCostsInclVat = $shippingCostsInclVat; }
|
110 |
function getShippingCostsInclVat() { return $this->shippingCostsInclVat; }
|
18 |
protected $orderDate;
|
19 |
protected $createdAt;
|
20 |
protected $updatedAt;
|
21 |
+
protected $channelId;
|
22 |
+
protected $channelOrderNo;
|
23 |
+
protected $channelCustomerNo;
|
24 |
protected $billingAddress;
|
25 |
protected $cancellations;
|
26 |
protected $channelName;
|
28 |
protected $canShipPartialOrderLines;
|
29 |
|
30 |
protected $merchantId;
|
31 |
+
protected $merchantOrderNo;
|
32 |
protected $shippingCostsInclVat;
|
33 |
protected $shippingCostsVat;
|
34 |
protected $subTotalInclVat;
|
76 |
function setUpdatedAt( $updatedAt) { $this->updatedAt = $updatedAt; }
|
77 |
function getUpdatedAt() { return $this->updatedAt; }
|
78 |
|
79 |
+
function setChannelId($channelId) { $this->channelId = $channelId; }
|
80 |
+
function getChannelId() { return $this->channelId; }
|
81 |
|
82 |
+
function setChannelOrderNo($channelOrderNo) { $this->channelOrderNo = $channelOrderNo; }
|
83 |
+
function getChannelOrderNo() { return $this->channelOrderNo; }
|
84 |
|
85 |
+
function setChannelCustomerNo($channelCustomerNo) { $this->channelCustomerNo = $channelCustomerNo; }
|
86 |
+
function getChannelCustomerNo() { return $this->channelCustomerNo; }
|
87 |
|
88 |
function setBillingAddress(Tritac_ChannelEngineApiClient_Models_Address $billingAddress) { $this->billingAddress = $billingAddress; }
|
89 |
function getBillingAddress() { return $this->billingAddress; }
|
103 |
function setMerchantId($merchantId) { $this->merchantId = $merchantId; }
|
104 |
function getMerchantId() { return $this->merchantId; }
|
105 |
|
106 |
+
function setMerchantOrderNo($merchantOrderNo) { $this->merchantOrderNo = $merchantOrderNo; }
|
107 |
+
function getMerchantOrderNo() { return $this->merchantOrderNo; }
|
108 |
|
109 |
function setShippingCostsInclVat($shippingCostsInclVat) { $this->shippingCostsInclVat = $shippingCostsInclVat; }
|
110 |
function getShippingCostsInclVat() { return $this->shippingCostsInclVat; }
|
package.xml
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>Tritac_ChannelEngine</name>
|
4 |
-
<version>3.
|
5 |
<stability>stable</stability>
|
6 |
<license uri="http://opensource.org/licenses/osl-3.0.php">Open Software License (OSL)</license>
|
7 |
<channel>community</channel>
|
@@ -20,11 +20,11 @@ Features of ChannelEngine:
|
|
20 |
* Receive orders from marketplaces using one single connection.
|
21 |
* Using this magento extension you can connect to ChannelEngine instantly without any further configuration.
|
22 |
* For more information, visit: ChannelEngine.com</description>
|
23 |
-
<notes>*
|
24 |
-
<authors><author><name>Christiaan de Ridder</name><user>christiaander</user><email>
|
25 |
-
<date>2016-
|
26 |
-
<time>
|
27 |
-
<contents><target name="mageetc"><dir name="modules"><file name="Tritac_ChannelEngine.xml" hash="f6b4a6d9af9aa3bcd3019fd566d6a67c"/></dir></target><target name="magecommunity"><dir name="Tritac"><dir name="ChannelEngine"><dir name="Block"><dir name="Adminhtml"><dir name="System"><dir name="Config"><file name="Feed.php" hash="004083344207a444e00ebaf4a86835b9"/></dir></dir></dir><file name="Head.php" hash="74004d8749f6267c4ce024b47970af23"/></dir><dir name="Helper"><file name="Data.php" hash="7517ee0d0acd0567e1f1f14cf794107c"/></dir><dir name="Model"><dir name="Carrier"><file name="Channelengine.php" hash="b6e04e43096e934d57e8e8745dd67c75"/></dir><file name="Observer.php" hash="
|
28 |
<compatible/>
|
29 |
<dependencies><required><php><min>5.5.0</min><max>7.0.6</max></php><extension><name>curl</name><min>7.0</min><max>7.50</max></extension></required></dependencies>
|
30 |
</package>
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>Tritac_ChannelEngine</name>
|
4 |
+
<version>3.2.0</version>
|
5 |
<stability>stable</stability>
|
6 |
<license uri="http://opensource.org/licenses/osl-3.0.php">Open Software License (OSL)</license>
|
7 |
<channel>community</channel>
|
20 |
* Receive orders from marketplaces using one single connection.
|
21 |
* Using this magento extension you can connect to ChannelEngine instantly without any further configuration.
|
22 |
* For more information, visit: ChannelEngine.com</description>
|
23 |
+
<notes>* Remove HTML from product descriptions</notes>
|
24 |
+
<authors><author><name>Christiaan de Ridder</name><user>christiaander</user><email>support@channelengine.com</email></author></authors>
|
25 |
+
<date>2016-07-19</date>
|
26 |
+
<time>09:27:10</time>
|
27 |
+
<contents><target name="mageetc"><dir name="modules"><file name="Tritac_ChannelEngine.xml" hash="f6b4a6d9af9aa3bcd3019fd566d6a67c"/></dir></target><target name="magecommunity"><dir name="Tritac"><dir name="ChannelEngine"><dir name="Block"><dir name="Adminhtml"><dir name="System"><dir name="Config"><file name="Feed.php" hash="004083344207a444e00ebaf4a86835b9"/></dir></dir></dir><file name="Head.php" hash="74004d8749f6267c4ce024b47970af23"/></dir><dir name="Helper"><file name="Data.php" hash="7517ee0d0acd0567e1f1f14cf794107c"/></dir><dir name="Model"><dir name="Carrier"><file name="Channelengine.php" hash="b6e04e43096e934d57e8e8745dd67c75"/></dir><file name="Observer.php" hash="c89be8a6ac21dcc51cfc1e7ae3020ffd"/><file name="Order.php" hash="7b5d59152a0341cf5bff5b7adf6c76b7"/><dir name="Payment"><dir name="Method"><file name="Channelengine.php" hash="b938300284d504de42dd04777c45c75b"/></dir></dir><dir name="Resource"><dir name="Order"><file name="Collection.php" hash="fedd812bdf0090a36ce7bdd23e7876f5"/></dir><file name="Order.php" hash="cab73cceec877cda4daadc5c66f356fe"/><file name="Setup.php" hash="ed5ca35f61e6158a8b617630ae84c5b8"/><dir name="Shipment"><file name="Collection.php" hash="56e7c3bee221edefdcb587801bd36cc2"/></dir><file name="Shipment.php" hash="e09302f0ff110b94fc34031ee9255caa"/></dir><file name="Shipment.php" hash="5aa413e4e1ca441456d0d28ed541d2fc"/><dir name="System"><dir name="Config"><dir name="Source"><file name="Gtin.php" hash="d2c18169dfaf87a01d9d7357329f1c78"/><file name="Shipping.php" hash="00d71eaebba3014fe9d17ee75f7cf0a9"/></dir></dir></dir></dir><dir name="controllers"><dir name="Adminhtml"><file name="GenerateController.php" hash="b69ead94a34e01bdf093ee6282b66c18"/></dir></dir><dir name="etc"><file name="adminhtml.xml" hash="2a9dc6ac1738bebb470c1aa699478467"/><file name="config.xml" hash="8d998a5b7c4a96664fa7ebdaa06cd063"/><file name="system.xml" hash="b03c2dc362cc7cbf7334670afdf170ac"/></dir><dir name="sql"><dir name="channelengine_setup"><file name="mysql4-install-1.0.0.php" hash="6d04678d7750ff3de5a9eb697c13d52f"/><file name="mysql4-upgrade-2.6.0-2.7.0.php" hash="1f8c2f9d0239c9fbf31d3bfdd1c6cc46"/></dir></dir></dir></dir></target><target name="magelib"><dir name="Tritac"><dir name="ChannelEngineApiClient"><file name="AddTrustExternalCARoot.crt" hash="f85d1ff17b0079709f131f3ce3f288d2"/><file name="Client.php" hash="9e0065d5902495dcf12c6526a6309998"/><dir name="Enums"><file name="CancellationLineStatus.php" hash="b48713c95dea7855255eca6d9af68ba4"/><file name="CancellationStatus.php" hash="ea61f9cdf047d615c63d49e943ef7776"/><file name="Gender.php" hash="ec9d3e083df38a188c57b1015e011bce"/><file name="MancoReason.php" hash="b5a7ecf30975a494223df3135e111760"/><file name="OrderStatus.php" hash="451569e1788da5f08b01527ee86463cd"/><file name="ReturnAcceptStatus.php" hash="760598e7176288210d349686899e76aa"/><file name="ReturnReason.php" hash="9d8aea80edbb7d012e7abcbb0f54d5e4"/><file name="ReturnStatus.php" hash="7827e8d3b27faf6073835ecbcde1db6b"/><file name="ShipmentLineStatus.php" hash="ccdddd9f80610cbf284154db5930247a"/><file name="ShipmentStatus.php" hash="0b0351af3409590614ff249e1bac688e"/></dir><dir name="Helpers"><file name="Collection.php" hash="4dcae246e9de6e847818dc3be49ddad0"/><file name="HttpMethod.php" hash="79b753f221780fbf75773669cf3d1f86"/><file name="JsonMapper.php" hash="c8742a0636d3f866c8a1c2c97365cfb8"/></dir><dir name="Models"><file name="Address.php" hash="49a1cd2a405ba2832f638979a14c7187"/><file name="BaseModel.php" hash="9604e198f22fef25d60992c2cb9f506c"/><file name="Cancellation.php" hash="edddc28fc842661311da1d79f9b6b634"/><file name="CancellationLine.php" hash="f2eb604ccc7ea5678941394cb5861c48"/><file name="Message.php" hash="658c867e131588eb2520c349d6ebc5a7"/><file name="Order.php" hash="81ad5ab31f2b60f631e297c2cce9e251"/><file name="OrderExtraDataItem.php" hash="965abccf11c8157b7fd85e05a8ef4e28"/><file name="OrderLine.php" hash="78252a465c5f1b9b1c5e23c8ce09552d"/><file name="ReturnLine.php" hash="c011dfcf44f25b255e529fd26755fbd9"/><file name="ReturnObject.php" hash="28378a651ad7e41b127bfd1839f25dad"/><file name="Shipment.php" hash="c8903a23b59a1cada56b8518db56ce2d"/><file name="ShipmentLine.php" hash="0ca0e5441553f722ade5ad5924c9f801"/></dir><file name="loader.php" hash="5bba6033b0bdc5cb87afdbdde2deadf9"/></dir></dir></target><target name="magedesign"><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="channelengine.xml" hash="ae6a00b46a84a610964743034eb72081"/></dir><dir name="template"><file name="channelengine" hash=""/></dir></dir></dir></dir><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="template"><dir name="channelengine"><dir name="system"><dir name="config"><dir name="feed"><file name="generate_button.phtml" hash="ed8c5f4a81f19c7ceaacd1b1c004772e"/></dir></dir></dir></dir></dir></dir></dir></dir></target></contents>
|
28 |
<compatible/>
|
29 |
<dependencies><required><php><min>5.5.0</min><max>7.0.6</max></php><extension><name>curl</name><min>7.0</min><max>7.50</max></extension></required></dependencies>
|
30 |
</package>
|