DigitalPianism_Abandonedcarts - Version 0.3.1

Version Notes

- Fix a bug where it was impossible to load the default templates.

Download this release

Release Info

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


Code changes from version 0.3.0 to 0.3.1

app/code/community/DigitalPianism/Abandonedcarts/etc/config.xml CHANGED
@@ -4,7 +4,7 @@
4
 
5
  <modules>
6
  <DigitalPianism_Abandonedcarts>
7
- <version>0.3.0</version>
8
  </DigitalPianism_Abandonedcarts>
9
  </modules>
10
 
@@ -76,12 +76,12 @@
76
  <email>
77
  <abandonedcartsconfig_options_email_template translate="label" module="abandonedcarts">
78
  <label>Abandoned Cart Template</label>
79
- <file>digitalpianism/sales_abandonedcarts.html</file>
80
  <type>html</type>
81
  </abandonedcartsconfig_options_email_template>
82
  <abandonedcartsconfig_options_email_template_sale translate="label" module="abandonedcarts">
83
  <label>Abandoned Cart Sale Template</label>
84
- <file>digitalpianism/sales_abandonedcarts_sale.html</file>
85
  <type>html</type>
86
  </abandonedcartsconfig_options_email_template_sale>
87
  </email>
4
 
5
  <modules>
6
  <DigitalPianism_Abandonedcarts>
7
+ <version>0.3.1</version>
8
  </DigitalPianism_Abandonedcarts>
9
  </modules>
10
 
76
  <email>
77
  <abandonedcartsconfig_options_email_template translate="label" module="abandonedcarts">
78
  <label>Abandoned Cart Template</label>
79
+ <file>digitalpianism/abandonedcarts/sales_abandonedcarts.html</file>
80
  <type>html</type>
81
  </abandonedcartsconfig_options_email_template>
82
  <abandonedcartsconfig_options_email_template_sale translate="label" module="abandonedcarts">
83
  <label>Abandoned Cart Sale Template</label>
84
+ <file>digitalpianism/abandonedcarts/sales_abandonedcarts_sale.html</file>
85
  <type>html</type>
86
  </abandonedcartsconfig_options_email_template_sale>
87
  </email>
app/locale/en_US/DigitalPianism_Abandonedcarts.csv CHANGED
@@ -1,4 +1,13 @@
1
  Abandoned Carts Email,Abandoned Carts Email
 
 
 
 
 
 
 
 
 
2
  Sender Name,Sender Name
3
  Sender Email,Sender Email
4
  Email Template for Unaltered Abandoned Carts,Email Template for Unaltered Abandoned Carts
1
  Abandoned Carts Email,Abandoned Carts Email
2
+ Abandoned Carts Emails,Abandoned Carts Emails
3
+ Enable Abandoned Carts Notification,Enable Abandoned Carts Notification
4
+ Enable Sale Abandoned Carts Notification,Enable Sale Abandoned Carts Notification
5
+ Dry Run,Dry Run
6
+ Setting this parameter to Yes will log all the email addresses supposed to receive a notification into the var/log/digitalpianism_abandonedcarts.log file and will not send the real email notification,Setting this parameter to Yes will log all the email addresses supposed to receive a notification into the var/log/digitalpianism_abandonedcarts.log file and will not send the real email notification
7
+ Test Email,Test Email
8
+ With dry run set to yes, this email is used to filter the emails supposed to be sent and only send a notification email to the customer with this email address,With dry run set to yes, this email is used to filter the emails supposed to be sent and only send a notification email to the customer with this email address
9
+ Send Notifications Now,Send Notifications Now
10
+ Cron Schedule,Cron Schedule
11
  Sender Name,Sender Name
12
  Sender Email,Sender Email
13
  Email Template for Unaltered Abandoned Carts,Email Template for Unaltered Abandoned Carts
app/locale/en_US/template/email/digitalpianism/abandonedcarts/sales_abandonedcarts.html CHANGED
@@ -12,12 +12,14 @@
12
  <!-- [ middle starts here] -->
13
  <tr>
14
  <td valign="top">
15
- <p style="font-size:12px; line-height:16px; margin:0;">
16
- Dear {{var firstname}},<br />
17
- You have abandoned a {{var productname}} {{depend extraproductcount}} and {{var extraproductcount}} more products{{/depend}} in your cart.<br/>
18
-
19
- Follow this link and log in to finalize your purchase: {{config path="web/unsecure/base_url"}}
20
- </p>
 
 
21
  </td>
