<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: Pull Magento User Session Data into Wordpress</title>
	<atom:link href="/blog/pull-mageto-user-session-data-into-wordpress/feed" rel="self" type="application/rss+xml" />
	<link>http://www.bretglassett.com/blog/pull-mageto-user-session-data-into-wordpress</link>
	<description>A blog for and about web design and web development</description>
	<lastBuildDate>Tue, 30 Nov 2010 16:43:06 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0-beta2</generator>
	<item>
		<title>By: Bret</title>
		<link>http://www.bretglassett.com/blog/pull-mageto-user-session-data-into-wordpress/comment-page-1#comment-1037</link>
		<dc:creator>Bret</dc:creator>
		<pubDate>Tue, 16 Nov 2010 03:42:08 +0000</pubDate>
		<guid isPermaLink="false">http://www.bretglassett.com/blog/?p=168#comment-1037</guid>
		<description>That is strange. On the 1.3 sites it should work with htmlescape: {{htmlescape var=$order.getCustomerName()}

Has the core been altered in the app/code/core/mage/customer dir? Did this stop functioning after the upgrade to 1.3.2.4? Are the other transaction emails pulling the customer name into the email?

Bret</description>
		<content:encoded><![CDATA[<p>That is strange. On the 1.3 sites it should work with htmlescape: {{htmlescape var=$order.getCustomerName()}</p>
<p>Has the core been altered in the app/code/core/mage/customer dir? Did this stop functioning after the upgrade to 1.3.2.4? Are the other transaction emails pulling the customer name into the email?</p>
<p>Bret</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Cheekius Geekus</title>
		<link>http://www.bretglassett.com/blog/pull-mageto-user-session-data-into-wordpress/comment-page-1#comment-1005</link>
		<dc:creator>Cheekius Geekus</dc:creator>
		<pubDate>Tue, 26 Oct 2010 17:04:21 +0000</pubDate>
		<guid isPermaLink="false">http://www.bretglassett.com/blog/?p=168#comment-1005</guid>
		<description>Thank you for the reply, Bret!
Yes, that is correct. All of the other variables are being substituted correctly, but they do not have the htmlescape before the var=$whatever.variable

I removed the htmlescape, hoping that would fix the problem, and it prevented the {{code}} from showing up, but now there is no substitution at all (which is an improvement). I can change the &quot;Dear&quot; to &quot;Hello&quot; or something and it will at least make sense.

I am on v1.3.2.3
I believe the &quot;upgrade&quot; to 1.3.2.4 was just a change to one file which i did manually.
This is a SimpleScripts installation/upgrade on Bluehost. I tried to SimpleScripts upgrade to 1.4 but that didn&#039;t go so well (i now know that a lot of template changes are required to work with 1.4). So I&#039;m just staying at 1.3.2.3/4 at the moment.</description>
		<content:encoded><![CDATA[<p>Thank you for the reply, Bret!<br />
Yes, that is correct. All of the other variables are being substituted correctly, but they do not have the htmlescape before the var=$whatever.variable</p>
<p>I removed the htmlescape, hoping that would fix the problem, and it prevented the {{code}} from showing up, but now there is no substitution at all (which is an improvement). I can change the &#8220;Dear&#8221; to &#8220;Hello&#8221; or something and it will at least make sense.</p>
<p>I am on v1.3.2.3<br />
I believe the &#8220;upgrade&#8221; to 1.3.2.4 was just a change to one file which i did manually.<br />
This is a SimpleScripts installation/upgrade on Bluehost. I tried to SimpleScripts upgrade to 1.4 but that didn&#8217;t go so well (i now know that a lot of template changes are required to work with 1.4). So I&#8217;m just staying at 1.3.2.3/4 at the moment.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bret</title>
		<link>http://www.bretglassett.com/blog/pull-mageto-user-session-data-into-wordpress/comment-page-1#comment-1003</link>
		<dc:creator>Bret</dc:creator>
		<pubDate>Fri, 22 Oct 2010 16:22:36 +0000</pubDate>
		<guid isPermaLink="false">http://www.bretglassett.com/blog/?p=168#comment-1003</guid>
		<description>Hi there. I doubt the multi store configuration has anything to do with it. To clarify, “Dear {{htmlescape var=$customer.name}}” is what you are seeing printed out in the transactional email that is being sent? What version of Magento?

Bret</description>
		<content:encoded><![CDATA[<p>Hi there. I doubt the multi store configuration has anything to do with it. To clarify, “Dear {{htmlescape var=$customer.name}}” is what you are seeing printed out in the transactional email that is being sent? What version of Magento?</p>
<p>Bret</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Cheekius Geekus</title>
		<link>http://www.bretglassett.com/blog/pull-mageto-user-session-data-into-wordpress/comment-page-1#comment-1002</link>
		<dc:creator>Cheekius Geekus</dc:creator>
		<pubDate>Wed, 20 Oct 2010 20:46:22 +0000</pubDate>
		<guid isPermaLink="false">http://www.bretglassett.com/blog/?p=168#comment-1002</guid>
		<description>Hey there, Bret! Thanks for sharing your knowledge here.
I have to admit that I&#039;m pretty amazed that you can grab session variables for another application, when I can&#039;t even get Magento to use them in its emails!

Any idea what the problem could be when my emails say (for example):
&quot;Dear {{htmlescape var=$customer.name}}&quot;

I&#039;m running two stores under one Magento installation. Any idea where I have gone wrong?</description>
		<content:encoded><![CDATA[<p>Hey there, Bret! Thanks for sharing your knowledge here.<br />
I have to admit that I&#8217;m pretty amazed that you can grab session variables for another application, when I can&#8217;t even get Magento to use them in its emails!</p>
<p>Any idea what the problem could be when my emails say (for example):<br />
&#8220;Dear {{htmlescape var=$customer.name}}&#8221;</p>
<p>I&#8217;m running two stores under one Magento installation. Any idea where I have gone wrong?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: admin</title>
		<link>http://www.bretglassett.com/blog/pull-mageto-user-session-data-into-wordpress/comment-page-1#comment-779</link>
		<dc:creator>admin</dc:creator>
		<pubDate>Fri, 28 May 2010 02:28:22 +0000</pubDate>
		<guid isPermaLink="false">http://www.bretglassett.com/blog/?p=168#comment-779</guid>
		<description>Hey BD, thanks for posting that code and glad you got it figured out! I suppose I should get some code formatting going on these comments ;)

Cheers,
b</description>
		<content:encoded><![CDATA[<p>Hey BD, thanks for posting that code and glad you got it figured out! I suppose I should get some code formatting going on these comments <img src='/blog/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>Cheers,<br />
b</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: BD</title>
		<link>http://www.bretglassett.com/blog/pull-mageto-user-session-data-into-wordpress/comment-page-1#comment-777</link>
		<dc:creator>BD</dc:creator>
		<pubDate>Thu, 27 May 2010 18:47:39 +0000</pubDate>
		<guid isPermaLink="false">http://www.bretglassett.com/blog/?p=168#comment-777</guid>
		<description>er, sorry - your comments ate my pre tag and thus formatted the echo all wrong.</description>
		<content:encoded><![CDATA[<p>er, sorry &#8211; your comments ate my pre tag and thus formatted the echo all wrong.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: BD</title>
		<link>http://www.bretglassett.com/blog/pull-mageto-user-session-data-into-wordpress/comment-page-1#comment-776</link>
		<dc:creator>BD</dc:creator>
		<pubDate>Thu, 27 May 2010 18:46:06 +0000</pubDate>
		<guid isPermaLink="false">http://www.bretglassett.com/blog/?p=168#comment-776</guid>
		<description>Thanks for getting back to me.  After a bunch of var_dumps, this is the solution I came up with:


	$categories = Mage::helper(&#039;catalog/category&#039;)-&gt;getStoreCategories(); 

	
	foreach ($categories as $category){
		$cat_url = $category-&gt;getUrlKey();
		$cat_name = $category-&gt;getName();
	
		  echo &#039;&lt;a href=&quot;&#039;.$cat_url.&#039;&quot; rel=&quot;nofollow&quot;&gt;&#039;.$cat_name.&#039;&lt;/a&gt;&#039;;
	}
</description>
		<content:encoded><![CDATA[<p>Thanks for getting back to me.  After a bunch of var_dumps, this is the solution I came up with:</p>
<p>	$categories = Mage::helper(&#8216;catalog/category&#8217;)-&gt;getStoreCategories(); </p>
<p>	foreach ($categories as $category){<br />
		$cat_url = $category-&gt;getUrlKey();<br />
		$cat_name = $category-&gt;getName();</p>
<p>		  echo &#8216;<a href="'.$cat_url.'" rel="nofollow">&#8216;.$cat_name.&#8217;</a>&#8216;;<br />
	}</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: admin</title>
		<link>http://www.bretglassett.com/blog/pull-mageto-user-session-data-into-wordpress/comment-page-1#comment-774</link>
		<dc:creator>admin</dc:creator>
		<pubDate>Thu, 27 May 2010 15:14:27 +0000</pubDate>
		<guid isPermaLink="false">http://www.bretglassett.com/blog/?p=168#comment-774</guid>
		<description>Hey BD,

I will post a short article on how to do this in the next few days - hang tight.

Bret</description>
		<content:encoded><![CDATA[<p>Hey BD,</p>
<p>I will post a short article on how to do this in the next few days &#8211; hang tight.</p>
<p>Bret</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: BD</title>
		<link>http://www.bretglassett.com/blog/pull-mageto-user-session-data-into-wordpress/comment-page-1#comment-772</link>
		<dc:creator>BD</dc:creator>
		<pubDate>Wed, 26 May 2010 21:21:15 +0000</pubDate>
		<guid isPermaLink="false">http://www.bretglassett.com/blog/?p=168#comment-772</guid>
		<description>I&#039;m going to give this a try, too. Do you know how I can load the &quot;topMenu&quot; (product categories) into this data.php so I can pull the category navigation li&#039;s into wordpress?</description>
		<content:encoded><![CDATA[<p>I&#8217;m going to give this a try, too. Do you know how I can load the &#8220;topMenu&#8221; (product categories) into this data.php so I can pull the category navigation li&#8217;s into wordpress?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: admin</title>
		<link>http://www.bretglassett.com/blog/pull-mageto-user-session-data-into-wordpress/comment-page-1#comment-743</link>
		<dc:creator>admin</dc:creator>
		<pubDate>Sat, 22 May 2010 04:11:55 +0000</pubDate>
		<guid isPermaLink="false">http://www.bretglassett.com/blog/?p=168#comment-743</guid>
		<description>Let me know how it goes!

Bret</description>
		<content:encoded><![CDATA[<p>Let me know how it goes!</p>
<p>Bret</p>
]]></content:encoded>
	</item>
</channel>
</rss>
