<?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>Wed, 01 Sep 2010 16:39:14 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
	<item>
		<title>By: Gavin</title>
		<link>http://prattski.com/2008/11/03/magento-displaying-custom-attributes-on-product-view/#comment-986</link>
		<dc:creator>Gavin</dc:creator>
		<pubDate>Fri, 20 Aug 2010 11:27:01 +0000</pubDate>
		<guid isPermaLink="false">http://devzone.pratthost.com/?p=203#comment-986</guid>
		<description>Thanks for providing this.
I noticed that if I had an attribute with &#039;multiple select&#039; and in the admin only one option was selected it didn&#039;t display the array.

I&#039;ve expanded the code in that scenario: [EDIT: Sorry, the code didn&#039;t come through right...]</description>
		<content:encoded><![CDATA[<p>Thanks for providing this.<br />
I noticed that if I had an attribute with &#8216;multiple select&#8217; and in the admin only one option was selected it didn&#8217;t display the array.</p>
<p>I&#8217;ve expanded the code in that scenario: [EDIT: Sorry, the code didn't come through right...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bampnet</title>
		<link>http://prattski.com/2008/11/03/magento-displaying-custom-attributes-on-product-view/#comment-970</link>
		<dc:creator>Bampnet</dc:creator>
		<pubDate>Thu, 19 Aug 2010 09:52:04 +0000</pubDate>
		<guid isPermaLink="false">http://devzone.pratthost.com/?p=203#comment-970</guid>
		<description>Why difficult? For retrieve attributes from category page here is the code:
&lt;code&gt;$_product-&gt;getResource()-&gt;getAttribute(&#039;vehicle_type&#039;)-&gt;getFrontend()-&gt;getValue($_product)&lt;/code&gt;

vehicle_type is the attribute code</description>
		<content:encoded><![CDATA[<p>Why difficult? For retrieve attributes from category page here is the code:<br />
<code>$_product-&gt;getResource()-&gt;getAttribute('vehicle_type')-&gt;getFrontend()-&gt;getValue($_product)</code></p>
<p>vehicle_type is the attribute code</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Josh Pratt</title>
		<link>http://prattski.com/2008/11/03/magento-displaying-custom-attributes-on-product-view/#comment-801</link>
		<dc:creator>Josh Pratt</dc:creator>
		<pubDate>Fri, 06 Aug 2010 03:31:15 +0000</pubDate>
		<guid isPermaLink="false">http://devzone.pratthost.com/?p=203#comment-801</guid>
		<description>RBusiness - it appears that your code didn&#039;t fully come through.  I&#039;ll email you, and if you could send me a pastebin of the code and let me know what type of attribute it is, I&#039;ll try to help.</description>
		<content:encoded><![CDATA[<p>RBusiness &#8211; it appears that your code didn&#8217;t fully come through.  I&#8217;ll email you, and if you could send me a pastebin of the code and let me know what type of attribute it is, I&#8217;ll try to help.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: RBusiness</title>
		<link>http://prattski.com/2008/11/03/magento-displaying-custom-attributes-on-product-view/#comment-798</link>
		<dc:creator>RBusiness</dc:creator>
		<pubDate>Fri, 06 Aug 2010 01:10:00 +0000</pubDate>
		<guid isPermaLink="false">http://devzone.pratthost.com/?p=203#comment-798</guid>
		<description>I know this keeps getting rehashed but I&#039;m not getting any results by using the code! I have everything set correctly from what I can tell.

Modern Theme
Magento 1.4.1.0
Cache OFF
Attribute is set to display on product page!

The attribute actually shows up in the TAB where it should. But I can&#039;t get the data to repeat. I&#039;ve got php skills too! It&#039;s burning me here...  

My attribute is &quot;bsc_brand_nm&quot; I&#039;m using...

getBscBrandNm() ?&gt;

Anyone see an error that my eyes are blurring on?</description>
		<content:encoded><![CDATA[<p>I know this keeps getting rehashed but I&#8217;m not getting any results by using the code! I have everything set correctly from what I can tell.</p>
<p>Modern Theme<br />
Magento 1.4.1.0<br />
Cache OFF<br />
Attribute is set to display on product page!</p>
<p>The attribute actually shows up in the TAB where it should. But I can&#8217;t get the data to repeat. I&#8217;ve got php skills too! It&#8217;s burning me here&#8230;  </p>
<p>My attribute is &#8220;bsc_brand_nm&#8221; I&#8217;m using&#8230;</p>
<p>getBscBrandNm() ?&gt;</p>
<p>Anyone see an error that my eyes are blurring on?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jeff</title>
		<link>http://prattski.com/2008/11/03/magento-displaying-custom-attributes-on-product-view/#comment-735</link>
		<dc:creator>Jeff</dc:creator>
		<pubDate>Mon, 02 Aug 2010 20:23:34 +0000</pubDate>
		<guid isPermaLink="false">http://devzone.pratthost.com/?p=203#comment-735</guid>
		<description>muchos gracious, I&#039;ve found this to be a very useful post!</description>
		<content:encoded><![CDATA[<p>muchos gracious, I&#8217;ve found this to be a very useful post!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: zdhkw</title>
		<link>http://prattski.com/2008/11/03/magento-displaying-custom-attributes-on-product-view/#comment-619</link>
		<dc:creator>zdhkw</dc:creator>
		<pubDate>Fri, 23 Jul 2010 03:07:49 +0000</pubDate>
		<guid isPermaLink="false">http://devzone.pratthost.com/?p=203#comment-619</guid>
		<description>It&#039;s great! Thank you!</description>
		<content:encoded><![CDATA[<p>It&#8217;s great! Thank you!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dennis</title>
		<link>http://prattski.com/2008/11/03/magento-displaying-custom-attributes-on-product-view/#comment-159</link>
		<dc:creator>Dennis</dc:creator>
		<pubDate>Thu, 24 Jun 2010 11:51:59 +0000</pubDate>
		<guid isPermaLink="false">http://devzone.pratthost.com/?p=203#comment-159</guid>
		<description>isnt this posible in the xml files? I dont like changing the templates...</description>
		<content:encoded><![CDATA[<p>isnt this posible in the xml files? I dont like changing the templates&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Devin</title>
		<link>http://prattski.com/2008/11/03/magento-displaying-custom-attributes-on-product-view/#comment-158</link>
		<dc:creator>Devin</dc:creator>
		<pubDate>Mon, 07 Jun 2010 17:58:29 +0000</pubDate>
		<guid isPermaLink="false">http://devzone.pratthost.com/?p=203#comment-158</guid>
		<description>OH got it!

Note to self (and others):

$categoryFull = Mage::getModel(&quot;catalog/category&quot;)-&gt;load($this-&gt;getCurrentCategory()-&gt;getId());
$attributes = $categoryFull-&gt;getAttributes();
echo $attributes[&#039;your_custom_attribute&#039;]-&gt;getFrontend()-&gt;getValue($categoryFull);

This will get values of custom attributes for categories!</description>
		<content:encoded><![CDATA[<p>OH got it!</p>
<p>Note to self (and others):</p>
<p>$categoryFull = Mage::getModel(&#8220;catalog/category&#8221;)-&gt;load($this-&gt;getCurrentCategory()-&gt;getId());<br />
$attributes = $categoryFull-&gt;getAttributes();<br />
echo $attributes['your_custom_attribute']-&gt;getFrontend()-&gt;getValue($categoryFull);</p>
<p>This will get values of custom attributes for categories!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Devin</title>
		<link>http://prattski.com/2008/11/03/magento-displaying-custom-attributes-on-product-view/#comment-157</link>
		<dc:creator>Devin</dc:creator>
		<pubDate>Mon, 07 Jun 2010 17:43:19 +0000</pubDate>
		<guid isPermaLink="false">http://devzone.pratthost.com/?p=203#comment-157</guid>
		<description>Any idea why this wont work on catelog-&gt;category-&gt;view.pthml when trying to call out category attributes? As I stated above, getAttributeText(&#039;my_attribute&#039;) for category drop downs or multi-select wont work on category level..

Very frustrating.</description>
		<content:encoded><![CDATA[<p>Any idea why this wont work on catelog-&gt;category-&gt;view.pthml when trying to call out category attributes? As I stated above, getAttributeText(&#8216;my_attribute&#8217;) for category drop downs or multi-select wont work on category level..</p>
<p>Very frustrating.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: pankaj</title>
		<link>http://prattski.com/2008/11/03/magento-displaying-custom-attributes-on-product-view/#comment-156</link>
		<dc:creator>pankaj</dc:creator>
		<pubDate>Wed, 19 May 2010 05:58:24 +0000</pubDate>
		<guid isPermaLink="false">http://devzone.pratthost.com/?p=203#comment-156</guid>
		<description>How to get the product cost attribute value on reports .

i need this product cost feild to be displayed on sales report and best sellers report.
report--&gt;sales--&gt; sales report
report--&gt;Advanced--&gt; bestsellers

plz help its urgent.</description>
		<content:encoded><![CDATA[<p>How to get the product cost attribute value on reports .</p>
<p>i need this product cost feild to be displayed on sales report and best sellers report.<br />
report&#8211;&gt;sales&#8211;&gt; sales report<br />
report&#8211;&gt;Advanced&#8211;&gt; bestsellers</p>
<p>plz help its urgent.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