22
  </tr>
23
  </table>
12
  <!-- [ middle starts here] -->
13
  <tr>
14
  <td valign="top">
15
+ <div>
16
+ <p>Dear {{var firstname}},</p>
17
+ <p>You have abandoned the following product in your shopping bag:</p>
18
+ <img src="{{var productimage}}" alt="{{var productname}}" />
19
+ <p>{{var productname}}</p>
20
+ <p>{{depend extraproductcount}} As well as {{var extraproductcount}} more products{{/depend}}.</p>
21
+ <p>Follow this link and log in to finalize your purchase: {{config path="web/unsecure/base_url"}}</p>
22
+ </div>
23
  </td>
24
  </tr>
25
  </table>
app/locale/en_US/template/email/digitalpianism/abandonedcarts/sales_abandonedcarts_sale.html CHANGED
@@ -12,18 +12,19 @@
12
  <!-- [ middle starts here] -->
13
  <tr>
14
  <td valign="top">
15
- <p style="font-size:12px; line-height:16px; margin:0;">
16
- Dear {{var firstname}},<br />
17
- You have abandoned a {{var productname}} in your cart.<br/>
18
-
19
- It was {{var cartprice}} and now is {{var specialprice}}.<br/>
20
-
 
21
  {{depend extraproductcount}}
22
- Purchase the {{var extraproductcount}} other sale products in your cart and save {{var discount}} on your order.<br/>
23
  {{/depend}}
24
-
25
- Follow this link and log in to finalize your purchase with the new special price: {{config path="web/unsecure/base_url"}}
26
- </p>
27
  </td>
28
  </tr>
29
  </table>
12
  <!-- [ middle starts here] -->
13
  <tr>
14
  <td valign="top">
15
+ <div>
16
+ <p>Dear {{var firstname}},</p>
17
+ <p>You have abandoned the following product in your shopping bag:</p>
18
+ <img src="{{var productimage}}" alt="{{var productname}}" />
19
+ <p>{{var productname}}</p>
20
+ <p>It was {{var cartprice}} and now is {{var specialprice}}.</p>
21
+ <p>
22
  {{depend extraproductcount}}
23
+ Purchase the {{var extraproductcount}} other sale products in your cart and save {{var discount}} on your order.
24
  {{/depend}}
25
+ </p>
26
+ <p>Follow this link and log in to finalize your purchase with the new special price: {{config path="web/unsecure/base_url"}}</p>
27
+ </div>
28
  </td>
29
  </tr>
30
  </table>
