Minematic_Connector - Version 1.2.1

Version Notes

Update to 1.2.0 with minor bug fix

Download this release

Release Info

Developer Minematic
Extension Minematic_Connector
Version 1.2.1
Comparing to
See all releases


Code changes from version 1.2.0 to 1.2.1

app/code/community/Minematic/.DS_Store CHANGED
Binary file
app/code/community/Minematic/Connector/.DS_Store CHANGED
Binary file
app/code/community/Minematic/Connector/Model/.DS_Store CHANGED
Binary file
app/code/community/Minematic/Connector/Model/Synchronization.php CHANGED
@@ -764,14 +764,14 @@ class Minematic_Connector_Model_Synchronization{
764
  ->addFieldToFilter('main_table.store_id', array('eq' => $this->store_id)); //Filter by store Id
765
 
766
 
767
- //Join "sales_falt_order" table with "sales_flat_order_item" table
768
  $ordersCollection->getSelect()->join(
769
- array('sales_flat_order_item_alias'=> $tbl_prefix.'sales_flat_order_item'), $tbl_prefix.'sales_flat_order_item_alias.order_id = main_table.entity_id', array("product_id" => "sales_flat_order_item_alias.product_id")
770
  );
771
 
772
  //Join "sales_flat_order" table with "customer_entity" table
773
  $ordersCollection->getSelect()->join(
774
- array('customer_alias'=> $tbl_prefix.'customer_entity'), $tbl_prefix.'customer_alias.entity_id = main_table.customer_id', array("customer_id" => "main_table.customer_id")
775
  );
776
 
777
  //Adding filters by date_from
@@ -833,14 +833,14 @@ class Minematic_Connector_Model_Synchronization{
833
  ->addFieldToFilter('customer_id', array('gt' => 0))
834
  ->addFieldToFilter('main_table.store_id', array('eq' => $this->store_id)); //Filter by store Id
835
 
836
- //Join "sales_falt_order" table with "sales_flat_order_item" table
837
  $paidOrdersCollection->getSelect()->join(
838
- array('sales_flat_order_item_alias'=> $tbl_prefix.'sales_flat_order_item'), $tbl_prefix.'sales_flat_order_item_alias.order_id = main_table.entity_id', array("product_id" => "sales_flat_order_item_alias.product_id")
839
  );
840
 
841
  //Join "sales_flat_order" table with "customer_entity" table
842
  $paidOrdersCollection->getSelect()->join(
843
- array('customer_alias'=> $tbl_prefix.'customer_entity'), $tbl_prefix.'customer_alias.entity_id = main_table.customer_id', array("customer_id" => "main_table.customer_id")
844
  );
845
 
846
  //Adding filters by date_from
@@ -911,12 +911,12 @@ class Minematic_Connector_Model_Synchronization{
911
 
912
  //Join "report_event" table with "report_event_types" table
913
  $eventsCollection->getSelect()->join(
914
- array('report_types_alias'=> $tbl_prefix.'report_event_types'), $tbl_prefix.'report_types_alias.event_type_id = main_table.event_type_id'
915
  );
916
 
917
  //Join "report_event" table with "customer_entity" table
918
  $eventsCollection->getSelect()->join(
919
- array('customer_alias'=> $tbl_prefix.'customer_entity'), $tbl_prefix.'customer_alias.entity_id = main_table.subject_id'
920
  );
921
 
922
  //Adding Filters (OR)
764
  ->addFieldToFilter('main_table.store_id', array('eq' => $this->store_id)); //Filter by store Id
765
 
766
 
767
+ //Join "sales_flat_order" table with "sales_flat_order_item" table
768
  $ordersCollection->getSelect()->join(
769
+ array('sales_flat_order_item_alias'=> $tbl_prefix.'sales_flat_order_item'), 'sales_flat_order_item_alias.order_id = main_table.entity_id', array("product_id" => "sales_flat_order_item_alias.product_id")
770
  );
771
 
772
  //Join "sales_flat_order" table with "customer_entity" table
773
  $ordersCollection->getSelect()->join(
774
+ array('customer_alias'=> $tbl_prefix.'customer_entity'), 'customer_alias.entity_id = main_table.customer_id', array("customer_id" => "main_table.customer_id")
775
  );
776
 
777
  //Adding filters by date_from
833
  ->addFieldToFilter('customer_id', array('gt' => 0))
834
  ->addFieldToFilter('main_table.store_id', array('eq' => $this->store_id)); //Filter by store Id
835
 
836
+ //Join "sales_flat_order" table with "sales_flat_order_item" table
837
  $paidOrdersCollection->getSelect()->join(
838
+ array('sales_flat_order_item_alias'=> $tbl_prefix.'sales_flat_order_item'), 'sales_flat_order_item_alias.order_id = main_table.entity_id', array("product_id" => "sales_flat_order_item_alias.product_id")
839
  );
840
 
841
  //Join "sales_flat_order" table with "customer_entity" table
842
  $paidOrdersCollection->getSelect()->join(
843
+ array('customer_alias'=> $tbl_prefix.'customer_entity'), 'customer_alias.entity_id = main_table.customer_id', array("customer_id" => "main_table.customer_id")
844
  );
845
 
846
  //Adding filters by date_from
911
 
912
  //Join "report_event" table with "report_event_types" table
913
  $eventsCollection->getSelect()->join(
914
+ array('report_types_alias'=> $tbl_prefix.'report_event_types'), 'report_types_alias.event_type_id = main_table.event_type_id'
915
  );
916
 
917
  //Join "report_event" table with "customer_entity" table
918
  $eventsCollection->getSelect()->join(
919
+ array('customer_alias'=> $tbl_prefix.'customer_entity'), 'customer_alias.entity_id = main_table.subject_id'
920
  );
921
 
922
  //Adding Filters (OR)
package.xml CHANGED
@@ -1,18 +1,18 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Minematic_Connector</name>
4
- <version>1.2.0</version>
5
  <stability>stable</stability>
6
  <license>Open Software License (OSL)</license>
7
  <channel>community</channel>
8
  <extends/>
9
  <summary>Minematic Connector collects products, customers and events data for the store and sends it to Minematic data collection API for analysis and marketing.</summary>
10
  <description>This module collects information about products, customers and events (e.g. ADD TO CART, PRODUCT PAGE VIEW, ADD TO WISHLIST, SHARE) and transfers the information to Minematic data collection API for data analysis and marketing.</description>
11
- <notes>minor bug fixes</notes>
12
  <authors><author><name>Minematic</name><user>minematic</user><email>magento@minematic.com</email></author></authors>
13
- <date>2015-08-06</date>
14
- <time>02:00:16</time>
15
- <contents><target name="magecommunity"><dir name="Minematic"><dir name="Connector"><dir name="Block"><file name="Connector.php" hash="8735289b0f9388955dda56de863cc7f0"/></dir><dir name="Helper"><file name="Data.php" hash="a008a987b46c28f46bf7de02dc7a5936"/><dir name="push_api"><file name="MinematicClient.php" hash="2466f46c03b4fc352e700c6ff287df46"/><file name=".DS_Store" hash="11d4264a26b39c74a6176b3feb5ddb56"/></dir><file name=".DS_Store" hash="166fc3c278a952701e9d4897bfbec1dc"/></dir><dir name="Model"><dir name="Config"><file name="Crondropdown.php" hash="d10f4d27b1edc0d24d3ee77564273ad6"/><file name="Storeviewsdropdown.php" hash="2642d1983e6e17c5233129fec5707fbc"/></dir><file name="Config.php" hash="fde17e756d5ebd6df6040bc874a42c46"/><file name="Observer.php" hash="27495887bfe154b51d9f11d8cd240286"/><file name="Synchronization.php" hash="54fa4b6101f32eed3c642a4de6552927"/><dir name="System"><dir name="Config"><dir name="Backend"><file name="Cron.php" hash="52e119425813d464474474c15036375f"/><file name=".DS_Store" hash="194577a7e20bdcc7afbb718f502c134c"/></dir><file name=".DS_Store" hash="164f4d8848918d06a0b1de4041fdadd6"/></dir><file name=".DS_Store" hash="1a138f3b020c526173b9b06a9a2717df"/></dir><file name=".DS_Store" hash="c59d89c04035121099d9b012f5da3890"/></dir><dir name="controllers"><file name="MinematicController.php" hash="d579d4533a39629ede1549d15e728fa6"/><file name=".DS_Store" hash="a1ddf4e9ec2bec74d4ae1ce8b742675d"/></dir><dir name="etc"><file name="config.xml" hash="02c893b821f614e805a68a233cee6ad4"/><file name="system.xml" hash="4e6616f879f2826de2cd99e189faef4c"/><file name=".DS_Store" hash="d5c9ef4cc8915721d89f14aff358e204"/></dir><dir name="sql"><dir name="connector_setup"><file name="mysql4-install-0.1.0.php" hash="78df6c5b335e9c98a804eba5566a4108"/><file name=".DS_Store" hash="194577a7e20bdcc7afbb718f502c134c"/></dir><file name=".DS_Store" hash="e0ff3a55f14b180fe579834f1fd8d0e8"/></dir><file name=".DS_Store" hash="d9564ec8cafb44cb620aae2f6be1d711"/></dir><file name=".DS_Store" hash="cf6f6f942fad24bc822a04f8743b6e52"/></dir></target><target name="magedesign"><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="minematic_connector.xml" hash="ceae04cb1965c10562a4227be9eede40"/></dir><dir name="template"><dir name="minematic_connector"><file name="header_snippet.phtml" hash="1a972999363492611d3096aa1772cc44"/></dir></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Minematic_Connector.xml" hash="78b1da5a65d9074dce12bc4d51fdb011"/></dir></target></contents>
16
  <compatible/>
17
  <dependencies><required><php><min>5.3.0</min><max>6.0.0</max></php></required></dependencies>
18
  </package>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Minematic_Connector</name>
4
+ <version>1.2.1</version>
5
  <stability>stable</stability>
6
  <license>Open Software License (OSL)</license>
7
  <channel>community</channel>
8
  <extends/>
9
  <summary>Minematic Connector collects products, customers and events data for the store and sends it to Minematic data collection API for analysis and marketing.</summary>
10
  <description>This module collects information about products, customers and events (e.g. ADD TO CART, PRODUCT PAGE VIEW, ADD TO WISHLIST, SHARE) and transfers the information to Minematic data collection API for data analysis and marketing.</description>
11
+ <notes>Update to 1.2.0 with minor bug fix</notes>
12
  <authors><author><name>Minematic</name><user>minematic</user><email>magento@minematic.com</email></author></authors>
13
+ <date>2015-08-10</date>
14
+ <time>06:59:10</time>
15
+ <contents><target name="magecommunity"><dir name="Minematic"><dir name="Connector"><dir name="Block"><file name="Connector.php" hash="8735289b0f9388955dda56de863cc7f0"/></dir><dir name="Helper"><file name="Data.php" hash="a008a987b46c28f46bf7de02dc7a5936"/><dir name="push_api"><file name="MinematicClient.php" hash="2466f46c03b4fc352e700c6ff287df46"/><file name=".DS_Store" hash="11d4264a26b39c74a6176b3feb5ddb56"/></dir><file name=".DS_Store" hash="166fc3c278a952701e9d4897bfbec1dc"/></dir><dir name="Model"><dir name="Config"><file name="Crondropdown.php" hash="d10f4d27b1edc0d24d3ee77564273ad6"/><file name="Storeviewsdropdown.php" hash="2642d1983e6e17c5233129fec5707fbc"/></dir><file name="Config.php" hash="fde17e756d5ebd6df6040bc874a42c46"/><file name="Observer.php" hash="27495887bfe154b51d9f11d8cd240286"/><file name="Synchronization.php" hash="6a994240a1fed79bc7e2ffe48811352f"/><dir name="System"><dir name="Config"><dir name="Backend"><file name="Cron.php" hash="52e119425813d464474474c15036375f"/><file name=".DS_Store" hash="194577a7e20bdcc7afbb718f502c134c"/></dir><file name=".DS_Store" hash="164f4d8848918d06a0b1de4041fdadd6"/></dir><file name=".DS_Store" hash="1a138f3b020c526173b9b06a9a2717df"/></dir><file name=".DS_Store" hash="1607a043ddf516a04162fc7160fe3368"/></dir><dir name="controllers"><file name="MinematicController.php" hash="d579d4533a39629ede1549d15e728fa6"/><file name=".DS_Store" hash="a1ddf4e9ec2bec74d4ae1ce8b742675d"/></dir><dir name="etc"><file name="config.xml" hash="02c893b821f614e805a68a233cee6ad4"/><file name="system.xml" hash="4e6616f879f2826de2cd99e189faef4c"/><file name=".DS_Store" hash="d5c9ef4cc8915721d89f14aff358e204"/></dir><dir name="sql"><dir name="connector_setup"><file name="mysql4-install-0.1.0.php" hash="78df6c5b335e9c98a804eba5566a4108"/><file name=".DS_Store" hash="194577a7e20bdcc7afbb718f502c134c"/></dir><file name=".DS_Store" hash="e0ff3a55f14b180fe579834f1fd8d0e8"/></dir><file name=".DS_Store" hash="b280b85c38c0d613dc31198e8cabc1e6"/></dir><file name=".DS_Store" hash="1b5000297f769c48a61eb585a6f78ccb"/></dir></target><target name="magedesign"><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="minematic_connector.xml" hash="ceae04cb1965c10562a4227be9eede40"/></dir><dir name="template"><dir name="minematic_connector"><file name="header_snippet.phtml" hash="1a972999363492611d3096aa1772cc44"/></dir></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Minematic_Connector.xml" hash="78b1da5a65d9074dce12bc4d51fdb011"/></dir></target></contents>
16
  <compatible/>
17
  <dependencies><required><php><min>5.3.0</min><max>6.0.0</max></php></required></dependencies>
18
  </package>