Show category block on a magento page via cms


/ Published in: PHP
Save to your folder(s)

Add this snipp to any page's body in the cms to show a category's items on that page. "category_id" being the id of the category, duyee.


Copy this code and paste it in your HTML
  1. {{block type="catalog/product_list" category_id="4"template="catalog/product/list.phtml"}}

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.