Minubo_Interface - Version 1.1.30

Version Notes

Bugfix Counter-Call; Customer now shows Magento Customer ID as Customer-Number in minubo

Download this release

Release Info

Developer sven rothe
Extension Minubo_Interface
Version 1.1.30
Comparing to
See all releases


Code changes from version 1.1.28 to 1.1.30

app/code/community/Minubo/Interface/Model/Mysql4/Orderaddresses.php CHANGED
@@ -13,14 +13,14 @@ protected function getColumns() {
13
  'oab.country_id','oab.postcode','oab.region','oab.region_id','oab.address_type',
14
  'oas.entity_id as shippingIncrementKey','oas.city as shippingCity','oas.country_id as shippingCountry',
15
  'oas.postcode as shippingPostcode','oas.region as shippingRegion','oas.region_id as shippingRegionId',
16
- 'oas.address_type as shippingAddressType','md5(o.customer_email) as Customer_HashCode');
17
  $showemail = Mage::getStoreConfig('minubo_interface/settings/showemail',Mage::app()->getStore());
18
  if($showemail)
19
  $field1 = 'email';
20
  else
21
  $field1 = 'substring(oab.email,1,0) as email';
22
- $field2 = 'cg.customer_group_code';
23
- return array_merge($r, array($field1), array($field2));
24
  }
25
 
26
  public function loadByField($field,$value){
13
  'oab.country_id','oab.postcode','oab.region','oab.region_id','oab.address_type',
14
  'oas.entity_id as shippingIncrementKey','oas.city as shippingCity','oas.country_id as shippingCountry',
15
  'oas.postcode as shippingPostcode','oas.region as shippingRegion','oas.region_id as shippingRegionId',
16
+ 'oas.address_type as shippingAddressType','md5(lower(o.customer_email)) as Customer_HashCode');
17
  $showemail = Mage::getStoreConfig('minubo_interface/settings/showemail',Mage::app()->getStore());
18
  if($showemail)
19
  $field1 = 'email';
20
  else
21
  $field1 = 'substring(oab.email,1,0) as email';
22
+ $fields2 = array('cg.customer_group_code',"ifnull(oab.customer_id,md5(lower(o.customer_email))) as customerKey");
23
+ return array_merge($r, array($field1), $fields2);
24
  }
25
 
