Rhapsody Posted June 28, 2011 Share Posted June 28, 2011 I have added some additional fields in the customer table that I want to include in an email message triggered using the "change" button with an email template via the AdminOrders tab in the back office. The name of the fields include "spouse" and "member". I also want to add the year in the message based on the server's date. Can anyone explain how to do this? I've pasted the code for the email template I've created below called membership-card.html but the variables "member" and "spouse" are not passed to the email sent. <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <title>Message from {shop_name}</title> </head> <body> {shop_name} Membership Card [url="{shop_url}"][img={shop_logo}][/url] PO Box 3236 Broadway Station Newport, Rhode Island 02840 [b]{firstname} {lastname}[/b] - [b]2011 Member # {member}[/b] [b]{spouse}[/b] [font="Times New Roman"][size="3"] [/size][/font] </body> </html> This is your CHNYC membership card. [b]Print, then cut out membership card between the horizontal lines.[/b] [url="{shop_url}"]{shop_name}[/url] powered by [url="http://www.prestashop.com/"]PrestaShopâ„¢[/url] Link to comment Share on other sites More sharing options...
Rhapsody Posted November 9, 2011 Author Share Posted November 9, 2011 I found the answer at this link: http://www.addons-mo...email-template/ and pasted the answer below. PrestaShop Tips – How to add new data fields in email template Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now