I have added the design code as like this in homepage.

<reference name="content">
<block type="catalog/product_list" category_id="548"  template="catalog/product/list.phtml">

but the particular category-id related products are not displaying... but displaying all the category products..

how to make it to display the particular category id related products.

1 Answer 1


try this code..

 <reference name="content">
              <block type="catalog/product_list" name="product_list" template="catalog/product/list.phtml">
              <action method="setCategoryId"><category_id>548</category_id></action>
  • Its working.. but Recommended Products are showing different..
    – D.M. Vamsi
    Oct 20, 2015 at 12:57
  • what is the problem? Oct 20, 2015 at 12:57
  • Its working.. but Recommended Products are showing different. Please check this link www.77hydro.com
    – D.M. Vamsi
    Oct 20, 2015 at 12:58
  • it may be include the subcategories products Oct 20, 2015 at 13:01
  • this is the actual 548 category id page 77hydro.com/nutrients-supplements.html .. here its displaying properly...
    – D.M. Vamsi
    Oct 20, 2015 at 13:10

Your Answer

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

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