DigitalPianism_Abandonedcarts - Version 1.0.3

Version Notes

- Fix a bug where it was impossible to preview the email templates in the backend

Download this release

Release Info

Developer Digital Pianism
Extension DigitalPianism_Abandonedcarts
Version 1.0.3
Comparing to
See all releases


Code changes from version 1.0.2 to 1.0.3

app/code/community/DigitalPianism/Abandonedcarts/etc/config.xml CHANGED
@@ -4,7 +4,7 @@
4
 
5
  <modules>
6
  <DigitalPianism_Abandonedcarts>
7
- <version>1.0.2</version>
8
  </DigitalPianism_Abandonedcarts>
9
  </modules>
10
 
4
 
5
  <modules>
6
  <DigitalPianism_Abandonedcarts>
7
+ <version>1.0.3</version>
8
  </DigitalPianism_Abandonedcarts>
9
  </modules>
10
 
app/design/frontend/base/default/template/digitalpianism/abandonedcarts/email/items.phtml CHANGED
@@ -2,25 +2,27 @@
2
  $productNames = $this->getProductname();
3
  $productImages = $this->getProductimage();
4
  ?>
5
- <table>
6
- <tr>
7
- <th>
8
- <?php echo Mage::helper('abandonedcarts')->__('Product Image'); ?>
9
- </th>
10
- <th>
11
- <?php echo Mage::helper('abandonedcarts')->__('Product Name'); ?>
12
- </th>
13
- </tr>
14
- <?php foreach($productNames as $i => $name): ?>
15
  <tr>
16
- <td>
17
- <?php if ($productImages[$i]): ?>
18
- <img src="<?php echo $productImages[$i]; ?>" alt="<?php echo $name; ?>" />
19
- <?php endif; ?>
20
- </td>
21
- <td>
22
- <?php echo $name; ?>
23
- </td>
24
  </tr>
25
- <?php endforeach; ?>
26
- </table>
 
 
 
 
 
 
 
 
 
 
 
 
2
  $productNames = $this->getProductname();
3
  $productImages = $this->getProductimage();
4
  ?>
5
+ <?php if ($productNames): ?>
6
+ <table>
 
 
 
 
 
 
 
 
7
  <tr>
8
+ <th>
9
+ <?php echo Mage::helper('abandonedcarts')->__('Product Image'); ?>
10
+ </th>
11
+ <th>
12
+ <?php echo Mage::helper('abandonedcarts')->__('Product Name'); ?>
13
+ </th>
 
 
14
  </tr>
15
+ <?php foreach($productNames as $i => $name): ?>
16
+ <tr>
17
+ <td>
18
+ <?php if ($productImages[$i]): ?>
19
+ <img src="<?php echo $productImages[$i]; ?>" alt="<?php echo $name; ?>" />
20
+ <?php endif; ?>
21
+ </td>
22
+ <td>
23
+ <?php echo $name; ?>
24
+ </td>
25
+ </tr>
26
+ <?php endforeach; ?>
27
+ </table>
28
+ <?php endif; ?>
app/design/frontend/base/default/template/digitalpianism/abandonedcarts/email/sale_items.phtml CHANGED
@@ -4,37 +4,39 @@ $productImages = $this->getProductimage();
4
  $cartPrices = $this->getCartprice();
5
  $salePrices = $this->getSpecialprice();
6
  ?>
7
- <table>
8
- <tr>
9
- <th>
10
- <?php echo Mage::helper('abandonedcarts')->__('Product Image'); ?>
11
- </th>
12
- <th>
13
- <?php echo Mage::helper('abandonedcarts')->__('Product Name'); ?>
14
- </th>
15
- <th>
16
- <?php echo Mage::helper('abandonedcarts')->__('Price when you left'); ?>
17
- </th>
18
- <th>
19
- <?php echo Mage::helper('abandonedcarts')->__('Price now'); ?>
20
- </th>
21
- </tr>
22
- <?php foreach($productNames as $i => $name): ?>
23
  <tr>
24
- <td>
25
- <?php if ($productImages[$i]): ?>
26
- <img src="<?php echo $productImages[$i]; ?>" alt="<?php echo $name; ?>" />
27
- <?php endif; ?>
28
- </td>
29
- <td>
30
- <?php echo $name; ?>
31
- </td>
32
- <td>
33
- <?php echo $cartPrices[$i]; ?>
34
- </td>
35
- <td>
36
- <?php echo $salePrices[$i]; ?>
37
- </td>
38
  </tr>
39
- <?php endforeach; ?>
40
- </table>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
4
  $cartPrices = $this->getCartprice();
5
  $salePrices = $this->getSpecialprice();
6
  ?>
7
+ <?php if ($productNames): ?>
8
+ <table>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
9
  <tr>
