recapture - Version 1.3.2

Version Notes

Updated version to 1.3.2

Added support for customer group

Download this release

Release Info

Developer David Webber
Extension recapture
Version 1.3.2
Comparing to
See all releases


Code changes from version 1.3.1 to 1.3.2

app/code/local/Recapture/Connector/Model/Observer.php CHANGED
@@ -37,11 +37,14 @@ class Recapture_Connector_Model_Observer {
37
  $storeId = Mage::app()->getStore();
38
 
39
  $totalWithTax = Mage::getStoreConfig('recapture/abandoned_carts/include_tax_with_products');
 
 
40
 
41
  $transportData = array(
42
  'first_name' => Mage::helper('recapture')->getCustomerFirstname($quote),
43
  'last_name' => Mage::helper('recapture')->getCustomerLastname($quote),
44
  'email' => Mage::helper('recapture')->getCustomerEmail($quote),
 
45
  'external_id' => $quote->getId(),
46
  'grand_total' => $quote->getBaseGrandTotal(),
47
  'grand_total_display' => Mage::helper('core')->currency($quote->getGrandTotal(), true, false),
37
  $storeId = Mage::app()->getStore();
38
 
39
  $totalWithTax = Mage::getStoreConfig('recapture/abandoned_carts/include_tax_with_products');
40
+
41
+ $customerGroup = Mage::getModel('customer/group')->load($quote->getCustomerGroupId());
42
 
43
  $transportData = array(
44
  'first_name' => Mage::helper('recapture')->getCustomerFirstname($quote),
45
  'last_name' => Mage::helper('recapture')->getCustomerLastname($quote),
46
  'email' => Mage::helper('recapture')->getCustomerEmail($quote),
47
+ 'customer_group' => $customerGroup->getCustomerGroupCode(),
48
  'external_id' => $quote->getId(),
49
  'grand_total' => $quote->getBaseGrandTotal(),
50
  'grand_total_display' => Mage::helper('core')->currency($quote->getGrandTotal(), true, false),
app/code/local/Recapture/Connector/etc/config.xml CHANGED
@@ -2,7 +2,7 @@
2
  <config>
3
  <modules>
4
  <Recapture_Connector>
5
- <version>1.3.1</version>
6
  </Recapture_Connector>
7
  </modules>
8
 
2
  <config>
3
  <modules>
4
  <Recapture_Connector>
5
+ <version>1.3.2</version>
6
  </Recapture_Connector>
7
  </modules>
8
 
package.xml CHANGED
@@ -1,20 +1,20 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>recapture</name>
4
- <version>1.3.1</version>
5
  <stability>stable</stability>
6
  <license>OSL</license>
7
  <channel>community</channel>
8
  <extends/>
9
  <summary>Free analytics dashboard for abandoned carts. Set up automated cart recovery email campaigns in minutes.</summary>
10
  <description>Free analytics dashboard for abandoned carts. Set up automated cart recovery email campaigns in minutes.</description>
11
- <notes>Updated version to 1.3.1&#xD;
12
  &#xD;
13
- Added PHP 7 support</notes>
14
  <authors><author><name>David Webber</name><user>Recapture</user><email>hello@recapture.io</email></author></authors>
15
- <date>2016-10-13</date>
16
- <time>17:30:57</time>
17
- <contents><target name="magelocal"><dir name="Recapture"><dir name="Connector"><dir name="Block"><dir name="Adminhtml"><dir name="System"><dir name="Config"><file name="Authenticate.php" hash="2447363f87e72e922841760980b11942"/><file name="Key.php" hash="edc94e9fa84251d875e4a176f067f3fb"/><file name="Status.php" hash="eb53daf1bacc3d994b79506e6eff0d82"/></dir></dir></dir><dir name="Client"><file name="Page.php" hash="16cc42ba69dae1dc572230fe1fea1f9e"/><file name="Product.php" hash="ea2312b5ef50c49324b1b50cd17cb209"/></dir><file name="Client.php" hash="8780534cb8b8b4b6a88d5aeb4725c2c8"/></dir><dir name="Helper"><file name="Data.php" hash="52df137e4f352014ad85823a0828254c"/><file name="Transport.php" hash="1219b8da93905496e383b3d358e0c1e2"/></dir><dir name="Model"><file name="Landing.php" hash="b50b47fb13f6bfef79fba6a6efd926c8"/><file name="Observer.php" hash="9440fca7368528c485e372145bddcb27"/></dir><dir name="controllers"><file name="CartController.php" hash="fc341ddef155031b8aba22504d85b197"/><file name="EmailController.php" hash="4248cbc84fca095697e1c1185d516ffb"/><file name="IndexController.php" hash="cb6747d719c1080cd8ca485255cbdbf0"/><dir name="Recaptureadmin"><file name="AuthenticateController.php" hash="e1ae384a0b93f155934000205ee393d7"/></dir></dir><dir name="etc"><file name="config.xml" hash="caea4810bff41fffdbbfb4aa393b0350"/><file name="system.xml" hash="81c8d6cf5e2cb9f1d65aeed73dc6a202"/></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Recapture_Connector.xml" hash="9d4118bc5293b3d732a353a8e402316a"/></dir></target><target name="magedesign"><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="recapture.xml" hash="db6abfffb58287c0a9c13ef8ceccbcc8"/></dir><dir name="template"><dir name="recapture"><dir name="client"><file name="page.phtml" hash="b09e356b874e5e3cf5ead473f0215036"/><file name="product.phtml" hash="ea01d5c7bde14881157e65c6571f68a3"/></dir></dir></dir></dir></dir></dir></target></contents>
18
  <compatible/>
19
  <dependencies><required><php><min>5.1.0</min><max>8.0.0</max></php></required></dependencies>
20
  </package>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>recapture</name>
4
+ <version>1.3.2</version>
5
  <stability>stable</stability>
6
  <license>OSL</license>
7
  <channel>community</channel>
8
  <extends/>
9
  <summary>Free analytics dashboard for abandoned carts. Set up automated cart recovery email campaigns in minutes.</summary>
10
  <description>Free analytics dashboard for abandoned carts. Set up automated cart recovery email campaigns in minutes.</description>
11
+ <notes>Updated version to 1.3.2&#xD;
12
  &#xD;
13
+ Added support for customer group</notes>
14
  <authors><author><name>David Webber</name><user>Recapture</user><email>hello@recapture.io</email></author></authors>
15
+ <date>2016-11-03</date>
16
+ <time>16:02:24</time>
17
+ <contents><target name="magelocal"><dir name="Recapture"><dir name="Connector"><dir name="Block"><dir name="Adminhtml"><dir name="System"><dir name="Config"><file name="Authenticate.php" hash="2447363f87e72e922841760980b11942"/><file name="Key.php" hash="edc94e9fa84251d875e4a176f067f3fb"/><file name="Status.php" hash="eb53daf1bacc3d994b79506e6eff0d82"/></dir></dir></dir><dir name="Client"><file name="Page.php" hash="16cc42ba69dae1dc572230fe1fea1f9e"/><file name="Product.php" hash="ea2312b5ef50c49324b1b50cd17cb209"/></dir><file name="Client.php" hash="8780534cb8b8b4b6a88d5aeb4725c2c8"/></dir><dir name="Helper"><file name="Data.php" hash="52df137e4f352014ad85823a0828254c"/><file name="Transport.php" hash="1219b8da93905496e383b3d358e0c1e2"/></dir><dir name="Model"><file name="Landing.php" hash="b50b47fb13f6bfef79fba6a6efd926c8"/><file name="Observer.php" hash="a894b39033027b08c9a198525c9bdf55"/></dir><dir name="controllers"><file name="CartController.php" hash="fc341ddef155031b8aba22504d85b197"/><file name="EmailController.php" hash="4248cbc84fca095697e1c1185d516ffb"/><file name="IndexController.php" hash="cb6747d719c1080cd8ca485255cbdbf0"/><dir name="Recaptureadmin"><file name="AuthenticateController.php" hash="e1ae384a0b93f155934000205ee393d7"/></dir></dir><dir name="etc"><file name="config.xml" hash="62991cb2ef69eafa6f7be493bdba0529"/><file name="system.xml" hash="81c8d6cf5e2cb9f1d65aeed73dc6a202"/></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Recapture_Connector.xml" hash="9d4118bc5293b3d732a353a8e402316a"/></dir></target><target name="magedesign"><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="recapture.xml" hash="db6abfffb58287c0a9c13ef8ceccbcc8"/></dir><dir name="template"><dir name="recapture"><dir name="client"><file name="page.phtml" hash="b09e356b874e5e3cf5ead473f0215036"/><file name="product.phtml" hash="ea01d5c7bde14881157e65c6571f68a3"/></dir></dir></dir></dir></dir></dir></target></contents>
18
  <compatible/>
19
  <dependencies><required><php><min>5.1.0</min><max>8.0.0</max></php></required></dependencies>
20
  </package>