app/locale/fr_FR/DigitalPianism_Abandonedcarts.csv ADDED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Abandoned Carts Email,Email des paniers abandonn�s
2
+ Abandoned Carts Emails,Emails des paniers abandonn�s
3
+ Enable Abandoned Carts Notification,Activer les notifications de paniers abandonn�s
4
+ Enable Sale Abandoned Carts Notification,Activer les notifications de paniers abandonn�s en promo
5
+ Dry Run,Test
6
+ Setting this parameter to Yes will log all the email addresses supposed to receive a notification into the var/log/digitalpianism_abandonedcarts.log file and will not send the real email notification,Mettre la valeur � Oui enregistrera toutes les adresses emails suppos�s recevoir une notification dans le fichier var/log/digitalpianism_abandonedcarts.log et n'enverra pas les emails
7
+ Test Email,Email de test
8
+ With dry run set to yes, this email is used to filter the emails supposed to be sent and only send a notification email to the customer with this email address,Avec Test � Oui, cette adresse email sera utilis�e pour filter les emails suppos�s �tre envoy� et seulement envoy� l'email de notification au client avec cette adresse
9
+ Send Notifications Now,Envoyer les notification maintenant
10
+ Cron Schedule,R�glage du cron
11
+ Sender Name,Nom de l'exp�diteur
12
+ Sender Email,Email de l'exp�diteur
13
+ Email Template for Unaltered Abandoned Carts,Gabarit d'email pour les paniers abandonn�s non modifi�s
14
+ Send Abandoned Cart Email After,Envoyer l'email de notification apr�s
15
+ (days). NB: this only affects unaltered abandoned carts. If products go on sale, the email below is sent on the same day.,(jours). NB: cela affecte seulement les paniers abandonn�s non modifi�s. Si un des produits passent en promotion, l'email ci dessous sera envoy� le m�me jour.
16
+ Email Template for Sale Products,Gabarit d'email pour les produits en promo
app/locale/fr_FR/template/email/digitalpianism/abandonedcarts/sales_abandonedcarts.html ADDED
@@ -0,0 +1,28 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <!--@subject {{var fullname}} Abandoned Products In Your Shopping Bag! @-->
2
+ <body style="background:#F6F6F6; font-family:Verdana, Arial, Helvetica, sans-serif; font-size:12px; margin:0; padding:0;">
3
+ <div style="background:#F6F6F6; font-family:Verdana, Arial, Helvetica, sans-serif; font-size:12px; margin:0; padding:0;">
4
+ <table cellspacing="0" cellpadding="0" border="0" width="100%">
5
+ <tr>
6
+ <td align="center" valign="top" style="padding:20px 0 20px 0">
7
+ <table bgcolor="#FFFFFF" cellspacing="0" cellpadding="10" border="0" width="650" style="border:1px solid #E0E0E0;">
8
+ <!-- [ header starts here] -->
9
+ <tr>
10
+ <td valign="top"><a href="{{store url=""}}"><img src="{{var logo_url}}" alt="{{var logo_alt}}" style="margin-bottom:10px;" border="0"/></a></td>
11
+ </tr>
12
+ <!-- [ middle starts here] -->
13
+ <tr>
14
+ <td valign="top">
15
+ <p style="font-size:12px; line-height:16px; margin:0;">
16
+ Ch&egrave;r(e) {{var firstname}},<br />
17
+ Vous avez abandonn&eacute; un(e) {{var productname}} {{depend extraproductcount}} et {{var extraproductcount}} autres produits{{/depend}} dans votre panier.<br/>
18
+
19
+ Suivez ce lien et connectez-vous pour finaliser votre achat: {{config path="web/unsecure/base_url"}}
20
+ </p>
21
+ </td>
22
+ </tr>
23
+ </table>
24
+ </td>
25
+ </tr>
26
+ </table>
27
+ </div>
28
+ </body>
app/locale/fr_FR/template/email/digitalpianism/abandonedcarts/sales_abandonedcarts_sale.html ADDED
@@ -0,0 +1,34 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <!--@subject {{var fullname}} Abandoned Sale Products In Your Shopping Bag! @-->
2
+ <body style="background:#F6F6F6; font-family:Verdana, Arial, Helvetica, sans-serif; font-size:12px; margin:0; padding:0;">
3
+ <div style="background:#F6F6F6; font-family:Verdana, Arial, Helvetica, sans-serif; font-size:12px; margin:0; padding:0;">
4
+ <table cellspacing="0" cellpadding="0" border="0" width="100%">
5
+ <tr>
6
+ <td align="center" valign="top" style="padding:20px 0 20px 0">
7
+ <table bgcolor="#FFFFFF" cellspacing="0" cellpadding="10" border="0" width="650" style="border:1px solid #E0E0E0;">
8
+ <!-- [ header starts here] -->
9
+ <tr>
10
+ <td valign="top"><a href="{{store url=""}}"><img src="{{var logo_url}}" alt="{{var logo_alt}}" style="margin-bottom:10px;" border="0"/></a></td>
11
+ </tr>
12
+ <!-- [ middle starts here] -->
13
+ <tr>
14
+ <td valign="top">
15
+ <p style="font-size:12px; line-height:16px; margin:0;">
16
+ Ch&egrave;r(e) {{var firstname}},<br />
17
+ Vous avez abandonn&eacute; un(e) {{var productname}} dans votre panier.<br/>
18
+
19
+ Son prix &eacute;tait de {{var cartprice}} et est maintenant de {{var specialprice}}.<br/>
20
+
21
+ {{depend extraproductcount}}
22
+ Achetez les {{var extraproductcount}} autre produits en promotion dans votre panier et &eacute;conomisez {{var discount}} sur votre commande.<br/>
23
+ {{/depend}}
24
+
25
+ Suivez ce lien et connectez vous pour finaliser votre achat en profitant des promotions: {{config path="web/unsecure/base_url"}}
26
+ </p>
27
+ </td>
28
+ </tr>
29
+ </table>
30
+ </td>
31
+ </tr>
32
+ </table>
33
+ </div>
34
+ </body>
package.xml CHANGED
@@ -1,7 +1,7 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>DigitalPianism_Abandonedcarts</name>
4
- <version>0.3.0</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>- Add customer groups limitation to the configuration.&#xD;
99
- - Rename functions and change their scope in the observer.</notes>
100
  <authors><author><name>Digital Pianism</name><user>digitalpianism</user><email>contact@digital-pianism.com</email></author></authors>
101
- <date>2015-11-09</date>
102
- <time>22:05:06</time>
103
- <contents><target name="magecommunity"><dir name="DigitalPianism"><dir name="Abandonedcarts"><dir name="Block"><dir name="Adminhtml"><dir name="System"><dir name="Config"><dir name="Form"><file name="Button.php" hash="1c8d9cad5c54bcc28c0760e72406b5e3"/></dir></dir></dir></dir></dir><dir name="Helper"><file name="Data.php" hash="5148fe5929e61f4c8385c6c5be0b89f3"/></dir><dir name="Model"><file name="Observer.php" hash="da44cfc8260e379469d30d084bb657d0"/><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="c26ae0925cc1ca148f5e3277702842e2"/></dir></dir><dir name="etc"><file name="adminhtml.xml" hash="8ddca513c0ed7e034c476f3e026ceda8"/><file name="config.xml" hash="af76ba643fcdf63b75e636a43dc264a9"/><file name="system.xml" hash="4f3de82fe3221fb6b4f81cd646a8200b"/></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"/></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"><dir name="system"><dir name="config"><file name="button.phtml" hash="8f7e673ea52cd81b616cac01b1022990"/></dir></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="30565f91c47913465fd184a214c14b23"/><file name="sales_abandonedcarts_sale.html" hash="3cdee557727cb0166741062e5fdcf06f"/></dir></dir></dir></dir><file name="DigitalPianism_Abandonedcarts.csv" hash="4e17b6cae58dd1cdcd43b1113e2e09f4"/></dir><dir name="fr_FR"><file name="DigitalPianism_Abandonedcarts.csv" hash=""/></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>0.3.1</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 load the default templates.</notes>
 
99
  <authors><author><name>Digital Pianism</name><user>digitalpianism</user><email>contact@digital-pianism.com</email></author></authors>
100
+ <date>2015-11-17</date>
101
+ <time>15:40:25</time>
102
+ <contents><target name="magecommunity"><dir name="DigitalPianism"><dir name="Abandonedcarts"><dir name="Block"><dir name="Adminhtml"><dir name="System"><dir name="Config"><dir name="Form"><file name="Button.php" hash="1c8d9cad5c54bcc28c0760e72406b5e3"/></dir></dir></dir></dir></dir><dir name="Helper"><file name="Data.php" hash="5148fe5929e61f4c8385c6c5be0b89f3"/></dir><dir name="Model"><file name="Observer.php" hash="da44cfc8260e379469d30d084bb657d0"/><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="c26ae0925cc1ca148f5e3277702842e2"/></dir></dir><dir name="etc"><file name="adminhtml.xml" hash="8ddca513c0ed7e034c476f3e026ceda8"/><file name="config.xml" hash="961746d2dd86b709fcecddfa0bc4e2ea"/><file name="system.xml" hash="4f3de82fe3221fb6b4f81cd646a8200b"/></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"/></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"><dir name="system"><dir name="config"><file name="button.phtml" hash="8f7e673ea52cd81b616cac01b1022990"/></dir></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="f8a5ec3af09730f06ade1fd18fa321e9"/><file name="sales_abandonedcarts_sale.html" hash="22bb7a1e95e336948a43f282e7e58806"/></dir></dir></dir></dir><file name="DigitalPianism_Abandonedcarts.csv" hash="930426006b97aa18962625a5ef1e1de9"/></dir><dir name="fr_FR"><dir name="template"><dir name="email"><dir name="digitalpianism"><dir name="abandonedcarts"><file name="sales_abandonedcarts.html" hash="5340ea06fbf9d2213ea2f09e7425181b"/><file name="sales_abandonedcarts_sale.html" hash="22592c5467a554ab80195218bec5b6b0"/></dir></dir></dir></dir><file name="DigitalPianism_Abandonedcarts.csv" hash="6e35b0c05ff765b38281ab15ca00be14"/></dir></target></contents>
103
  <compatible/>
104
  <dependencies><required><php><min>4.1.0</min><max>6.0.0</max></php></required></dependencies>
105
  </package>