Version Notes
Fixed export of order email address
Download this release
Release Info
Developer | ASSURINTYglobal |
Extension | ASSURINTYglobal_Magento_ESP |
Version | 0.1.5 |
Comparing to | |
See all releases |
Code changes from version 0.1.4 to 0.1.5
app/code/community/CLS/Assuranty/CHANGELOG.txt
CHANGED
@@ -1,3 +1,7 @@
|
|
|
|
|
|
|
|
|
|
1 |
CLS_Assuranty 0.1.4 (2015-05-29)
|
2 |
=======================================
|
3 |
Change to product list
|
1 |
+
CLS_Assuranty 0.1.5 (2015-09-07)
|
2 |
+
=======================================
|
3 |
+
Fixed export of order email address
|
4 |
+
|
5 |
CLS_Assuranty 0.1.4 (2015-05-29)
|
6 |
=======================================
|
7 |
Change to product list
|
app/code/community/CLS/Assuranty/Model/Cron.php
CHANGED
@@ -110,7 +110,7 @@ class CLS_Assuranty_Model_Cron
|
|
110 |
->getSelect()
|
111 |
->where('sku IN (?)', $warrantySkus)
|
112 |
->group('main_table.order_id');
|
113 |
-
|
114 |
if ($orderItemsCollection->getSize()) {
|
115 |
$assurantyOrdersFile = Mage::getBaseDir() . DS . 'var' . DS . 'export' . DS . self::ORDERS_LOCAL_CSV_NAME;
|
116 |
@unlink($assurantyOrdersFile);
|
@@ -137,6 +137,7 @@ class CLS_Assuranty_Model_Cron
|
|
137 |
|
138 |
protected function _exportOrderItemAndSiblings($orderItem, $handle)
|
139 |
{
|
|
|
140 |
$order = $orderItem->getOrder();
|
141 |
$orderAddress = $order->getAddressesCollection()->getFirstItem();
|
142 |
|
@@ -152,7 +153,7 @@ class CLS_Assuranty_Model_Cron
|
|
152 |
'customer_city' => $orderAddress->getCity(),
|
153 |
'customer_state' => $orderAddress->getRegion(),
|
154 |
'customer_zip_code' => $orderAddress->getPostcode(),
|
155 |
-
'customer_email' => $order->
|
156 |
'customer_telephone' => $orderAddress->getTelephone(),
|
157 |
'qty_backordered' => $orderItem->getQtyBackordered(),
|
158 |
'qty_canceled' => $orderItem->getQtyCanceled(),
|
110 |
->getSelect()
|
111 |
->where('sku IN (?)', $warrantySkus)
|
112 |
->group('main_table.order_id');
|
113 |
+
|
114 |
if ($orderItemsCollection->getSize()) {
|
115 |
$assurantyOrdersFile = Mage::getBaseDir() . DS . 'var' . DS . 'export' . DS . self::ORDERS_LOCAL_CSV_NAME;
|
116 |
@unlink($assurantyOrdersFile);
|
137 |
|
138 |
protected function _exportOrderItemAndSiblings($orderItem, $handle)
|
139 |
{
|
140 |
+
/** @var Mage_Sales_Model_Order $order */
|
141 |
$order = $orderItem->getOrder();
|
142 |
$orderAddress = $order->getAddressesCollection()->getFirstItem();
|
143 |
|
153 |
'customer_city' => $orderAddress->getCity(),
|
154 |
'customer_state' => $orderAddress->getRegion(),
|
155 |
'customer_zip_code' => $orderAddress->getPostcode(),
|
156 |
+
'customer_email' => $order->getCustomerEmail(),
|
157 |
'customer_telephone' => $orderAddress->getTelephone(),
|
158 |
'qty_backordered' => $orderItem->getQtyBackordered(),
|
159 |
'qty_canceled' => $orderItem->getQtyCanceled(),
|
app/code/community/CLS/Assuranty/etc/config.xml
CHANGED
@@ -30,7 +30,7 @@
|
|
30 |
<config>
|
31 |
<modules>
|
32 |
<CLS_Assuranty>
|
33 |
-
<version>0.1.
|
34 |
</CLS_Assuranty>
|
35 |
</modules>
|
36 |
<global>
|
30 |
<config>
|
31 |
<modules>
|
32 |
<CLS_Assuranty>
|
33 |
+
<version>0.1.5</version>
|
34 |
</CLS_Assuranty>
|
35 |
</modules>
|
36 |
<global>
|
package.xml
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>ASSURINTYglobal_Magento_ESP</name>
|
4 |
-
<version>0.1.
|
5 |
<stability>stable</stability>
|
6 |
<license uri="http://opensource.org/licenses/osl-3.0.php">Open Software License (OSL)</license>
|
7 |
<channel>community</channel>
|
@@ -64,11 +64,11 @@ You and your customers will enjoy our courteous, dedicated customer service staf
|
|
64 |
If you would like to install the plugin but need additional information, please call us at (609) 616-3900 or email magento@ASSURINTYglobal.com. 
|
65 |
<br /><br />
|
66 |
We look forward to partnering with you!</description>
|
67 |
-
<notes>
|
68 |
<authors><author><name>ASSURINTYglobal</name><user>assurintyglobal</user><email>magento@ASSURINTYglobal.com</email></author></authors>
|
69 |
-
<date>2015-
|
70 |
-
<time>
|
71 |
-
<contents><target name="magecommunity"><dir name="CLS"><dir name="Assuranty"><dir name="Block"><dir name="Adminhtml"><dir name="Edit"><dir name="Form"><dir name="Renderer"><file name="Billingadditional.php" hash="564dde8e14ac27716688f0f1668d2d6f"/></dir></dir><file name="Form.php" hash="497970d31f02a8084002c06267592bec"/></dir><file name="Edit.php" hash="fa14a69c653397255d26e26971fd0479"/></dir><file name="Head.php" hash="3ee5637c908182f79ba64fac7e99c554"/></dir><file name="CHANGELOG.txt" hash="
|
72 |
<compatible/>
|
73 |
<dependencies><required><php><min>5.2.0</min><max>6.0.0</max></php></required></dependencies>
|
74 |
</package>
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>ASSURINTYglobal_Magento_ESP</name>
|
4 |
+
<version>0.1.5</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>
|
64 |
If you would like to install the plugin but need additional information, please call us at (609) 616-3900 or email magento@ASSURINTYglobal.com. 
|
65 |
<br /><br />
|
66 |
We look forward to partnering with you!</description>
|
67 |
+
<notes>Fixed export of order email address</notes>
|
68 |
<authors><author><name>ASSURINTYglobal</name><user>assurintyglobal</user><email>magento@ASSURINTYglobal.com</email></author></authors>
|
69 |
+
<date>2015-09-07</date>
|
70 |
+
<time>16:28:34</time>
|
71 |
+
<contents><target name="magecommunity"><dir name="CLS"><dir name="Assuranty"><dir name="Block"><dir name="Adminhtml"><dir name="Edit"><dir name="Form"><dir name="Renderer"><file name="Billingadditional.php" hash="564dde8e14ac27716688f0f1668d2d6f"/></dir></dir><file name="Form.php" hash="497970d31f02a8084002c06267592bec"/></dir><file name="Edit.php" hash="fa14a69c653397255d26e26971fd0479"/></dir><file name="Head.php" hash="3ee5637c908182f79ba64fac7e99c554"/></dir><file name="CHANGELOG.txt" hash="0d09702bf213e8d8638f7889a9c08ad5"/><dir name="Helper"><file name="Config.php" hash="a89e061f02be5cc83e1a548ceeb54ee6"/><file name="Data.php" hash="48611b3c79a079eebafb388fe493f22b"/><file name="Setup.php" hash="0111d9f998e582101d28bdfccc73e9fd"/></dir><file name="LICENSE.txt" hash="71db18446bebc23ced8dd62644d16b5f"/><dir name="Model"><dir name="Catalog"><dir name="Product"><file name="Collection.php" hash="fc3890236304ac81a9eb0c89ea43d7bb"/></dir></dir><dir name="Convert"><dir name="Adapter"><file name="Io.php" hash="34a3ebc7e00846abf9bc5adb4698027e"/><file name="Product.php" hash="8ab59c8b53b8c716571ac80b57959c67"/></dir><dir name="Parser"><file name="Product.php" hash="784314386503515dc4d4da1554486fc3"/></dir></dir><file name="Cron.php" hash="4fd844fbe9358dceae166877e027f8b1"/><file name="Feed.php" hash="709cab04e84357eeb41b35745161f927"/><file name="Observer.php" hash="5352bb7edeac696af2f1a5eb230beb65"/></dir><file name="README.md" hash="da5b7fe053cb155f1b1a613bf8c0e365"/><dir name="controllers"><dir name="Adminhtml"><dir name="Assurintyglobal"><file name="FormController.php" hash="0e6abd322534143c7f5fc94b16e48b10"/></dir></dir></dir><dir name="etc"><file name="adminhtml.xml" hash="6484f9158c209915d0ded5d38bf62949"/><file name="config.xml" hash="4ca0090e2866feb352ae8fd80bc16472"/><file name="system.xml" hash="70899d66456a8533181cbe7db8248f13"/></dir></dir></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="template"><dir name="cls_assuranty"><dir name="edit"><dir name="form"><dir name="renderer"><file name="billingadditional.phtml" hash="0124376e716781fff14981871c3e15ae"/></dir></dir></dir></dir></dir></dir></dir></dir><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="cls_assuranty.xml" hash="c21993993db4a8ce6fac17118804b77a"/></dir><dir name="template"><dir name="cls_assuranty"><file name="head.phtml" hash="bc3b9e0b2c1f67114236ca73d676169a"/></dir></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="CLS_Assuranty.xml" hash="c6f4de8c52433eb8302b39c38b239fdb"/></dir></target><target name="magelocale"><dir name="en_US"><dir name="template"><dir name="email"><file name="signup.html" hash="f3a1bc94eb1a94f69fae31b45acf83da"/></dir></dir><file name="CLS_Assuranty.csv" hash="55d2fcd2bdba80bc893b3d554d58a561"/></dir></target><target name="magemedia"><dir name="import"><file name="assurintygrey.jpg" hash="7e7ca9c42e62720983a287f53688cb14"/></dir></target><target name="mageskin"><dir name="frontend"><dir name="base"><dir name="default"><dir name="cls_assuranty"><file name="cls_assuranty.css" hash="d41d8cd98f00b204e9800998ecf8427e"/></dir></dir></dir></dir></target><target name="mage"><dir name="var"><dir name="cls_assuranty"><file name="sku_assuranty.csv" hash="c11f62d04d23c488b0379d4478b208fe"/></dir></dir></target></contents>
|
72 |
<compatible/>
|
73 |
<dependencies><required><php><min>5.2.0</min><max>6.0.0</max></php></required></dependencies>
|
74 |
</package>
|