10
+ <th>
11
+ <?php echo Mage::helper('abandonedcarts')->__('Product Image'); ?>
12
+ </th>
13
+ <th>
14
+ <?php echo Mage::helper('abandonedcarts')->__('Product Name'); ?>
15
+ </th>
16
+ <th>
17
+ <?php echo Mage::helper('abandonedcarts')->__('Price when you left'); ?>
18
+ </th>
19
+ <th>
20
+ <?php echo Mage::helper('abandonedcarts')->__('Price now'); ?>
21
+ </th>
 
 
22
  </tr>
23
+ <?php foreach($productNames as $i => $name): ?>
24
+ <tr>
25
+ <td>
26
+ <?php if ($productImages[$i]): ?>
27
+ <img src="<?php echo $productImages[$i]; ?>" alt="<?php echo $name; ?>" />
28
+ <?php endif; ?>
29
+ </td>
30
+ <td>
31
+ <?php echo $name; ?>
32
+ </td>
33
+ <td>
34
+ <?php echo $cartPrices[$i]; ?>
35
+ </td>
36
+ <td>
37
+ <?php echo $salePrices[$i]; ?>
38
+ </td>
39
+ </tr>
40
+ <?php endforeach; ?>
41
+ </table>
42
+ <?php endif; ?>
package.xml CHANGED
@@ -1,7 +1,7 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>DigitalPianism_Abandonedcarts</name>
4
- <version>1.0.2</version>
5
  <stability>stable</stability>
6
  <license uri="http://opensource.org/licenses/osl-3.0.php">OSL v3.0</license>
7
  <channel>community</channel>
@@ -95,12 +95,11 @@ Save the configuration.&#xD;
95
  &#xD;
96
  &lt;p&gt;To manually trigger the notification system, please access System &amp;gt; Configuration &amp;gt; Digital Pianism &amp;gt; Abandoned carts email and click on the "Send" button&lt;/p&gt;&#xD;
97
  &lt;p&gt;Please note that this functionality will send abandoned carts notification regardless the delay you provided, all possible abandoned carts emails will be sent.&lt;/p&gt;</description>
98
- <notes>- Fix a bug where the admin URL would be used when notifying from the backend&#xD;
99
- - Fix a bug where admin users store would not remain on a multistore install</notes>
100
  <authors><author><name>Digital Pianism</name><user>digitalpianism</user><email>contact@digital-pianism.com</email></author></authors>