26
  public function loadByField($field,$value){
app/code/community/Minubo/Interface/controllers/ExportController.php CHANGED
@@ -89,18 +89,20 @@ class Minubo_Interface_ExportController extends Mage_Core_Controller_Front_Actio
89
  $model = Mage::getModel('minubo_interface/tables');
90
  $model->init('orderaddresses');
91
  $orderaddresses = $model->readAllByStoreId($store_id);
92
- echo '# OrderAddresses: '.count($orderaddresses).'<br>';
93
 
 
94
  $model = Mage::getModel('minubo_interface/tables');
95
  $model->init('customers');
96
  $customers = $model->readAllByStoreId($store_id);
97
  echo '# Customers: '.count($customers).'<br>';
98
-
99
  $model = Mage::getModel('minubo_interface/tables');
100
  $model->init('customeraddresses');
101
  $customeraddresses = $model->readAllByStoreId($store_id);
102
  echo '# CustomerAddresses: '.count($customeraddresses).'<br>';
103
-
 
104
  $model = Mage::getModel('minubo_interface/tables');
105
  $model->init('creditmemos');
106
  $creditmemos = $model->readAllByStoreId($store_id);
89
  $model = Mage::getModel('minubo_interface/tables');
90
  $model->init('orderaddresses');
91
  $orderaddresses = $model->readAllByStoreId($store_id);
92
+ echo '# OrderAddresses (Customers): '.count($orderaddresses).'<br>';
93
 
94
+ /*
95
  $model = Mage::getModel('minubo_interface/tables');
96
  $model->init('customers');
97
  $customers = $model->readAllByStoreId($store_id);
98
  echo '# Customers: '.count($customers).'<br>';
99
+
100
  $model = Mage::getModel('minubo_interface/tables');
101
  $model->init('customeraddresses');
102
  $customeraddresses = $model->readAllByStoreId($store_id);
103
  echo '# CustomerAddresses: '.count($customeraddresses).'<br>';
104
+ */
105
+
106
  $model = Mage::getModel('minubo_interface/tables');
107
  $model->init('creditmemos');
108
  $creditmemos = $model->readAllByStoreId($store_id);
app/code/community/Minubo/Interface/etc/config.xml CHANGED
@@ -2,7 +2,7 @@
2
  <config>
3
  <modules>
4
  <Minubo_Interface>
5
- <version>1.1.28</version>
6
  </Minubo_Interface>
7
  </modules>
8
  <global>
2
  <config>
3
  <modules>
4
  <Minubo_Interface>
5
+ <version>1.1.30</version>
6
  </Minubo_Interface>
7
  </modules>
8
  <global>
package.xml CHANGED
@@ -1,18 +1,18 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Minubo_Interface</name>
4
- <version>1.1.28</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>
8
  <extends/>
9
  <summary>Minubo Interface connects your Magento Shop to the All-In-One eCommerce Cloud BI Solution at minubo.com</summary>
10
  <description>Minubo Interface connects your Magento Shop to the All-In-One eCommerce Cloud BI Solution at minubo.com. With this Extension in your Magento Shop your minubo Account at minubo.com can be configured to poll the newest data - of cause without any personalization - every day to bring the information to your screen, which you need to optimize your sales business. See more about minubo at minubo.com Minubo Interface supports Magento 1.5 (or newer). In Backend you can configure the Minubo Interface at System/Configuration/Sales/Minubo Interface (enable/disable, generate access key and see information about last export). Right now, the Minubo Interface is at the end of beta status and you have to change in the Magento Connect Backend the setting to allow download of other than stable releases.</description>
11
- <notes>Bugfix Categories &amp; ProductCategories with Multi-Store-IDs; Bugfix Customers</notes>
12
  <authors><author><name>sven rothe</name><user>minubo</user><email>sven@minubo.com</email></author></authors>
13
- <date>2014-10-29</date>
14
- <time>16:13:53</time>
15
- <contents><target name="magecommunity"><dir name="Minubo"><dir name="Interface"><dir name="Block"><dir name="Adminhtml"><file name="Authhash.php" hash="c98e63efd5e4e42a6bc1c223a75176c3"/><file name="Lastchangedate.php" hash="c82ee55fad83d848f47a8594bd25c5af"/><dir name="System"><dir name="Config"><dir name="Form"><file name="Button.php" hash="c288b69aa22cc9ff5e978ff2b89646e9"/></dir></dir></dir><file name="Version.php" hash="31db32eca5dcaf3ad86c747bb3e11efc"/></dir></dir><dir name="Helper"><file name="Data.php" hash="d9cf690ff97d2014cd3e443c07ab4ea7"/></dir><dir name="Model"><dir name="Export"><file name="Abstractcsv.php" hash="94a1b9c669ff01892994faa507152f9c"/><file name="Csv.php" hash="c3788d63aaa16a83b2f280cfbd40c2f1"/><file name="Status.php" hash="cef67926aef558b87d4e3bcb02386743"/></dir><dir name="Mysql4"><file name="Categories.php" hash="7aaf0b687f5127bd07a2d7b0c8fb47ba"/><file name="Creditmemoitems.php" hash="c59bc4b0e25753bf458fee5583ca6d0a"/><file name="Creditmemos.php" hash="1f9106985961671c236853c563d6a49f"/><file name="Customeraddresses.php" hash="22abe6badaf89f6e172f5f36d7db38ed"/><file name="Customers.php" hash="0d4f8919dfdcc86106a462ca85446390"/><file name="Invoiceitems.php" hash="0273220176bcf5487b6975fbb485b1cd"/><file name="Invoices.php" hash="8f467284eadc5d1885d1df00d007fdd5"/><file name="Orderaddresses.php" hash="446ab372b4b4d136ddce5b1215428fca"/><file name="Orderitems.php" hash="75d14acbb7c45a369549bceb24b3c108"/><file name="Orders.php" hash="d961f9fd03eee6fe0efcfbd44d6a5c5d"/><file name="Productattributes.php" hash="6a4c275d6fabcfae4a901a78ba621856"/><file name="Productcategories.php" hash="56a00cecf2cfe994fdeae9db947f653d"/><file name="Products.php" hash="4b7ebada1f3f291058a356e1765243a3"/><file name="Regions.php" hash="f1575516572fbd9a58e8c025fefa95d4"/></dir><dir name="Options"><file name="Options.php" hash="b696a731d9daa7f53c8375f19ad3838f"/><file name="Version.php" hash="fafcca0d77fbbe7fb26b869a845963bf"/></dir><dir name="Read"><file name="Collections.php" hash="3fbc08cae92c333488d43b307a1a07a0"/><file name="Common.php" hash="18b089bb03cbb226b95db428a7c31ef2"/></dir><file name="Tables.php" hash="e0f2ee1d70cc61cac2ad428b09ecf6e7"/></dir><dir name="controllers"><file name="ExportController.php" hash="945542e0721fd5e1ac07502d31c503bb"/></dir><dir name="etc"><file name="adminhtml.xml" hash="375c548aacaf6f1bfdf4de3af7b29dfb"/><file name="config.xml" hash="c3a80d9e07cf3519495daf113a0628c1"/><file name="system.xml" hash="2ebbd93c3bfaacfcd6530e6ccdfa4173"/></dir></dir></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="template"><dir name="minubo"><dir name="system"><dir name="config"><file name="button.phtml" hash=""/></dir></dir></dir></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Minubo_Interface.xml" hash=""/></dir></target></contents>
16
  <compatible/>
17
  <dependencies><required><php><min>5.1.0</min><max>6.0.0</max></php></required></dependencies>
18
  </package>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Minubo_Interface</name>
4
+ <version>1.1.30</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>
8
  <extends/>
9
  <summary>Minubo Interface connects your Magento Shop to the All-In-One eCommerce Cloud BI Solution at minubo.com</summary>
10
  <description>Minubo Interface connects your Magento Shop to the All-In-One eCommerce Cloud BI Solution at minubo.com. With this Extension in your Magento Shop your minubo Account at minubo.com can be configured to poll the newest data - of cause without any personalization - every day to bring the information to your screen, which you need to optimize your sales business. See more about minubo at minubo.com Minubo Interface supports Magento 1.5 (or newer). In Backend you can configure the Minubo Interface at System/Configuration/Sales/Minubo Interface (enable/disable, generate access key and see information about last export). Right now, the Minubo Interface is at the end of beta status and you have to change in the Magento Connect Backend the setting to allow download of other than stable releases.</description>
11
+ <notes>Bugfix Counter-Call; Customer now shows Magento Customer ID as Customer-Number in minubo</notes>
12
  <authors><author><name>sven rothe</name><user>minubo</user><email>sven@minubo.com</email></author></authors>
13
+ <date>2015-05-23</date>
14
+ <time>10:44:56</time>
15
+ <contents><target name="magecommunity"><dir name="Minubo"><dir name="Interface"><dir name="Block"><dir name="Adminhtml"><file name="Authhash.php" hash="c98e63efd5e4e42a6bc1c223a75176c3"/><file name="Lastchangedate.php" hash="c82ee55fad83d848f47a8594bd25c5af"/><dir name="System"><dir name="Config"><dir name="Form"><file name="Button.php" hash="c288b69aa22cc9ff5e978ff2b89646e9"/></dir></dir></dir><file name="Version.php" hash="31db32eca5dcaf3ad86c747bb3e11efc"/></dir></dir><dir name="Helper"><file name="Data.php" hash="d9cf690ff97d2014cd3e443c07ab4ea7"/></dir><dir name="Model"><dir name="Export"><file name="Abstractcsv.php" hash="94a1b9c669ff01892994faa507152f9c"/><file name="Csv.php" hash="c3788d63aaa16a83b2f280cfbd40c2f1"/><file name="Status.php" hash="cef67926aef558b87d4e3bcb02386743"/></dir><dir name="Mysql4"><file name="Categories.php" hash="7aaf0b687f5127bd07a2d7b0c8fb47ba"/><file name="Creditmemoitems.php" hash="c59bc4b0e25753bf458fee5583ca6d0a"/><file name="Creditmemos.php" hash="1f9106985961671c236853c563d6a49f"/><file name="Customeraddresses.php" hash="22abe6badaf89f6e172f5f36d7db38ed"/><file name="Customers.php" hash="0d4f8919dfdcc86106a462ca85446390"/><file name="Invoiceitems.php" hash="0273220176bcf5487b6975fbb485b1cd"/><file name="Invoices.php" hash="8f467284eadc5d1885d1df00d007fdd5"/><file name="Orderaddresses.php" hash="48f8dd021c001155490a234ee4b29265"/><file name="Orderitems.php" hash="75d14acbb7c45a369549bceb24b3c108"/><file name="Orders.php" hash="d961f9fd03eee6fe0efcfbd44d6a5c5d"/><file name="Productattributes.php" hash="6a4c275d6fabcfae4a901a78ba621856"/><file name="Productcategories.php" hash="56a00cecf2cfe994fdeae9db947f653d"/><file name="Products.php" hash="4b7ebada1f3f291058a356e1765243a3"/><file name="Regions.php" hash="f1575516572fbd9a58e8c025fefa95d4"/></dir><dir name="Options"><file name="Options.php" hash="b696a731d9daa7f53c8375f19ad3838f"/><file name="Version.php" hash="fafcca0d77fbbe7fb26b869a845963bf"/></dir><dir name="Read"><file name="Collections.php" hash="3fbc08cae92c333488d43b307a1a07a0"/><file name="Common.php" hash="18b089bb03cbb226b95db428a7c31ef2"/></dir><file name="Tables.php" hash="e0f2ee1d70cc61cac2ad428b09ecf6e7"/></dir><dir name="controllers"><file name="ExportController.php" hash="823f5a1991cd884e5ef4609ba92ee742"/></dir><dir name="etc"><file name="adminhtml.xml" hash="375c548aacaf6f1bfdf4de3af7b29dfb"/><file name="config.xml" hash="036b152a86eea192441433f1e61b92f9"/><file name="system.xml" hash="2ebbd93c3bfaacfcd6530e6ccdfa4173"/></dir></dir></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="template"><dir name="minubo"><dir name="system"><dir name="config"><file name="button.phtml" hash=""/></dir></dir></dir></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Minubo_Interface.xml" hash=""/></dir></target></contents>
16
  <compatible/>
17
  <dependencies><required><php><min>5.1.0</min><max>6.0.0</max></php></required></dependencies>
18
  </package>