Thursday, 27 December 2012

How To call Shop By brand in magento

first you make one phtml file path is app/design/frontend/base/default/template/catalog/navigation/* vert_brand.phtml*

put below code in this phtml file
<div> setEntityTypeFilter($product-&gt;getResource()-&gt;getTypeId())-&gt;addFieldToFilter(&#39;attribute_code&#39;, &#39;manufacturer&#39;); $attribute = $attributes-&gt;getFirstItem()-&gt;setEntity($product-&gt;getResource()); $manufacturers = $attribute-&gt;getSource()-&gt;getAllOptions(false); ?&gt; &lt;ul id=&quot;manuf...</div>