I am trying to get the restock shelves module customer retention email working. I created the RESTOCK_E template for the email, as described in the instructions, but despite going in and abandoning numerous carts myself, I did not receive any emails formated as below. I do received occasional emails from the module when it empties the carts, but not the email offering a discount. Any idea what I might be missing?
Here is the email template I created, perhaps it has a glitch?
Here is the email template I created, perhaps it has a glitch?
Code:
<mvt:if expr="g.Screen CIN 'RESTOCK_E'"> <mvt:exit> </mvt:if> %subject|Come back and see us% %to|[email protected]% Dear &mvt:global:basket:bill_fname; &mvt:global:basket:bill_lname;,%lf%%lf% We noticed that you were browsing in our store and even put a product in your basket. If you had problems checking out, we are humbly sorry. To make up for your inconvenience, please accept this coupon for a 5% discount off the products in your order. The code is OFFER1. It can be redeemed on the screen which shows your basket contents.%lf%%lf% If you are not ready to order now, now problem. You may still want to sign up to our email list at http://dev.geographicus.com/P/MAILLIST. We send new product emails each Monday at 10:30 AM EST. %lf%%lf% <mvt:foreach iterator="item" array="global:basketitems"> &mvt:item:name; &mvt:item:quantity; &mvt:item:formatted_price; &mvt:item:formatted_subtotal; %lf% </mvt:foreach> %lf%%lf% Kevin Brown%lf% Owner%lf% http://www.geographicus.com %lf% EXAMPLE OF HTML EMAIL: <mvt:if expr="g.Screen CIN 'RESTOCK_E'"> <mvt:exit> </mvt:if> %subject|Come back and see us% %to|bill_email% <html> <head> <base href="&mvt:global:basehref;"> </head> <body> <table border="0" cellpadding="3" width="70%"> <tr><td align="left"> &mvt:global:basket:bill_fname; &mvt:global:basket:bill_lname;,%lf% <br><br> We noticed that you were browsing in our store and even put a product in your basket. If you had problems checking out, we are humbly sorry. To make up for your inconvenience, please accept this coupon for a 5% discount off the products in your order. The code is OFFER1. It can be redeemed on the screen which shows your basket contents. If you are not ready to order now, now problem. You may still want to sign up to our email list at <a href="http://dev.geographicus.com/P/MAILLIST">http://dev.geographicus.com/P/MAILLIST</a>. We send new product emails each Monday at 10:30 AM EST.%lf% </td></tr> </table> %lf% <table border="0" cellpadding="3"> <tr> <td height="48" colspan="2"><img src="graphics/en-US/admin/spacer.gif" height="8" width="4" /></td> </tr> <tr> <td height="20"><img src="graphics/en-US/admin/spacer.gif" height="8" width="4" /></td> <td height="20"><table width="98%" border="0" cellpadding="0" cellspacing="0"> <tr> <td align="left"><font color="#003399" size="4" face="Times New Roman, Times, serif">Product</font></td> <td align="right"><font color="#003399" size="4" face="Times New Roman, Times, serif">Quantity </font></td> <td align="right"><font color="#003399" size="4" face="Times New Roman, Times, serif">Price/Ea </font></td> <td align="right"><font color="#003399" size="4" face="Times New Roman, Times, serif">Total</font></td> </tr> <tr> <td colspan="4" bgcolor="#003399"><img src="graphics/en-US/admin/spacer.gif" height="4" width="4" /></td> </tr> <tr> <td colspan="4" bgcolor="#A5AFD4"><img src="graphics/en-US/admin/spacer.gif" height="2" width="4" /></td> </tr> <tr> <td colspan="4"><img src="graphics/en-US/admin/spacer.gif" height="6" width="4" /></td> </tr> <mvt:foreach iterator="item" array="global:basketitems"> <tr> <td align="left" nowrap><font size="2" face="Arial, Helvetica, sans-serif"><b> <a href="http://www.YOURDOMAIN.com/mm5/merchant.mvc?Screen=PROD&Product_Code=&mvta:item:code;&Store_Code=&mvta:global:store:code;"> &mvt:item:name;</a></b></td> <td align="center"><font size="2" face="Arial, Helvetica, sans-serif">&mvt:item:quantity; </font></td> <td align="right"><font size="2" face="Arial, Helvetica, sans-serif">&mvt:item:formatted_price; </font></td> <td align="right"><font size="2" face="Arial, Helvetica, sans-serif">&mvt:item:formatted_subtotal;</font></td> </tr> </mvt:foreach> </table> %lf% <br> <table border="0" cellpadding="2" cellspacing="0" width="50%"> <tr> <td align="left"> Kevin J Brown <br> Owner <br> <a href="http://www.geographicus.com">&mvt:global:store:name;</a> </td> </tr> </table>%lf% </body> </html>
Comment