<?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/"
	>

<channel>
	<title>Enhasa.net</title>
	<atom:link href="http://www.enhasa.net/?feed=rss2" rel="self" type="application/rss+xml" />
	<link>http://www.enhasa.net</link>
	<description></description>
	<lastBuildDate>Thu, 12 Aug 2010 23:29:17 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Magento Transactional Emails or Why I&#8217;d Rather Herd Cats</title>
		<link>http://www.enhasa.net/?p=25</link>
		<comments>http://www.enhasa.net/?p=25#comments</comments>
		<pubDate>Thu, 12 Aug 2010 23:24:18 +0000</pubDate>
		<dc:creator>Josiah</dc:creator>
				<category><![CDATA[email]]></category>
		<category><![CDATA[best practice]]></category>
		<category><![CDATA[cart]]></category>
		<category><![CDATA[magento]]></category>

		<guid isPermaLink="false">http://www.enhasa.net/?p=25</guid>
		<description><![CDATA[In any shopping cart there are a number of emails which will be sent out over the course of normal use. In the case of Magento&#8217;s suggestions, the magic number is 28 unique emails to cover every situation available. This means, as one would imagine, 28 emails need to be hand coded and templated, probably [...]]]></description>
			<content:encoded><![CDATA[<p>In any shopping cart there are a number of emails which will be sent out over the course of normal use. In the case of Magento&#8217;s suggestions, the magic number is 28 unique emails to cover every situation available. This means, as one would imagine, 28 emails need to be hand coded and templated, probably getting one to look right then applying that style to the other 27. Magento even provides you with text applicable to 25 of the templates. What could be easier!</p>
<p>Beneath the deceiving surface, Magento manages email templates about as effectively as an addict manages withdrawal. Here&#8217;s a generalized list of the problems with creating emails for Magento based on the core functionality in 1.3.2.</p>
<ul>
<li>Previewing a template doesn&#8217;t serve any purpose, due to <em>variable data not being displayed as dummy data</em>. This often removes tables entirely and gives a false idea of what it will look like when sent.</li>
<li>All templates are coded in an html format. They are then imported to Magento manually by the user, and do not dynamically reflect the content in the original html templates. This means there are two versions of the same template in Magento; one in the database and one in the file tree while <em>neither talks to the other</em>.</li>
<li>After saving a template to the database from an html version, <em>Magento cannot manually re-import the html to the database</em>. It must be meticulously edited by hand in the admin panel, or deleted entirely and remade.</li>
<li>There is no mass theme handler for what borders the content. Which is to say that if you want to change the footer text of your email, you must either delete all templates and remake them, or go into all 28 database entries through the admin panel and change them, or something equally ridiculous.</li>
</ul>
<p>These are the main points of why Magento handles email like a bull in a china store. A better work flow would be to dynamically call to the html documents when an email is sent, possibly caching these files but not requiring code duplication. This means one edit per template instead of two. Additionally, create a theme XML akin to the store, which dynamically is called to when emailing. This way if the background color in the email needs changing across the board, it can be edited in one place. Finally, if an email needs an entirely different theme, create an exception tool on the Transactional Emails page where the hand coding can serve a purpose.</p>
<p>This is but one example of why Varien and Magento are painful to work with at best, and why making an open source cart that depends on a community to install core functionality is something to be avoided entirely.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.enhasa.net/?feed=rss2&amp;p=25</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>CSS and Email: An Exercise in Futility</title>
		<link>http://www.enhasa.net/?p=23</link>
		<comments>http://www.enhasa.net/?p=23#comments</comments>
		<pubDate>Fri, 06 Aug 2010 18:01:21 +0000</pubDate>
		<dc:creator>Josiah</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[email]]></category>
		<category><![CDATA[magento]]></category>

		<guid isPermaLink="false">http://www.enhasa.net/?p=23</guid>
		<description><![CDATA[It&#8217;s never a good idea to create or contribute to a system by cutting corners, especially when this removes functionality from the end user. I&#8217;m a front-end developer, and thus my ability to do my job depends entirely on the system functionality of which I am using. While I could delve into the system and [...]]]></description>
			<content:encoded><![CDATA[<p>It&#8217;s never a good idea to create or contribute to a system by cutting corners, especially when this removes functionality from the end user. I&#8217;m a front-end developer, and thus my ability to do my job depends entirely on the system functionality of which I am using. While I could delve into the system and code some script on the back end to generate the usability I need, it is both time consuming and not what my client is paying me to do &#8212; thus it is not an option.</p>
<p>That being said, I recently was informed my client needed updates to his layouts for shopping cart generated emails. To compare, a client asking me to do this is akin to me asking you if you know how to drive a car, and then giving you a road with nails and other deadly hazards while curious why you hesitate after you told me you knew how to drive. I can code an email, I don&#8217;t want to code it to comply with <a href="http://www.campaignmonitor.com/css/">every mail client</a> as it is again likened to running over every hazard on this road and trying to get to the goal in one piece.</p>
<p>This time consuming process is worlds worse than working around IE6 bugs, due entirely to the fact that IE6 has workarounds. Sure it does some funky things, but with a little push it does what it&#8217;s told. Gmail, on the other hand, gives the finger if inline CSS isn&#8217;t used, which means functionality like :hover cannot be implemented. This means that a nearly 10-year-old browser has more functionality than one of the largest mail clients today. Instead of pushing for new standards, Google created Wave which has no place in the majority of large corporations which don&#8217;t have the time or money to re-educate their pool of employees in an entirely new system while email works well enough.</p>
<p>Outlook, on the other hand, removed almost all CSS positioning functionality (aside from z-index) because, quite simply, it <a href="http://www.campaignmonitor.com/blog/post/2396/the-truth-behind-the-outlook-2007-change-and-what-you-can-do-about-it/">worked better for them</a> (this article is 3 years old, and zero progress on Microsoft&#8217;s front). Microsoft touts itself as being innovative, yet with backwards progress such as this it&#8217;s no wonder there is little belief in this claim.</p>
<p>In short, there is no good reason for this removed functionality. Another example is that of Gmail, Outlook and a plethora of other clients removing the ability to add a background image. One could say security, one could say simplicity, one could say a lot of things. What it comes down to, unfortunately, is archaic systems that are not interested in pushing the envelope with the real meat of the system.</p>
<p>With browsers rendering just about anything under the sun in this day and age with little sweat, there is no reason to continue to stymie CSS functionality in emails.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.enhasa.net/?feed=rss2&amp;p=23</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>An Oxford Comma</title>
		<link>http://www.enhasa.net/?p=9</link>
		<comments>http://www.enhasa.net/?p=9#comments</comments>
		<pubDate>Sat, 13 Jun 2009 16:28:56 +0000</pubDate>
		<dc:creator>Josiah</dc:creator>
				<category><![CDATA[site update]]></category>
		<category><![CDATA[CMS]]></category>
		<category><![CDATA[philosophy]]></category>
		<category><![CDATA[portfolio]]></category>
		<category><![CDATA[resume]]></category>
		<category><![CDATA[writing]]></category>

		<guid isPermaLink="false">http://www.enhasa.net/?p=9</guid>
		<description><![CDATA[Welcome to Enhasa.net, my site for all things web design related. Look forward to portfolio additions, a more fleshed out resume, and my philosophy on web design in general over the next week.
This site is run entirely off of WordPress, which so far I am more than happy with. Somehow I expect this to change [...]]]></description>
			<content:encoded><![CDATA[<p>Welcome to Enhasa.net, my site for all things web design related. Look forward to portfolio additions, a more fleshed out resume, and my philosophy on web design in general over the next week.</p>
<p>This site is run entirely off of <a href="http://wordpress.org" target="_blank">WordPress</a>, which so far I am more than happy with. Somehow I expect this to change as well, based on my past experience with open-source CMS.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.enhasa.net/?feed=rss2&amp;p=9</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
