Jump to content

[Solved] Passing Variables in Emails - Version 1.4.3.0


Rhapsody

Recommended Posts

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

  • 4 months later...

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...