Adestra_MFAbandonedCart - Version 1.0.3

Version Notes

Added functionality to capture the special price in the basket items.

Download this release

Release Info

Developer Anna Grieve
Extension Adestra_MFAbandonedCart
Version 1.0.3
Comparing to
See all releases


Code changes from version 1.0.2 to 1.0.3

app/code/local/Adestra/MFAbandonedCart/Model/Conversion.php CHANGED
@@ -39,7 +39,8 @@ class Adestra_MFAbandonedCart_Model_Conversion {
39
  foreach ($cart->getAllVisibleItems() as $item) {
40
  $conversion_item = array();
41
  $conversion_item['ref'] = $item->getProduct()->getSku();
42
- $conversion_item['value'] = number_format($item->getProduct()->getPrice(), 2, '.', '');
 
43
  $conversion_item['name'] = $item->getProduct()->getName();
44
  $conversion_item['quantity'] = $item->getQty();
45
  $conversion_item['image_url'] = urlencode($item->getProduct()->getThumbnailUrl());
39
  foreach ($cart->getAllVisibleItems() as $item) {
40
  $conversion_item = array();
41
  $conversion_item['ref'] = $item->getProduct()->getSku();
42
+ //$conversion_item['value'] = number_format($item->getProduct()->getPrice(), 2, '.', '');
43
+ $conversion_item['value'] = number_format($item->getProduct()->getFinalPrice(), 2, '.', ''); // Final price includes discounts.
44
  $conversion_item['name'] = $item->getProduct()->getName();
45
  $conversion_item['quantity'] = $item->getQty();
46
  $conversion_item['image_url'] = urlencode($item->getProduct()->getThumbnailUrl());
app/code/local/Adestra/MFAbandonedCart/etc/config.xml CHANGED
@@ -2,7 +2,7 @@
2
  <config>
3
  <modules>
4
  <Adestra_MFAbandonedCart>
5
- <version>1.0.2</version>
6
  </Adestra_MFAbandonedCart>
7
  </modules>
8
  <global>
2
  <config>
3
  <modules>
4
  <Adestra_MFAbandonedCart>
5
+ <version>1.0.3</version>
6
  </Adestra_MFAbandonedCart>
7
  </modules>
8
  <global>
package.xml CHANGED
@@ -1,18 +1,18 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Adestra_MFAbandonedCart</name>
4
- <version>1.0.2</version>
5
  <stability>stable</stability>
6
  <license>GNU General Public License (GPL)</license>
7
  <channel>community</channel>
8
  <extends/>
9
  <summary>Adestra Message Focus Abandoned cart</summary>
10
  <description>Message Focus conversion capture integration module.</description>
11
- <notes>Repackaged as stable.</notes>
12
  <authors><author><name>Anna Grieve</name><user>Adestra</user><email>integrations@adestra.com</email></author></authors>
13
- <date>2013-11-06</date>
14
- <time>09:45:02</time>
15
- <contents><target name="magelocal"><dir name="Adestra"><dir name="MFAbandonedCart"><dir name="Block"><file name="Checkout.php" hash="70e50c4ac3ed85eddb01577a131e275c"/></dir><dir name="Helper"><file name="Data.php" hash="5e73c48ff39c3de8d9fafd9f451e2931"/></dir><dir name="Model"><file name="Conversion.php" hash="864677d6d4c21a8343c59107b91ac998"/></dir><dir name="controllers"><file name="IndexController.php" hash="c09e1260e9aee7ad30b25c9ca5e4e646"/></dir><dir name="etc"><file name="config.xml" hash="8cd41e6a5265fa313a2331c6927cd89d"/><file name="system.xml" hash="9ea649f0de6f98188316f378250743a3"/></dir></dir></dir></target><target name="magedesign"><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="mfabandonedcart.xml" hash="ffc1de303843a0e960fe101881c83ad8"/></dir><dir name="template"><dir name="mfabandonedcart"><dir name="checkout"><file name="purchase_action.phtml" hash="c79a929292c3ec02c0ab88b27869311c"/><file name="update_action.phtml" hash="9b2b200dc7501a9e181dc02343948b92"/></dir></dir></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Adestra_MFAbandonedCart.xml" hash="98a24bc0c93f67574a5acc486117e3cc"/></dir></target></contents>
16
  <compatible/>
17
  <dependencies><required><php><min>5.1.0</min><max>6.0.0</max></php><package><name>Mage_Core_Modules</name><channel>community</channel><min>1.5</min><max>1.7</max></package></required></dependencies>
18
  </package>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Adestra_MFAbandonedCart</name>
4
+ <version>1.0.3</version>
5
  <stability>stable</stability>
6
  <license>GNU General Public License (GPL)</license>
7
  <channel>community</channel>
8
  <extends/>
9
  <summary>Adestra Message Focus Abandoned cart</summary>
10
  <description>Message Focus conversion capture integration module.</description>
11
+ <notes>Added functionality to capture the special price in the basket items.</notes>
12
  <authors><author><name>Anna Grieve</name><user>Adestra</user><email>integrations@adestra.com</email></author></authors>
13
+ <date>2013-12-13</date>
14
+ <time>10:35:09</time>
15
+ <contents><target name="magelocal"><dir name="Adestra"><dir name="MFAbandonedCart"><dir name="Block"><file name="Checkout.php" hash="70e50c4ac3ed85eddb01577a131e275c"/></dir><dir name="Helper"><file name="Data.php" hash="5e73c48ff39c3de8d9fafd9f451e2931"/></dir><dir name="Model"><file name="Conversion.php" hash="56d78a87aaf920bd1fe936e6e11168c2"/></dir><dir name="controllers"><file name="IndexController.php" hash="c09e1260e9aee7ad30b25c9ca5e4e646"/></dir><dir name="etc"><file name="config.xml" hash="c2c84ffcd8f14ca7e314d1ad1425e900"/><file name="system.xml" hash="9ea649f0de6f98188316f378250743a3"/></dir></dir></dir></target><target name="magedesign"><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="mfabandonedcart.xml" hash="ffc1de303843a0e960fe101881c83ad8"/></dir><dir name="template"><dir name="mfabandonedcart"><dir name="checkout"><file name="purchase_action.phtml" hash="c79a929292c3ec02c0ab88b27869311c"/><file name="update_action.phtml" hash="9b2b200dc7501a9e181dc02343948b92"/></dir></dir></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Adestra_MFAbandonedCart.xml" hash="98a24bc0c93f67574a5acc486117e3cc"/></dir></target></contents>
16
  <compatible/>
17
  <dependencies><required><php><min>5.1.0</min><max>6.0.0</max></php><package><name>Mage_Core_Modules</name><channel>community</channel><min>1.5</min><max>1.7</max></package></required></dependencies>
18
  </package>