{"id":8606,"date":"2016-02-04T02:40:42","date_gmt":"2016-02-04T07:40:42","guid":{"rendered":"http:\/\/info.template-help.com\/?p=8606"},"modified":"2016-11-11T04:13:03","modified_gmt":"2016-11-11T09:13:03","slug":"magento-how-to-display-products-of-specific-category-on-home-page","status":"publish","type":"post","link":"https:\/\/www.templatemonster.com\/help\/magento-how-to-display-products-of-specific-category-on-home-page.html","title":{"rendered":"Magento. How to display products of specific category on home page"},"content":{"rendered":"<p>\r\n<p>This tutorial will show you how to add products of specific category to Magento home page.<\/p>\r\n<p><a href=\"http:\/\/www.youtube.com\/watch?v=PlxABizZYZo?width=1280&amp;height=720\" rel=\"prettyPhoto\">Magento. How to display products of specific category on home page<\/a><\/p>\r\n<ol>\r\n<li>\r\n<p>\r\n\t\tOpen Magento admin panel and go to <strong>Catalog > Manage Categories<\/strong>.\r\n\t<\/p>\r\n<\/li>\r\n<li>\r\n<p>\r\n\tSelect the necessary category and look for the category ID at the top. Remember the category ID value as you&#8217;ll need it later:<\/p>\r\n<p><a href=\"\/help\/wp-content\/uploads\/2011\/06\/magento-display-products-from-the-category-on-the-home-page1.jpg\"><img loading=\"lazy\" src=\"\/help\/wp-content\/uploads\/2011\/06\/magento-display-products-from-the-category-on-the-home-page1-300x210.jpg\" alt=\"magento-display-products-from-the-category-on-the-home-page1\" width=\"300\" height=\"210\" class=\"aligncenter size-medium wp-image-61561\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2011\/06\/magento-display-products-from-the-category-on-the-home-page1-300x210.jpg 300w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2011\/06\/magento-display-products-from-the-category-on-the-home-page1-150x105.jpg 150w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2011\/06\/magento-display-products-from-the-category-on-the-home-page1.jpg 1000w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a>\r\n\t<\/li>\r\n<li>\r\n<p>\r\n\t\tIn Magento admin panel go to <strong>CMS> Pages>Home<\/strong> page.\r\n\t<\/p>\r\n<\/li>\r\n<li>\r\n<p>\r\n\tSwitch to the Content tab and into the html code block paste the following code:<\/p>\r\n<pre class=\"brush:xml\">\r\n\t\t{{block  type=\"catalog\/product_list\" category_id=\"4\"  template=\"catalog\/product\/list.phtml\"}}\r\n\t<\/pre>\r\n<p><a href=\"\/help\/wp-content\/uploads\/2011\/06\/magento-display-products-from-the-category-on-the-home-page2.jpg\"><img loading=\"lazy\" src=\"\/help\/wp-content\/uploads\/2011\/06\/magento-display-products-from-the-category-on-the-home-page2-300x210.jpg\" alt=\"magento-display-products-from-the-category-on-the-home-page2\" width=\"300\" height=\"210\" class=\"aligncenter size-medium wp-image-61562\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2011\/06\/magento-display-products-from-the-category-on-the-home-page2-300x210.jpg 300w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2011\/06\/magento-display-products-from-the-category-on-the-home-page2-150x105.jpg 150w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2011\/06\/magento-display-products-from-the-category-on-the-home-page2.jpg 1000w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a>\r\n\t<\/li>\r\n<li>\r\n<p>In case you want to control the number of columns in product listing, please use the following code:<\/p>\r\n<pre class=\"brush:xml\">\r\n\t\t\t{{block type=\"catalog\/product_list\" column_count=\"4\" category_id=\"4\" template=\"catalog\/product\/list.phtml\"}}\r\n\t\t<\/pre>\r\n<p>Where the column_count value is the number of columns.<\/p>\r\n<\/li>\r\n<li>\r\n<p>Navigate to <strong>System->Permissions->Blocks<\/strong>.<\/p>\r\n<\/li>\r\n<li>\r\n<p>Click on the <strong>Add new block<\/strong> button.<\/p>\r\n<\/li>\r\n<li>\r\n<p>Specify your Block Name, which is: catalog\/product_list.<\/p>\r\n<\/li>\r\n<li>\r\n<p>And allow the Block using the YES\/No Dropdown list:<\/p>\r\n<p><a href=\"\/help\/wp-content\/uploads\/2011\/06\/magento-display-products-from-the-category-on-the-home-page3.jpg\"><img loading=\"lazy\" src=\"\/help\/wp-content\/uploads\/2011\/06\/magento-display-products-from-the-category-on-the-home-page3-300x210.jpg\" alt=\"magento-display-products-from-the-category-on-the-home-page3\" width=\"300\" height=\"210\" class=\"aligncenter size-medium wp-image-61563\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2011\/06\/magento-display-products-from-the-category-on-the-home-page3-300x210.jpg 300w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2011\/06\/magento-display-products-from-the-category-on-the-home-page3-150x105.jpg 150w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2011\/06\/magento-display-products-from-the-category-on-the-home-page3.jpg 1000w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a>\r\n\t<\/li>\r\n<\/ol>\r\n<p>Feel free to check the detailed video tutorial below:<\/p>\r\n<p><a href=\"http:\/\/www.youtube.com\/watch?v=PlxABizZYZo?width=1280&amp;height=720\" rel=\"prettyPhoto\">Magento. How to display products of specific category on home page<\/a><\/p>\r\nIf you already have a website dashboard and want a different kind of template, review our <a href=\"https:\/\/www.templatemonster.com\/admin-templates.php\" title=\"Bootstrap Admin Themes\" target=\"_blank\">Bootstrap Admin Themes<\/a>.\r\n<p><\/p>","protected":false},"excerpt":{"rendered":"<p>This tutorial will show you how to add products of specific category to Magento home page.<\/p>\n","protected":false},"author":12,"featured_media":61565,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[729],"tags":[951,933,2407,572,542],"_links":{"self":[{"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/posts\/8606"}],"collection":[{"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/users\/12"}],"replies":[{"embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/comments?post=8606"}],"version-history":[{"count":0,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/posts\/8606\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/media\/61565"}],"wp:attachment":[{"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/media?parent=8606"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/categories?post=8606"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/tags?post=8606"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}