101
- <date>2016-07-15</date>
102
- <time>15:23:21</time>
103
- <contents><target name="magecommunity"><dir name="DigitalPianism"><dir name="Abandonedcarts"><dir name="Block"><dir name="Adminhtml"><dir name="Abandonedcarts"><file name="Grid.php" hash="7e68586db67733350fae2cb2231edc8f"/></dir><file name="Abandonedcarts.php" hash="5ed2323b6a2ffd66d0738f8635c660e3"/><dir name="Logs"><file name="Grid.php" hash="05c4ca332a6ad168e28e9a9128252231"/></dir><file name="Logs.php" hash="1173ec175c365fa5c01cbc72a98c0284"/><dir name="Saleabandonedcarts"><file name="Grid.php" hash="808a965b09d2958f6340c8e51c2fe68c"/></dir><file name="Saleabandonedcarts.php" hash="b1195b3697ccc733c61a03cb7d9032b1"/></dir></dir><dir name="Helper"><file name="Data.php" hash="f7d07930e3276bb06e6209293f287dc3"/></dir><dir name="Model"><dir name="Adminhtml"><file name="Observer.php" hash="d54b2bc70a87fca4f0c3bbb519b84c81"/></dir><file name="Collection.php" hash="3e19497dd2cd2170293136f8cff891dc"/><dir name="Link"><file name="Cleaner.php" hash="aced9e659252056b0f4747a78c6154c8"/></dir><file name="Link.php" hash="6f19c7976980e558d98589021d4d294f"/><file name="Log.php" hash="c9ce940c6a14cfa85c401183559661e4"/><file name="Notifier.php" hash="9eec0d81e83ffa591b8364e36ea61487"/><dir name="Resource"><dir name="Link"><file name="Collection.php" hash="39ea2cfb265412d82b9fda822af6d324"/></dir><file name="Link.php" hash="49d00b249de30aefc978f4515f6dbdd7"/><dir name="Log"><file name="Collection.php" hash="54abd79af31a1a853bc08eeed75dc7d0"/></dir><file name="Log.php" hash="00edba4d934093236ac78b42f066ba73"/></dir><dir name="Sales"><dir name="Resource"><file name="Quote.php" hash="3b2f9f24a74a6ea3b6851d64bd6ae5ba"/></dir></dir></dir><dir name="controllers"><dir name="Adminhtml"><file name="AbandonedcartsController.php" hash="32a56a5033b64320879da37f8b2a88e8"/></dir><file name="IndexController.php" hash="5c06db338a20d3de9b19c3f606edbc9a"/></dir><dir name="data"><dir name="abandonedcarts_setup"><file name="data-upgrade-0.3.6-1.0.0.php" hash="a60f9bccf9e42a458f808bc697320bb0"/></dir></dir><dir name="etc"><file name="adminhtml.xml" hash="ce393eb00049f28ff92401be828cd613"/><file name="config.xml" hash="a37c17748aa0e9b3118c9cf51393f12a"/><file name="system.xml" hash="e6a53269f6223eb246c2495600eb307d"/></dir><dir name="sql"><dir name="abandonedcarts_setup"><file name="install-0.0.1.php" hash="851338e4a710b5d94fead688b065f4b5"/><file name="upgrade-0.0.1-0.0.2.php" hash="0227c009e49b97bcf3f34f84c49f0927"/><file name="upgrade-0.3.6-1.0.0.php" hash="1ac772ef331c8a2278e2c8df77aeb799"/></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="DigitalPianism_Abandonedcarts.xml" hash="8a7657855486c68d548db4ba48e083d2"/></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="template"><dir name="digitalpianism"><dir name="abandonedcarts"><file name="list.phtml" hash="6af16de73f1b0a3c580e65a95642722f"/></dir></dir></dir><dir name="layout"><dir name="digitalpianism"><file name="abandonedcarts.xml" hash="2f4ec5178aed1c84213605b5212d676e"/></dir></dir></dir></dir></dir><dir name="frontend"><dir name="base"><dir name="default"><dir name="template"><dir name="digitalpianism"><dir name="abandonedcarts"><dir name="email"><file name="items.phtml" hash="1938d5ee30752918b1be76be845b9214"/><file name="sale_items.phtml" hash="7dfce25f17ba19532e68592772bf63ad"/></dir></dir></dir></dir></dir></dir></dir></target><target name="magelocale"><dir name="en_US"><dir name="template"><dir name="email"><dir name="digitalpianism"><dir name="abandonedcarts"><file name="sales_abandonedcarts.html" hash="a35bd61e1f172b37ac4ed317e1ad44e9"/><file name="sales_abandonedcarts_sale.html" hash="4f437deca852efeacfec0fb3ba929971"/></dir></dir></dir></dir><file name="DigitalPianism_Abandonedcarts.csv" hash="bd3ed00291684eac5149305ed829a824"/></dir><dir name="fr_FR"><dir name="template"><dir name="email"><dir name="digitalpianism"><dir name="abandonedcarts"><file name="sales_abandonedcarts.html" hash="3ec93757d563ed926090a394577f1dbd"/><file name="sales_abandonedcarts_sale.html" hash="3586968516c8e8374cfa913a3eea7995"/></dir></dir></dir></dir><file name="DigitalPianism_Abandonedcarts.csv" hash="2a9c63b4d83cb922b3060a4735dabe38"/></dir></target></contents>
104
  <compatible/>
105
  <dependencies><required><php><min>4.1.0</min><max>6.0.0</max></php></required></dependencies>
106
  </package>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>DigitalPianism_Abandonedcarts</name>
4
+ <version>1.0.3</version>
5
  <stability>stable</stability>
6
  <license uri="http://opensource.org/licenses/osl-3.0.php">OSL v3.0</license>
7
  <channel>community</channel>
95
  &#xD;
96
  &lt;p&gt;To manually trigger the notification system, please access System &amp;gt; Configuration &amp;gt; Digital Pianism &amp;gt; Abandoned carts email and click on the "Send" button&lt;/p&gt;&#xD;
97
  &lt;p&gt;Please note that this functionality will send abandoned carts notification regardless the delay you provided, all possible abandoned carts emails will be sent.&lt;/p&gt;</description>
98
+ <notes>- Fix a bug where it was impossible to preview the email templates in the backend</notes>
 
99
  <authors><author><name>Digital Pianism</name><user>digitalpianism</user><email>contact@digital-pianism.com</email></author></authors>
