Glew - Version 1.0.12

Version Notes

Added support for configurable products.

Download this release

Release Info

Developer Glew
Extension Glew
Version 1.0.12
Comparing to
See all releases


Code changes from version 1.0.10 to 1.0.12

app/code/community/Glew/Service/Model/Types/OrderItem.php CHANGED
@@ -4,6 +4,9 @@ class Glew_Service_Model_Types_OrderItem
4
  {
5
  public function parse($orderItem)
6
  {
 
 
 
7
  $this->order_item_id = $orderItem->getId();
8
  $this->order_id = $orderItem->getOrderId();
9
  $this->created_at = $orderItem->getCreatedAt();
4
  {
5
  public function parse($orderItem)
6
  {
7
+ if($orderItem->getParentItemId()) {
8
+ return;
9
+ }
10
  $this->order_item_id = $orderItem->getId();
11
  $this->order_id = $orderItem->getOrderId();
12
  $this->created_at = $orderItem->getCreatedAt();
app/code/community/Glew/Service/Model/Types/Product.php CHANGED
@@ -5,8 +5,6 @@ class Glew_Service_Model_Types_Product
5
  public function parse($productId, $productAttributes)
6
  {
7
  $product = Mage::getModel('catalog/product')->load($productId);
8
-
9
-
10
  $this->product_id = $productId;
11
  $this->entity_id = $product->getData('entity_id');
12
  $this->entity_type_id = $product->getData('entity_type_id');
5
  public function parse($productId, $productAttributes)
6
  {
7
  $product = Mage::getModel('catalog/product')->load($productId);
 
 
8
  $this->product_id = $productId;
9
  $this->entity_id = $product->getData('entity_id');
10
  $this->entity_type_id = $product->getData('entity_type_id');
app/code/community/Glew/Service/controllers/ModuleController.php CHANGED
@@ -192,6 +192,7 @@ class Glew_Service_ModuleController extends Mage_Core_Controller_Front_Action
192
  $obj->glewPluginVersion = (string)Mage::getConfig()->getNode()->modules->Glew_Service->version;
193
  $obj->magentoVersion = (string)Mage::getVersion();
194
  $obj->phpVersion = (string)phpversion();
 
195
  $this->_sendResponse($obj);
196
  } catch(Exception $ex) {
197
  $this->_helper->logException($ex, 'version');
192
  $obj->glewPluginVersion = (string)Mage::getConfig()->getNode()->modules->Glew_Service->version;
193
  $obj->magentoVersion = (string)Mage::getVersion();
194
  $obj->phpVersion = (string)phpversion();
195
+ $obj->moduleEnabled = $this->_config['enabled'];
196
  $this->_sendResponse($obj);
197
  } catch(Exception $ex) {
198
  $this->_helper->logException($ex, 'version');
app/code/community/Glew/Service/etc/config.xml CHANGED
@@ -2,7 +2,7 @@
2
  <config>
3
  <modules>
4
  <Glew_Service>
5
- <version>1.0.11</version>
6
  <depends>
7
  <Mage_Shipping />
8
  </depends>
2
  <config>
3
  <modules>
4
  <Glew_Service>
5
+ <version>1.0.12</version>
6
  <depends>
7
  <Mage_Shipping />
8
  </depends>
package.xml CHANGED
@@ -1,12 +1,12 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Glew</name>
4
- <version>1.0.10</version>
5
  <stability>stable</stability>
6
  <license>OSL</license>
7
  <channel>community</channel>
8
  <extends/>
9
- <summary>Glew provides the world of ecommerce with reporting, insights and predictive tools that enable growth and drive profitability.</summary>
10
  <description>Glew translates data into decisions. Glew provides a comprehensive view of your store&#x2019;s data, bringing together information that is difficult to collect, combine and analyze. This means you can understand key performance indicators across your business and maximize your store&#x2019;s profitability. We know you want to keep growing; Glew wants to help get you there.&#xD;
11
  &#xD;
12
  Glew empowers you with the ability to measure:&#xD;
@@ -19,14 +19,12 @@ Lifetime-Value-based ROAS instead of transaction-based ROAS&#xD;
19
  Value of your At Risk and Lost customers&#xD;
20
  Trending, real-time store performance on a daily, weekly, and yearly, basis.&#xD;
21
  Supports multi-store configurations&#xD;
22
- And more!&#xD;
23
- </description>
24
- <notes>-Bug Fixes&#xD;
25
- -Multi-store support</notes>
26
- <authors><author><name>Glew</name><user>glewio</user><email>jed.young@glew.io</email></author></authors>
27
- <date>2015-11-09</date>
28
- <time>16:12:56</time>
29
- <contents><target name="magecommunity"><dir name="Glew"><dir name="Service"><dir name="Block"><dir name="Adminhtml"><dir name="Widget"><dir name="Info"><file name="Info.php" hash="cb7f32c9a9d9032d9af801834e4ed5af"/></dir></dir></dir><file name="SecretKey.php" hash="244e68e058d731d96f284a9e9a0bf13a"/></dir><dir name="Helper"><file name="Data.php" hash="e1bcfc59c84b1647949465613a0dd4b4"/></dir><dir name="Model"><file name="Glew.php" hash="e665b255ac5983b937eb60febd4a94bf"/><dir name="Resource"><file name="Setup.php" hash="1608ab53c5846ff80b1413693ad2657e"/></dir><dir name="Types"><file name="AbandonedCart.php" hash="ca99b85c3b2b93795013e1929a0d3613"/><file name="AbandonedCarts.php" hash="05ab68ee8093f149c1ebe7268e0eaf1f"/><file name="Address.php" hash="dac4e96501d687ce8c84ddfcc18a8327"/><file name="Categories.php" hash="7f3bb262405c9a9032688093ba6187aa"/><file name="Category.php" hash="a75878be202411265d91a20dd4afa457"/><file name="Customer.php" hash="e1f2058d9358d89a48715f151ab45755"/><file name="Customers.php" hash="656c31b938429d54c2dc4b8c6d7cb259"/><file name="Extension.php" hash="3a0bc967154cfd1ac5e9534ae96921fc"/><file name="Extensions.php" hash="4982616cd7bb0e5770b692420b8bb6cf"/><file name="Inventory.php" hash="4a6442574e2c4c640a1c88e4ca6b87fb"/><file name="InventoryItem.php" hash="01403ce6dd1f0042654d0c8f0bb18e7a"/><file name="Order.php" hash="f17622408310699e6cbccbb4b02e1ac3"/><file name="OrderItem.php" hash="26158c6d23d695ed6cd377bdd12f544f"/><file name="OrderItems.php" hash="3d63cc89cdcb79632183eca0a2c7bd82"/><file name="Orders.php" hash="8f215ef68dfa393acfb4a5380d111f75"/><file name="Product.php" hash="188167c24400632bbd848f406d671125"/><file name="ProductAlert.php" hash="e7ca7668907dad5547d80ad581519e78"/><file name="ProductAlerts.php" hash="767c8c527156a11ab376292c10c8fd5d"/><file name="Products.php" hash="e6890059117a05d6d1006c13ddf15855"/><file name="Refund.php" hash="1b79b89a2ac66cc0dfb05e1f3100f98c"/><file name="RefundItem.php" hash="1d43007ec2bb990eb08b8d0a2812f4ca"/><file name="RefundItems.php" hash="7b7511e30194b13db1f8671027fe913a"/><file name="Refunds.php" hash="1073e14c4e82f00d0f25eb4dcff48669"/><file name="Store.php" hash="455923168b5d2550af6b862d776db3f2"/><file name="Stores.php" hash="5d057d09db03554807d763d29ade16e9"/><file name="Subscriber.php" hash="727153725fc7be3fd093422d6a67dfa1"/><file name="Subscribers.php" hash="a17ea2cc95f206989fd0b3612fd9f9bb"/></dir></dir><dir name="controllers"><file name="ModuleController.php" hash="42ecffa3a91ca7bc04ceeb920834b8a4"/></dir><dir name="etc"><file name="adminhtml.xml" hash="d2d95c59dc81f92df0ed6adaba801a52"/><file name="config.xml" hash="255d6921037341ff60757ed263ddd354"/><file name="system.xml" hash="07aa4da88108940bf267cb2abb854eab"/></dir><dir name="sql"><dir name="glew_setup"><file name="mysql4-install-1.0.0.php" hash="d515369cd1867cf970f27352d927e402"/></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Glew_Service.xml" hash="db2470cc1c1c36b01cea61416a3f6f37"/></dir></target></contents>
30
  <compatible/>
31
  <dependencies><required><php><min>5.3.0</min><max>9.0.0</max></php><package><name>Glew</name><channel>community</channel><min>1.5</min><max>1.9</max></package><extension><name>Core</name><min>5.0</min><max>7.0</max></extension></required></dependencies>
32
  </package>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Glew</name>
4
+ <version>1.0.12</version>
5
  <stability>stable</stability>
6
  <license>OSL</license>
7
  <channel>community</channel>
8
  <extends/>
9
+ <summary>Glew provides the world of e-commerce with reporting, insights and predictive tools that enable growth and drive profitability.</summary>
10
  <description>Glew translates data into decisions. Glew provides a comprehensive view of your store&#x2019;s data, bringing together information that is difficult to collect, combine and analyze. This means you can understand key performance indicators across your business and maximize your store&#x2019;s profitability. We know you want to keep growing; Glew wants to help get you there.&#xD;
11
  &#xD;
12
  Glew empowers you with the ability to measure:&#xD;
19
  Value of your At Risk and Lost customers&#xD;
20
  Trending, real-time store performance on a daily, weekly, and yearly, basis.&#xD;
21
  Supports multi-store configurations&#xD;
22
+ And more!</description>
23
+ <notes>Added support for configurable products.</notes>
24
+ <authors><author><name>Glew</name><user>glewio</user><email>ryan.currington@glew.io</email></author></authors>
25
+ <date>2015-11-16</date>
26
+ <time>21:58:13</time>
27
+ <contents><target name="magecommunity"><dir name="Glew"><dir name="Service"><dir name="Block"><dir name="Adminhtml"><dir name="Widget"><dir name="Info"><file name="Info.php" hash="cb7f32c9a9d9032d9af801834e4ed5af"/></dir></dir></dir><file name="SecretKey.php" hash="244e68e058d731d96f284a9e9a0bf13a"/></dir><dir name="Helper"><file name="Data.php" hash="e1bcfc59c84b1647949465613a0dd4b4"/></dir><dir name="Model"><file name="Glew.php" hash="e665b255ac5983b937eb60febd4a94bf"/><dir name="Resource"><file name="Setup.php" hash="1608ab53c5846ff80b1413693ad2657e"/></dir><dir name="Types"><file name="AbandonedCart.php" hash="ca99b85c3b2b93795013e1929a0d3613"/><file name="AbandonedCarts.php" hash="05ab68ee8093f149c1ebe7268e0eaf1f"/><file name="Address.php" hash="dac4e96501d687ce8c84ddfcc18a8327"/><file name="Categories.php" hash="7f3bb262405c9a9032688093ba6187aa"/><file name="Category.php" hash="a75878be202411265d91a20dd4afa457"/><file name="Customer.php" hash="e1f2058d9358d89a48715f151ab45755"/><file name="Customers.php" hash="656c31b938429d54c2dc4b8c6d7cb259"/><file name="Extension.php" hash="3a0bc967154cfd1ac5e9534ae96921fc"/><file name="Extensions.php" hash="4982616cd7bb0e5770b692420b8bb6cf"/><file name="Inventory.php" hash="4a6442574e2c4c640a1c88e4ca6b87fb"/><file name="InventoryItem.php" hash="01403ce6dd1f0042654d0c8f0bb18e7a"/><file name="Order.php" hash="f17622408310699e6cbccbb4b02e1ac3"/><file name="OrderItem.php" hash="b60ae77da7d234c0feebb347f964f8f1"/><file name="OrderItems.php" hash="3d63cc89cdcb79632183eca0a2c7bd82"/><file name="Orders.php" hash="8f215ef68dfa393acfb4a5380d111f75"/><file name="Product.php" hash="08481d9c0c9558a5230ab7a79c517690"/><file name="ProductAlert.php" hash="e7ca7668907dad5547d80ad581519e78"/><file name="ProductAlerts.php" hash="767c8c527156a11ab376292c10c8fd5d"/><file name="Products.php" hash="e6890059117a05d6d1006c13ddf15855"/><file name="Refund.php" hash="1b79b89a2ac66cc0dfb05e1f3100f98c"/><file name="RefundItem.php" hash="1d43007ec2bb990eb08b8d0a2812f4ca"/><file name="RefundItems.php" hash="7b7511e30194b13db1f8671027fe913a"/><file name="Refunds.php" hash="1073e14c4e82f00d0f25eb4dcff48669"/><file name="Store.php" hash="455923168b5d2550af6b862d776db3f2"/><file name="Stores.php" hash="5d057d09db03554807d763d29ade16e9"/><file name="Subscriber.php" hash="727153725fc7be3fd093422d6a67dfa1"/><file name="Subscribers.php" hash="a17ea2cc95f206989fd0b3612fd9f9bb"/></dir></dir><dir name="controllers"><file name="ModuleController.php" hash="aacae6db78a87a94e8e6cdfd0798d87f"/></dir><dir name="etc"><file name="adminhtml.xml" hash="d2d95c59dc81f92df0ed6adaba801a52"/><file name="config.xml" hash="a8cdbc0188048096daf774c10ff9139d"/><file name="system.xml" hash="07aa4da88108940bf267cb2abb854eab"/></dir><dir name="sql"><dir name="glew_setup"><file name="mysql4-install-1.0.0.php" hash="d515369cd1867cf970f27352d927e402"/></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Glew_Service.xml" hash="db2470cc1c1c36b01cea61416a3f6f37"/></dir></target></contents>
 
 
28
  <compatible/>
29
  <dependencies><required><php><min>5.3.0</min><max>9.0.0</max></php><package><name>Glew</name><channel>community</channel><min>1.5</min><max>1.9</max></package><extension><name>Core</name><min>5.0</min><max>7.0</max></extension></required></dependencies>
30
  </package>