I want to list category page in magento which is located in \app\design\frontend\default\\template\catalog\product\list.phtml.

In app\design\frontend\default\modern\layout\catalog.xml

<block type="catalog/product_list" name="product_list" template="catalog/product/list.phtml">

But the list.phtml is overrided by a extension having


and its xml with

<reference name="product_list">
      <action method="setTemplate"><template>path/product/list.phtml</template></action>

How to display category page from my theme's list.phtml.

  • <catalog_category_default> add your code inside this tag Commented May 26, 2014 at 9:41
  • I have tried putting the code inside <catalog_category_default> but it does not override extension's list.phtml file. @MeenakshiSundaramR
    – Abinaya
    Commented May 26, 2014 at 9:55
  • have you try <catalog_category_layered> Commented May 26, 2014 at 10:01
  • Yes but it too doesn't work. @MeenakshiSundaramR
    – Abinaya
    Commented May 26, 2014 at 10:23
  • there is bug in your layout remove one double quote from method="setTemplate"" to method="setTemplate" Commented May 26, 2014 at 10:28

2 Answers 2


You should create local.xml in layout folder and set

    <reference name="product_list">
          <action method="setTemplate"><template>path/to/your/list.phtml</template></action>
  • 2
    local.xml load last and if you override some config in this file it's apply instead other config Commented May 26, 2014 at 11:19

You said, For some reasons your list.phtml file is overrided by a extensions. So you can use the overrided list.phtml for listing a category page. you cant set 2 default file(list.phtml) for a template.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.