Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>Did you mean category catalog list? Then you can try "Custom Layout Update".</p> <ul> <li>Catalog -> Manage Categories</li> <li>Select custom layout from "Page Layout"</li> <li>Add the following in "Custom Layout Update"</li> </ul> <pre><code>&lt;reference name="product_list"&gt; &lt;action method="setTemplate"&gt; &lt;template&gt;catalog/product/custom-theme.phtml&lt;/template&gt; &lt;/action&gt; &lt;/reference&gt; </code></pre> <p>Of course, you should create first <code>custom layout</code>, you can take reference from the base list.phtml</p> <p><strong>* EDIT *</strong> If you want customize specific products/categories then you can use <code>custom layout handle</code>. Take consider the following links.</p> <ul> <li><a href="http://inchoo.net/ecommerce/magento/advanced-layout-updates-for-categories-and-products-in-magento/" rel="noreferrer">Advanced Layout Updates</a></li> <li><a href="http://magebase.com/magento-tutorials/creating-custom-layout-handles/" rel="noreferrer">Creating custom layout handles</a></li> </ul> <p><strong>* EDIT *</strong> First you should modify <code>CategoryController.php</code> <code>viewAction()</code> method from <code>/app/code/core/Mage/Catalog/Controllers</code> folder ( as specified in Inchoo sample ).</p> <p>Then, you should do something like that :</p> <pre><code>&lt;CATEGORY_20&gt; &lt;reference name="product.info"&gt; &lt;action method="setTemplate"&gt;&lt;template&gt;catalog/product/custom-theme.phtml&lt;/template&gt;&lt;/action&gt; &lt;/reference&gt; &lt;/CATEGORY_20&gt; </code></pre> <p><strong>* EDIT *</strong> Magento has a bug about Custom Layout Update which is issue id 7625. They specified fixed in next release over Bug Track but still has a problem. So, <code>Ingo Weseloh</code> made a patch which you can find the following link.</p> <p><a href="https://github.com/novalis111/Magento-Recursive-Layout-Updates" rel="noreferrer">Exanto Reclayup</a> 7625</p> <p><strong>* EDIT *</strong></p> <p>Michael, could you please try this ( it's Alan Storm's sugestion )</p> <pre><code>&lt;CATEGORY_20&gt; &lt;reference name="product.info"&gt; &lt;action method="setTemplate"&gt;&lt;template&gt;catalog/product/custom-theme.phtml&lt;/template&gt;&lt;/action&gt; &lt;action method="setIsHandle"&gt;&lt;applied&gt;1&lt;/applied&gt;&lt;/action&gt; &lt;/reference&gt; </code></pre> <p></p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload