I have four categories and each category has individual CMS page, and each individual page has left bar with image. Where in another Category CMS page of another image. So this continuous till four categories. So how to achieve this by call up media or should I create each template page to do this.

Can anyone help me. Thank you in advance.

  • Could you add screenshots? Also, add that left bar code (phtml code). Commented Dec 14, 2016 at 22:33
  • so what you want you want to remove the sidebar ? Commented Dec 15, 2016 at 5:28

1 Answer 1


The more complex the Magento product, the more you will have to edit each and every category and make them unique.

  • Duplicate your existing list.phtml file. Actually make five copies, just to have one unedited backup(since you have four categories).


  • Change the name of the file to anything you want, but honestly just
    add an underscore and a quick name of the category


  • Add the following code to the category’s “Custom Design” Tab / “Custom Layout Update” section:
<reference name="product_list">
       <action method="setTemplate">
  • Now open up your thisCategory.phtml file and begin editing it.
  • Any changes you make to that file will only effect the one category.

    Attaching a screen shot

enter image description here


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.