<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:series="http://unfoldingneurons.com/"
	>

<channel>
	<title>kerrinhardy.com &#187; zen cart email</title>
	<atom:link href="http://www.kerrinhardy.com/tag/zen-cart-email/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.kerrinhardy.com</link>
	<description>The Ultimate Reference for Customising Zen Cart</description>
	<lastBuildDate>Sun, 25 Sep 2011 04:49:54 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
		<item>
		<title>Customise Zen Cart Welcome Email &#8211; Add Company Name</title>
		<link>http://www.kerrinhardy.com/2010/01/17/customise-zen-cart-welcome-email-add-company-name/</link>
		<comments>http://www.kerrinhardy.com/2010/01/17/customise-zen-cart-welcome-email-add-company-name/#comments</comments>
		<pubDate>Sun, 17 Jan 2010 05:29:06 +0000</pubDate>
		<dc:creator>kerrin hardy</dc:creator>
				<category><![CDATA[Zen Cart Email Templates]]></category>
		<category><![CDATA[zen cart email]]></category>

		<guid isPermaLink="false">http://www.kerrinhardy.com/?p=1285</guid>
		<description><![CDATA[Zen Cart sends both customers and store owners a number of transactional email messages throughout the shopping flow.  For example, a Welcome Email is sent on the creation of a new customer account and an Checkout Email is sent on the completion of a purchase. There are two options available in Zen Cart – HTML [...]<h4>More Zen Cart:</h4>
<ol>
		<li><a href="http://www.kerrinhardy.com/2010/01/17/structure-of-zen-cart-email-messages/" rel="bookmark">Structure of Zen Cart Email Messages</a><!-- (14.6)--></li>
		<li><a href="http://www.kerrinhardy.com/2009/09/18/tell-a-friend-zen-cart-email-template/" rel="bookmark">Tell-a-friend &#8211; Zen Cart Email Template</a><!-- (10.4)--></li>
		<li><a href="http://www.kerrinhardy.com/2009/09/18/welcome-email-template/" rel="bookmark">Welcome &#8211; Zen Cart Email Template</a><!-- (8.9)--></li>
		<li><a href="http://www.kerrinhardy.com/2009/09/18/direct-email-zen-cart-email-template/" rel="bookmark">Direct Email &#8211; Zen Cart Email Template</a><!-- (7.6)--></li>
		<li><a href="http://www.kerrinhardy.com/zen-cart-explored/" rel="bookmark">Zen Cart Explored</a><!-- (7.6)--></li>
	</ol>
]]></description>
			<content:encoded><![CDATA[<p>Zen Cart sends both customers and store owners a number of transactional email messages throughout the <a title="Zen Cart Default Shopping Flow" href="http://www.kerrinhardy.com/2010/01/11/zen-cart-default-shopping-flow/">shopping flow</a>.  For example, a <a title="Zen Cart Welcome Email" href="http://www.kerrinhardy.com/2009/09/18/welcome-email-template/">Welcome Email</a> is sent on the creation of a new customer account and an <a title="Zen Cart Checkout Email" href="http://www.kerrinhardy.com/2009/09/18/checkout-zen-cart-email-template/">Checkout Email</a> is sent on the completion of a purchase.</p>
<p>There are two options available in Zen Cart – HTML email and Plain Text email.  Customers can set their email preferences from their <em>My Account</em> page.  The <a title="Zen Cart Email Structure" href="http://www.kerrinhardy.com/2010/01/17/structure-of-zen-cart-email-messages/">structure of the email</a> differs between HTML and Plain Text versions.  Customisations need to be made in both versions.</p>
<h4>To Add Company Name to Welcome Email:</h4>
<p>Let’s start with the Plain Text email first:</p>
<ol>
<li>Firstly, we need to edit the file that is responsible for the build of the plain text email.  Open <em>/includes/modules/create_account.php</em>.</li>
<li>Just before the section marked <em>// add in regular email welcome text</em>, enter the following:
<pre class="brush: php; title: ; notranslate">//Company Info Block
$email_text .= &quot;\n\n&quot; . EMAIL_COMPANY_BLOCK_INTRO . $company . EMAIL_COMPANY_BLOCK_END;</pre>
<p>Note the reference to <em><strong>$company</strong></em> – this will display the customer’s company name.</li>
<li>Save the modified create_account.php to <em>/includes/modules/<strong>custom</strong>/create_account.php</em>, where <strong>custom</strong> represents the name of your current template.</li>
</ol>
<p>Now we are ready to define the contents of EMAIL_COMPANY_BLOCK_INTRO and EMAIL_COMPANY_BLOCK_END in the language file.</p>
<ol>
<li>Open <em>/includes/languages/english/create_account.php</em>.</li>
<li>Just before the section starting with define(&#8216;EMAIL_TEXT&#8217;… add a new section for your new statements
<pre class="brush: php; title: ; notranslate">define('EMAIL_COMPANY_BLOCK_INTRO',&quot;Please note that this account has been created in the company name of &quot;);
define('EMAIL_COMPANY_BLOCK_END',&quot;.&quot;);</pre>
</li>
<li>Save to <em>/includes/languages/english/<strong>custom</strong>/create_account.php, where <strong>custom</strong> represents the name of your current </em>template.</li>
<li>Test your customised Plain Text Welcome Email message.</li>
</ol>
<p>Now, on to the HTML email message. The statements we added to the plain text email build now need to be added to the HTML email build.</p>
<ol>
<li>Open <em>/includes/modules/<strong>custom</strong>/create_account.php</em> from your custom template folder.</li>
<li>In our new <em>// Company Info Block</em>, add the following statement:
<pre class="brush: php; title: ; notranslate">$html_msg['EMAIL_COMPANY_BLOCK_INTRO'] = str_replace('\n','',EMAIL_COMPANY_BLOCK_INTRO);
$html_msg['EMAIL_CUSTOMER_COMPANY'] = $company;
$html_msg['EMAIL_COMPANY_BLOCK_END'] = str_replace('\n','',EMAIL_COMPANY_BLOCK_END);</pre>
</li>
<li>For our additional statements to be included in the HTML version of the Welcome email, we will need to modify the email template. This is located at <em>email/email_template_welcome.html</em>.</li>
<li>Locate the following line of code:
<pre class="brush: xml; title: ; notranslate">&lt;div class=&quot;content-line&quot;&gt;$EMAIL_WELCOME&lt;/div&gt;</pre>
</li>
<li>Insert the following underneath:
<pre class="brush: xml; title: ; notranslate">&lt;div class=&quot;content-line&quot;&gt;$EMAIL_COMPANY_BLOCK_INTRO$EMAIL_CUSTOMER_COMPANY$EMAIL_COMPANY_BLOCK_END&lt;/div&gt;</pre>
</li>
</ol>
<p>Time to test again. And test again. Test both the plain text and HTML versions of the Welcome email message in a number of browsers and email clients to ensure you are happy with both the content and the formatting of the welcome communication Zen Cart will be sending your customers.</p>
<h4>More Zen Cart:</h4>
<ol>
		<li><a href="http://www.kerrinhardy.com/2010/01/17/structure-of-zen-cart-email-messages/" rel="bookmark">Structure of Zen Cart Email Messages</a><!-- (14.6)--></li>
		<li><a href="http://www.kerrinhardy.com/2009/09/18/tell-a-friend-zen-cart-email-template/" rel="bookmark">Tell-a-friend &#8211; Zen Cart Email Template</a><!-- (10.4)--></li>
		<li><a href="http://www.kerrinhardy.com/2009/09/18/welcome-email-template/" rel="bookmark">Welcome &#8211; Zen Cart Email Template</a><!-- (8.9)--></li>
		<li><a href="http://www.kerrinhardy.com/2009/09/18/direct-email-zen-cart-email-template/" rel="bookmark">Direct Email &#8211; Zen Cart Email Template</a><!-- (7.6)--></li>
		<li><a href="http://www.kerrinhardy.com/zen-cart-explored/" rel="bookmark">Zen Cart Explored</a><!-- (7.6)--></li>
	</ol>
]]></content:encoded>
			<wfw:commentRss>http://www.kerrinhardy.com/2010/01/17/customise-zen-cart-welcome-email-add-company-name/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Structure of Zen Cart Email Messages</title>
		<link>http://www.kerrinhardy.com/2010/01/17/structure-of-zen-cart-email-messages/</link>
		<comments>http://www.kerrinhardy.com/2010/01/17/structure-of-zen-cart-email-messages/#comments</comments>
		<pubDate>Sat, 16 Jan 2010 22:15:16 +0000</pubDate>
		<dc:creator>kerrin hardy</dc:creator>
				<category><![CDATA[Zen Cart Email Templates]]></category>
		<category><![CDATA[zen cart email]]></category>

		<guid isPermaLink="false">http://www.kerrinhardy.com/2010/01/17/structure-of-zen-cart-email-messages/</guid>
		<description><![CDATA[The structure of email messages in Zen Cart is determined in one of two ways depending on the message format – plain text or HTML. Zen Cart gives customers the option to choose if they wish to receive emails in text or HTML format at the time of account creation. If you have HTML enabled, [...]<h4>More Zen Cart:</h4>
<ol>
		<li><a href="http://www.kerrinhardy.com/2010/01/17/customise-zen-cart-welcome-email-add-company-name/" rel="bookmark">Customise Zen Cart Welcome Email &ndash; Add Company Name</a><!-- (10.4)--></li>
		<li><a href="http://www.kerrinhardy.com/2009/09/18/welcome-email-template/" rel="bookmark">Welcome &#8211; Zen Cart Email Template</a><!-- (8.9)--></li>
		<li><a href="http://www.kerrinhardy.com/zen-cart-explored/" rel="bookmark">Zen Cart Explored</a><!-- (8.4)--></li>
		<li><a href="http://www.kerrinhardy.com/2009/09/18/tell-a-friend-zen-cart-email-template/" rel="bookmark">Tell-a-friend &#8211; Zen Cart Email Template</a><!-- (8.3)--></li>
		<li><a href="http://www.kerrinhardy.com/2009/09/18/default-zen-cart-email-template/" rel="bookmark">Default &#8211; Zen Cart Email Template</a><!-- (7.6)--></li>
	</ol>
]]></description>
			<content:encoded><![CDATA[<p><img title="Zen Cart Email Messages" alt="Zen Cart Email Messages" src="http://www.kerrinhardy.com/wp-content/uploads/2009/09/welcome_email1.jpg" /> </p>
<p>The structure of email messages in Zen Cart is determined in one of two ways depending on the message format – plain text or HTML. Zen Cart gives customers the option to choose if they wish to receive emails in text or HTML format at the time of account creation. If you have HTML enabled, it is important to customise both HTML and text email message formats to ensure that customers receive an accurate and legible email message regardless of their email software.</p>
<h4>Text Email Messages</h4>
<p>If you are sending plain <b><i>text</i></b> emails, the email structure is determined by the way you put together the various items (customer greeting, order number, link to detailed invoice, and so on) in a string variable that is then passed to the <code>zen_mail()</code> function. You can rearrange, add or delete items in a plain text email by editing the Zen Cart file where the email is created.</p>
<h4>HTML Email Messages</h4>
<p>For HTML emails, in the current version of Zen Cart (1.38a), the structure is determined by an email template system based on html files located in the <b>/email</b> folder. There is no admin-based tool to customise the email templates. Each of the <a title="Zen Cart Email Templates" href="http://www.kerrinhardy.com/zen-cart/zen-cart-email-templates/">15 templates</a> must be customised individually.</p>
<h4>More Zen Cart:</h4>
<ol>
		<li><a href="http://www.kerrinhardy.com/2010/01/17/customise-zen-cart-welcome-email-add-company-name/" rel="bookmark">Customise Zen Cart Welcome Email &ndash; Add Company Name</a><!-- (10.4)--></li>
		<li><a href="http://www.kerrinhardy.com/2009/09/18/welcome-email-template/" rel="bookmark">Welcome &#8211; Zen Cart Email Template</a><!-- (8.9)--></li>
		<li><a href="http://www.kerrinhardy.com/zen-cart-explored/" rel="bookmark">Zen Cart Explored</a><!-- (8.4)--></li>
		<li><a href="http://www.kerrinhardy.com/2009/09/18/tell-a-friend-zen-cart-email-template/" rel="bookmark">Tell-a-friend &#8211; Zen Cart Email Template</a><!-- (8.3)--></li>
		<li><a href="http://www.kerrinhardy.com/2009/09/18/default-zen-cart-email-template/" rel="bookmark">Default &#8211; Zen Cart Email Template</a><!-- (7.6)--></li>
	</ol>
]]></content:encoded>
			<wfw:commentRss>http://www.kerrinhardy.com/2010/01/17/structure-of-zen-cart-email-messages/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Coupon &#8211; Zen Cart Email Template</title>
		<link>http://www.kerrinhardy.com/2009/09/18/coupon-zen-cart-email-template/</link>
		<comments>http://www.kerrinhardy.com/2009/09/18/coupon-zen-cart-email-template/#comments</comments>
		<pubDate>Fri, 18 Sep 2009 03:49:03 +0000</pubDate>
		<dc:creator>kerrin hardy</dc:creator>
				<category><![CDATA[Zen Cart Email Templates]]></category>
		<category><![CDATA[email template]]></category>
		<category><![CDATA[html email]]></category>
		<category><![CDATA[html template]]></category>
		<category><![CDATA[zen cart coupon email]]></category>
		<category><![CDATA[zen cart email]]></category>

		<guid isPermaLink="false">http://www.kerrinhardy.com/?p=133</guid>
		<description><![CDATA[The Coupon Email Template is used when the Store Owner sends a Discount Coupon Code to a customer. If you want to learn more about customising the Zen Cart CouponEmail message, sign up today to the Zen Cart Reference Book &#8211; the Ultimate Reference for Customising Zen Cart mailing list to receive sample chapters, bonus [...]<h4>More Zen Cart:</h4>
<ol>
		<li><a href="http://www.kerrinhardy.com/2009/09/18/welcome-email-template/" rel="bookmark">Welcome &#8211; Zen Cart Email Template</a><!-- (24.5)--></li>
		<li><a href="http://www.kerrinhardy.com/2009/09/18/direct-email-zen-cart-email-template/" rel="bookmark">Direct Email &#8211; Zen Cart Email Template</a><!-- (23.9)--></li>
		<li><a href="http://www.kerrinhardy.com/2009/09/18/low-stock-zen-cart-email-template/" rel="bookmark">Low Stock &#8211; Zen Cart Email Template</a><!-- (23.3)--></li>
		<li><a href="http://www.kerrinhardy.com/2009/09/18/contact-us-zen-cart-email-template/" rel="bookmark">Contact Us &#8211; Zen Cart Email Template</a><!-- (23.1)--></li>
		<li><a href="http://www.kerrinhardy.com/2009/09/18/checkout-zen-cart-email-template/" rel="bookmark">Checkout &#8211; Zen Cart Email Template</a><!-- (23)--></li>
	</ol>
]]></description>
			<content:encoded><![CDATA[<p>The Coupon Email Template is used when the Store Owner sends a Discount Coupon Code to a customer.</p>
<div id="attachment_206" class="wp-caption alignnone" style="width: 578px"><img class="size-full wp-image-206" title="coupon_email" src="http://www.kerrinhardy.com/wp-content/uploads/2009/09/coupon_email.jpg" alt="Coupon - Zen Cart Email Template" width="568" height="465" /><p class="wp-caption-text">Coupon - Zen Cart Email Template</p></div>
<p><em>If you want to learn more about customising the </em><em> </em><em> Zen Cart </em><em>Coupon</em><em>Email message</em><em>, <strong><a href="http://eepurl.com/doW2" target="_blank">sign up</a></strong> today to the <strong>Zen Cart Reference Book &#8211; the Ultimate Reference for Customising Zen Cart </strong>mailing list to receive sample chapters, bonus content and pre-launch specials.</em></p>
<h4>More Zen Cart:</h4>
<ol>
		<li><a href="http://www.kerrinhardy.com/2009/09/18/welcome-email-template/" rel="bookmark">Welcome &#8211; Zen Cart Email Template</a><!-- (24.5)--></li>
		<li><a href="http://www.kerrinhardy.com/2009/09/18/direct-email-zen-cart-email-template/" rel="bookmark">Direct Email &#8211; Zen Cart Email Template</a><!-- (23.9)--></li>
		<li><a href="http://www.kerrinhardy.com/2009/09/18/low-stock-zen-cart-email-template/" rel="bookmark">Low Stock &#8211; Zen Cart Email Template</a><!-- (23.3)--></li>
		<li><a href="http://www.kerrinhardy.com/2009/09/18/contact-us-zen-cart-email-template/" rel="bookmark">Contact Us &#8211; Zen Cart Email Template</a><!-- (23.1)--></li>
		<li><a href="http://www.kerrinhardy.com/2009/09/18/checkout-zen-cart-email-template/" rel="bookmark">Checkout &#8211; Zen Cart Email Template</a><!-- (23)--></li>
	</ol>
]]></content:encoded>
			<wfw:commentRss>http://www.kerrinhardy.com/2009/09/18/coupon-zen-cart-email-template/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Welcome &#8211; Zen Cart Email Template</title>
		<link>http://www.kerrinhardy.com/2009/09/18/welcome-email-template/</link>
		<comments>http://www.kerrinhardy.com/2009/09/18/welcome-email-template/#comments</comments>
		<pubDate>Fri, 18 Sep 2009 01:24:51 +0000</pubDate>
		<dc:creator>kerrin hardy</dc:creator>
				<category><![CDATA[Zen Cart Email Templates]]></category>
		<category><![CDATA[zen cart email]]></category>

		<guid isPermaLink="false">http://www.kerrinhardy.com/?p=125</guid>
		<description><![CDATA[The Welcome email is sent to the customer upon the creation of a new account. It is also referred to as the Create Account or New Signup email message. The store owner can also elect to have a copy of the email sent to one or more addresses for notification. Here is an example of [...]<h4>More Zen Cart:</h4>
<ol>
		<li><a href="http://www.kerrinhardy.com/2009/09/18/coupon-zen-cart-email-template/" rel="bookmark">Coupon &#8211; Zen Cart Email Template</a><!-- (10.2)--></li>
		<li><a href="http://www.kerrinhardy.com/2009/09/18/direct-email-zen-cart-email-template/" rel="bookmark">Direct Email &#8211; Zen Cart Email Template</a><!-- (10.2)--></li>
		<li><a href="http://www.kerrinhardy.com/2009/09/18/tell-a-friend-zen-cart-email-template/" rel="bookmark">Tell-a-friend &#8211; Zen Cart Email Template</a><!-- (9.8)--></li>
		<li><a href="http://www.kerrinhardy.com/2009/09/18/password-forgotten-zen-cart-email-template/" rel="bookmark">Password Forgotten &#8211; Zen Cart Email Template</a><!-- (9.4)--></li>
		<li><a href="http://www.kerrinhardy.com/2009/09/18/checkout-zen-cart-email-template/" rel="bookmark">Checkout &#8211; Zen Cart Email Template</a><!-- (9.2)--></li>
	</ol>
]]></description>
			<content:encoded><![CDATA[<p>The Welcome email is sent to the customer upon the creation of a new account.  It is also referred to as the Create Account or New Signup email message.<br />
The store owner can also elect to have a copy of the email sent to one or more addresses for notification.<br />
Here is an example of the HTML version of the Welcome Email.</p>
<div id="attachment_175" class="wp-caption alignnone" style="width: 577px"><img class="size-full wp-image-175" title="welcome_email" src="http://www.kerrinhardy.com/wp-content/uploads/2009/09/welcome_email1.jpg" alt="Welcome - Zen Cart Email Template" width="567" height="518" /><p class="wp-caption-text">Welcome - Zen Cart Email Template</p></div>
<p><em>If you want to learn more about customising the Zen Cart Welcome Email message, <strong><a href="http://eepurl.com/doW2" target="_blank">sign up</a></strong> today to the <strong>Zen Cart Reference Book &#8211; the Ultimate Reference for Customising Zen Cart </strong>mailing list to receive sample chapters, bonus content and pre-launch specials.</em></p>
<h4>More Zen Cart:</h4>
<ol>
		<li><a href="http://www.kerrinhardy.com/2009/09/18/coupon-zen-cart-email-template/" rel="bookmark">Coupon &#8211; Zen Cart Email Template</a><!-- (10.2)--></li>
		<li><a href="http://www.kerrinhardy.com/2009/09/18/direct-email-zen-cart-email-template/" rel="bookmark">Direct Email &#8211; Zen Cart Email Template</a><!-- (10.2)--></li>
		<li><a href="http://www.kerrinhardy.com/2009/09/18/tell-a-friend-zen-cart-email-template/" rel="bookmark">Tell-a-friend &#8211; Zen Cart Email Template</a><!-- (9.8)--></li>
		<li><a href="http://www.kerrinhardy.com/2009/09/18/password-forgotten-zen-cart-email-template/" rel="bookmark">Password Forgotten &#8211; Zen Cart Email Template</a><!-- (9.4)--></li>
		<li><a href="http://www.kerrinhardy.com/2009/09/18/checkout-zen-cart-email-template/" rel="bookmark">Checkout &#8211; Zen Cart Email Template</a><!-- (9.2)--></li>
	</ol>
]]></content:encoded>
			<wfw:commentRss>http://www.kerrinhardy.com/2009/09/18/welcome-email-template/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

