Version Notes
Updated version to 1.1.7
Download this release
Release Info
Developer | David Webber |
Extension | recapture |
Version | 1.1.7 |
Comparing to | |
See all releases |
Code changes from version 1.1.6 to 1.1.7
app/code/local/Recapture/Connector/Model/Observer.php
CHANGED
@@ -50,6 +50,8 @@ class Recapture_Connector_Model_Observer {
|
|
50 |
$mediaConfig = Mage::getModel('catalog/product_media_config');
|
51 |
$storeId = Mage::app()->getStore();
|
52 |
|
|
|
|
|
53 |
$transportData = array(
|
54 |
'first_name' => Mage::helper('recapture')->getCustomerFirstname($quote),
|
55 |
'last_name' => Mage::helper('recapture')->getCustomerLastname($quote),
|
@@ -121,7 +123,7 @@ class Recapture_Connector_Model_Observer {
|
|
121 |
$product = array(
|
122 |
'name' => $item->getName(),
|
123 |
'sku' => $item->getSku(),
|
124 |
-
'price' => $item->getPrice(),
|
125 |
'qty' => $item->getQty(),
|
126 |
'image' => $productImage,
|
127 |
'options' => $visibleOptions
|
50 |
$mediaConfig = Mage::getModel('catalog/product_media_config');
|
51 |
$storeId = Mage::app()->getStore();
|
52 |
|
53 |
+
$totalWithTax = Mage::getStoreConfig('recapture/abandoned_carts/include_tax_with_products');
|
54 |
+
|
55 |
$transportData = array(
|
56 |
'first_name' => Mage::helper('recapture')->getCustomerFirstname($quote),
|
57 |
'last_name' => Mage::helper('recapture')->getCustomerLastname($quote),
|
123 |
$product = array(
|
124 |
'name' => $item->getName(),
|
125 |
'sku' => $item->getSku(),
|
126 |
+
'price' => $totalWithTax ? $item->getPriceInclTax() : $item->getPrice(),
|
127 |
'qty' => $item->getQty(),
|
128 |
'image' => $productImage,
|
129 |
'options' => $visibleOptions
|
app/code/local/Recapture/Connector/etc/config.xml
CHANGED
@@ -132,6 +132,7 @@
|
|
132 |
<recapture>
|
133 |
<abandoned_carts>
|
134 |
<return_landing>cart</return_landing>
|
|
|
135 |
</abandoned_carts>
|
136 |
</recapture>
|
137 |
</default>
|
132 |
<recapture>
|
133 |
<abandoned_carts>
|
134 |
<return_landing>cart</return_landing>
|
135 |
+
<include_tax_with_products>0</include_tax_with_products>
|
136 |
</abandoned_carts>
|
137 |
</recapture>
|
138 |
</default>
|
app/code/local/Recapture/Connector/etc/system.xml
CHANGED
@@ -102,6 +102,16 @@
|
|
102 |
<source_model>recapture/landing</source_model>
|
103 |
<comment>What page do you want the customer to land on when they click a link in any abandoned cart emails we send?</comment>
|
104 |
</return_landing>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
105 |
</fields>
|
106 |
</abandoned_carts>
|
107 |
</groups>
|
102 |
<source_model>recapture/landing</source_model>
|
103 |
<comment>What page do you want the customer to land on when they click a link in any abandoned cart emails we send?</comment>
|
104 |
</return_landing>
|
105 |
+
<include_tax_with_products translate="label">
|
106 |
+
<label>Include Tax with Product Totals</label>
|
107 |
+
<frontend_type>select</frontend_type>
|
108 |
+
<sort_order>30</sort_order>
|
109 |
+
<show_in_default>1</show_in_default>
|
110 |
+
<show_in_website>1</show_in_website>
|
111 |
+
<show_in_store>0</show_in_store>
|
112 |
+
<source_model>adminhtml/system_config_source_yesno</source_model>
|
113 |
+
<comment>Whether not to include tax in the product total.</comment>
|
114 |
+
</include_tax_with_products>
|
115 |
</fields>
|
116 |
</abandoned_carts>
|
117 |
</groups>
|
package.xml
CHANGED
@@ -1,18 +1,18 @@
|
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>recapture</name>
|
4 |
-
<version>1.1.
|
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.1.
|
12 |
<authors><author><name>David Webber</name><user>Recapture</user><email>hello@recapture.io</email></author></authors>
|
13 |
-
<date>2015-
|
14 |
-
<time>
|
15 |
-
<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="3452dbf00cdf4a87199eae62873a5706"/><file name="Key.php" hash="adf516740c9e1a392fd7f81c4fb1927e"/><file name="Status.php" hash="f19858c8bb476b05e7e86cbdce403323"/></dir></dir></dir><file name="Client.php" hash="91f04f33fc71e6bbe006d15a49bb6bb2"/></dir><dir name="controllers"><file name="CartController.php" hash="438f39a0c47b852e4e82c9b0505f3d80"/><file name="IndexController.php" hash="3b1bb4f397617f696ac89e688c4dc1ae"/><dir name="Recaptureadmin"><file name="AuthenticateController.php" hash="f49e6525739325f65da0b30e40d4ef5c"/></dir><file name="RecaptureController.php" hash="987215ca928935afc9d4f9ce4fdf670c"/></dir><dir name="etc"><file name="config.xml" hash="
|
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>recapture</name>
|
4 |
+
<version>1.1.7</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.1.7</notes>
|
12 |
<authors><author><name>David Webber</name><user>Recapture</user><email>hello@recapture.io</email></author></authors>
|
13 |
+
<date>2015-12-04</date>
|
14 |
+
<time>23:48:53</time>
|
15 |
+
<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="3452dbf00cdf4a87199eae62873a5706"/><file name="Key.php" hash="adf516740c9e1a392fd7f81c4fb1927e"/><file name="Status.php" hash="f19858c8bb476b05e7e86cbdce403323"/></dir></dir></dir><file name="Client.php" hash="91f04f33fc71e6bbe006d15a49bb6bb2"/></dir><dir name="controllers"><file name="CartController.php" hash="438f39a0c47b852e4e82c9b0505f3d80"/><file name="IndexController.php" hash="3b1bb4f397617f696ac89e688c4dc1ae"/><dir name="Recaptureadmin"><file name="AuthenticateController.php" hash="f49e6525739325f65da0b30e40d4ef5c"/></dir><file name="RecaptureController.php" hash="987215ca928935afc9d4f9ce4fdf670c"/></dir><dir name="etc"><file name="config.xml" hash="ec3dc8d57c89d18dc43387ac6d944c68"/><file name="system.xml" hash="af0be04272df4919869f0d100528954d"/></dir><dir name="Helper"><file name="Data.php" hash="3779ea73875887b10e8ceee0782c8648"/><file name="Transport.php" hash="7bdbdbf7c3cee4841fe7ce42371f5951"/></dir><dir name="Model"><file name="Landing.php" hash="5a9ee53115f4caa835e3e381fd9ba937"/><file name="Observer.php" hash="95591a026c6ad62d049a411f10423405"/></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Recapture_Connector.xml" hash="e8fea9dc4237af6b34219c7f52bd02d8"/></dir></target><target name="magedesign"><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="recapture.xml" hash="5a91899f12df162c706b17db79fb7f72"/></dir><dir name="template"><dir name="recapture"><file name="client.phtml" hash="50b49c48d393cf2566ab42b561bcf277"/></dir></dir></dir></dir></dir></target></contents>
|
16 |
<compatible/>
|
17 |
<dependencies><required><php><min>5.1.0</min><max>6.0.0</max></php></required></dependencies>
|
18 |
</package>
|