100
+ <date>2016-10-19</date>
101
+ <time>16:03:32</time>
102
+ <contents><target name="magecommunity"><dir name="DigitalPianism"><dir name="Abandonedcarts"><dir name="Block"><dir name="Adminhtml"><dir name="Abandonedcarts"><file name="Grid.php" hash="7e68586db67733350fae2cb2231edc8f"/></dir><file name="Abandonedcarts.php" hash="5ed2323b6a2ffd66d0738f8635c660e3"/><dir name="Logs"><file name="Grid.php" hash="05c4ca332a6ad168e28e9a9128252231"/></dir><file name="Logs.php" hash="1173ec175c365fa5c01cbc72a98c0284"/><dir name="Saleabandonedcarts"><file name="Grid.php" hash="808a965b09d2958f6340c8e51c2fe68c"/></dir><file name="Saleabandonedcarts.php" hash="b1195b3697ccc733c61a03cb7d9032b1"/></dir></dir><dir name="Helper"><file name="Data.php" hash="f7d07930e3276bb06e6209293f287dc3"/></dir><dir name="Model"><dir name="Adminhtml"><file name="Observer.php" hash="d54b2bc70a87fca4f0c3bbb519b84c81"/></dir><file name="Collection.php" hash="3e19497dd2cd2170293136f8cff891dc"/><dir name="Link"><file name="Cleaner.php" hash="aced9e659252056b0f4747a78c6154c8"/></dir><file name="Link.php" hash="6f19c7976980e558d98589021d4d294f"/><file name="Log.php" hash="c9ce940c6a14cfa85c401183559661e4"/><file name="Notifier.php" hash="9eec0d81e83ffa591b8364e36ea61487"/><dir name="Resource"><dir name="Link"><file name="Collection.php" hash="39ea2cfb265412d82b9fda822af6d324"/></dir><file name="Link.php" hash="49d00b249de30aefc978f4515f6dbdd7"/><dir name="Log"><file name="Collection.php" hash="54abd79af31a1a853bc08eeed75dc7d0"/></dir><file name="Log.php" hash="00edba4d934093236ac78b42f066ba73"/></dir><dir name="Sales"><dir name="Resource"><file name="Quote.php" hash="3b2f9f24a74a6ea3b6851d64bd6ae5ba"/></dir></dir></dir><dir name="controllers"><dir name="Adminhtml"><file name="AbandonedcartsController.php" hash="32a56a5033b64320879da37f8b2a88e8"/></dir><file name="IndexController.php" hash="5c06db338a20d3de9b19c3f606edbc9a"/></dir><dir name="data"><dir name="abandonedcarts_setup"><file name="data-upgrade-0.3.6-1.0.0.php" hash="a60f9bccf9e42a458f808bc697320bb0"/></dir></dir><dir name="etc"><file name="adminhtml.xml" hash="ce393eb00049f28ff92401be828cd613"/><file name="config.xml" hash="077dae100917115d1251489c7c4e4fd8"/><file name="system.xml" hash="e6a53269f6223eb246c2495600eb307d"/></dir><dir name="sql"><dir name="abandonedcarts_setup"><file name="install-0.0.1.php" hash="851338e4a710b5d94fead688b065f4b5"/><file name="upgrade-0.0.1-0.0.2.php" hash="0227c009e49b97bcf3f34f84c49f0927"/><file name="upgrade-0.3.6-1.0.0.php" hash="1ac772ef331c8a2278e2c8df77aeb799"/></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="DigitalPianism_Abandonedcarts.xml" hash="8a7657855486c68d548db4ba48e083d2"/></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="template"><dir name="digitalpianism"><dir name="abandonedcarts"><file name="list.phtml" hash="6af16de73f1b0a3c580e65a95642722f"/></dir></dir></dir><dir name="layout"><dir name="digitalpianism"><file name="abandonedcarts.xml" hash="2f4ec5178aed1c84213605b5212d676e"/></dir></dir></dir></dir></dir><dir name="frontend"><dir name="base"><dir name="default"><dir name="template"><dir name="digitalpianism"><dir name="abandonedcarts"><dir name="email"><file name="items.phtml" hash="e1d1990b47b16309e3ea6c09043e15e2"/><file name="sale_items.phtml" hash="47e2298fdedd253a9d9c5e3d1c1c17b7"/></dir></dir></dir></dir></dir></dir></dir></target><target name="magelocale"><dir name="en_US"><dir name="template"><dir name="email"><dir name="digitalpianism"><dir name="abandonedcarts"><file name="sales_abandonedcarts.html" hash="a35bd61e1f172b37ac4ed317e1ad44e9"/><file name="sales_abandonedcarts_sale.html" hash="4f437deca852efeacfec0fb3ba929971"/></dir></dir></dir></dir><file name="DigitalPianism_Abandonedcarts.csv" hash="bd3ed00291684eac5149305ed829a824"/></dir><dir name="fr_FR"><dir name="template"><dir name="email"><dir name="digitalpianism"><dir name="abandonedcarts"><file name="sales_abandonedcarts.html" hash="3ec93757d563ed926090a394577f1dbd"/><file name="sales_abandonedcarts_sale.html" hash="3586968516c8e8374cfa913a3eea7995"/></dir></dir></dir></dir><file name="DigitalPianism_Abandonedcarts.csv" hash="2a9c63b4d83cb922b3060a4735dabe38"/></dir></target></contents>
103
  <compatible/>
104
  <dependencies><required><php><min>4.1.0</min><max>6.0.0</max></php></required></dependencies>
105
  </package>