<?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: Magento: Displaying Custom Attributes on Product View</title>
	<atom:link href="http://prattski.com/2008/11/03/magento-displaying-custom-attributes-on-product-view/feed/" rel="self" type="application/rss+xml" />
	<link>http://prattski.com/2008/11/03/magento-displaying-custom-attributes-on-product-view/</link>
	<description></description>
	<lastBuildDate>Tue, 31 Jan 2012 23:20:02 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: John Deszell</title>
		<link>http://prattski.com/2008/11/03/magento-displaying-custom-attributes-on-product-view/#comment-12519</link>
		<dc:creator>John Deszell</dc:creator>
		<pubDate>Wed, 30 Nov 2011 16:23:21 +0000</pubDate>
		<guid isPermaLink="false">http://devzone.pratthost.com/?p=203#comment-12519</guid>
		<description>Where do I add this snippet of code to display on product page?  I&#039;ve found numerous posts on other sites saying go to:

/app/design/frontend/default/default/template/catalog/product/view.phtml

But when I look at my server via FTP, I don&#039;t have any other folders after template in that breadcrumb.

Any suggestions?  I&#039;m using 1.6 CE

Thanks!</description>
		<content:encoded><![CDATA[<p>Where do I add this snippet of code to display on product page?  I&#8217;ve found numerous posts on other sites saying go to:</p>
<p>/app/design/frontend/default/default/template/catalog/product/view.phtml</p>
<p>But when I look at my server via FTP, I don&#8217;t have any other folders after template in that breadcrumb.</p>
<p>Any suggestions?  I&#8217;m using 1.6 CE</p>
<p>Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: tuba</title>
		<link>http://prattski.com/2008/11/03/magento-displaying-custom-attributes-on-product-view/#comment-8679</link>
		<dc:creator>tuba</dc:creator>
		<pubDate>Fri, 05 Aug 2011 04:14:14 +0000</pubDate>
		<guid isPermaLink="false">http://devzone.pratthost.com/?p=203#comment-8679</guid>
		<description>Does anybody know how can I display attribute in the related product block?</description>
		<content:encoded><![CDATA[<p>Does anybody know how can I display attribute in the related product block?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ran</title>
		<link>http://prattski.com/2008/11/03/magento-displaying-custom-attributes-on-product-view/#comment-8331</link>
		<dc:creator>Ran</dc:creator>
		<pubDate>Wed, 27 Jul 2011 09:20:26 +0000</pubDate>
		<guid isPermaLink="false">http://devzone.pratthost.com/?p=203#comment-8331</guid>
		<description>Thanks Vishal. It works fine. catalog/output - to catalog/product do the trick...</description>
		<content:encoded><![CDATA[<p>Thanks Vishal. It works fine. catalog/output &#8211; to catalog/product do the trick&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Vishal Sanwar</title>
		<link>http://prattski.com/2008/11/03/magento-displaying-custom-attributes-on-product-view/#comment-7919</link>
		<dc:creator>Vishal Sanwar</dc:creator>
		<pubDate>Thu, 07 Jul 2011 10:17:34 +0000</pubDate>
		<guid isPermaLink="false">http://devzone.pratthost.com/?p=203#comment-7919</guid>
		<description>solution of call custom attribute  


function getAttr($product_id, $attributeName) {
$product = Mage::getModel(&#039;catalog/product&#039;)-&gt;load($product_id);
$attributes = $product-&gt;getAttributes();
$attributeValue = null;
if(array_key_exists($attributeName , $attributes)){
$attributesobj = $attributes[&quot;{$attributeName}&quot;];
$attributeValue = $attributesobj-&gt;getFrontend()-&gt;getValue($product);

}
return $attributeValue;

}</description>
		<content:encoded><![CDATA[<p>solution of call custom attribute  </p>
<p>function getAttr($product_id, $attributeName) {<br />
$product = Mage::getModel(&#8216;catalog/product&#8217;)-&gt;load($product_id);<br />
$attributes = $product-&gt;getAttributes();<br />
$attributeValue = null;<br />
if(array_key_exists($attributeName , $attributes)){<br />
$attributesobj = $attributes["{$attributeName}"];<br />
$attributeValue = $attributesobj-&gt;getFrontend()-&gt;getValue($product);</p>
<p>}<br />
return $attributeValue;</p>
<p>}</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: rails questions</title>
		<link>http://prattski.com/2008/11/03/magento-displaying-custom-attributes-on-product-view/#comment-6442</link>
		<dc:creator>rails questions</dc:creator>
		<pubDate>Thu, 14 Apr 2011 10:33:38 +0000</pubDate>
		<guid isPermaLink="false">http://devzone.pratthost.com/?p=203#comment-6442</guid>
		<description>How to display custom attrubutes in magento 1.4.1.1 ?</description>
		<content:encoded><![CDATA[<p>How to display custom attrubutes in magento 1.4.1.1 ?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ravi</title>
		<link>http://prattski.com/2008/11/03/magento-displaying-custom-attributes-on-product-view/#comment-6366</link>
		<dc:creator>ravi</dc:creator>
		<pubDate>Sat, 09 Apr 2011 18:14:47 +0000</pubDate>
		<guid isPermaLink="false">http://devzone.pratthost.com/?p=203#comment-6366</guid>
		<description>Very good article</description>
		<content:encoded><![CDATA[<p>Very good article</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Joe Masterson</title>
		<link>http://prattski.com/2008/11/03/magento-displaying-custom-attributes-on-product-view/#comment-6051</link>
		<dc:creator>Joe Masterson</dc:creator>
		<pubDate>Wed, 23 Mar 2011 05:17:08 +0000</pubDate>
		<guid isPermaLink="false">http://devzone.pratthost.com/?p=203#comment-6051</guid>
		<description>this wasn&#039;t working for me until I removed the &#039;quotes&#039; around shirt_size. If you&#039;re having trouble with this in magento 1.4+, that may be your issue.</description>
		<content:encoded><![CDATA[<p>this wasn&#8217;t working for me until I removed the &#8216;quotes&#8217; around shirt_size. If you&#8217;re having trouble with this in magento 1.4+, that may be your issue.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: omikron</title>
		<link>http://prattski.com/2008/11/03/magento-displaying-custom-attributes-on-product-view/#comment-4765</link>
		<dc:creator>omikron</dc:creator>
		<pubDate>Sun, 23 Jan 2011 06:37:21 +0000</pubDate>
		<guid isPermaLink="false">http://devzone.pratthost.com/?p=203#comment-4765</guid>
		<description>The attribute label doesn&#039;t get translated when changing the store&#039;s language.
It&#039;s interesting because the same attribute gets translated in the more info tab

any ideas on how to solve this?</description>
		<content:encoded><![CDATA[<p>The attribute label doesn&#8217;t get translated when changing the store&#8217;s language.<br />
It&#8217;s interesting because the same attribute gets translated in the more info tab</p>
<p>any ideas on how to solve this?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: choussamaster</title>
		<link>http://prattski.com/2008/11/03/magento-displaying-custom-attributes-on-product-view/#comment-4753</link>
		<dc:creator>choussamaster</dc:creator>
		<pubDate>Sat, 22 Jan 2011 10:32:58 +0000</pubDate>
		<guid isPermaLink="false">http://devzone.pratthost.com/?p=203#comment-4753</guid>
		<description>Some times like in grouped.phtml you have to do it like this
htmlEscape($_item-&gt;getAttributeText(&#039;contenance&#039;)); ?&gt;</description>
		<content:encoded><![CDATA[<p>Some times like in grouped.phtml you have to do it like this<br />
htmlEscape($_item-&gt;getAttributeText(&#8216;contenance&#8217;)); ?&gt;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Hans</title>
		<link>http://prattski.com/2008/11/03/magento-displaying-custom-attributes-on-product-view/#comment-4739</link>
		<dc:creator>Hans</dc:creator>
		<pubDate>Fri, 21 Jan 2011 21:01:23 +0000</pubDate>
		<guid isPermaLink="false">http://devzone.pratthost.com/?p=203#comment-4739</guid>
		<description>Hi Josh, I did notice the line to load the product in view.phtml, so I allready tried putting that line in the head.phtml but that didn&#039;t work either.

So I just tested the Mage::registry(‘current_product’)-&gt;getData(‘attribute_code’) code and that worked great, thanks again for that one!

Now I can put my own specified canonical link to the products pages.</description>
		<content:encoded><![CDATA[<p>Hi Josh, I did notice the line to load the product in view.phtml, so I allready tried putting that line in the head.phtml but that didn&#8217;t work either.</p>
<p>So I just tested the Mage::registry(‘current_product’)-&gt;getData(‘attribute_code’) code and that worked great, thanks again for that one!</p>
<p>Now I can put my own specified canonical link to the products pages.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

