{"id":53384,"date":"2015-09-03T03:33:16","date_gmt":"2015-09-03T07:33:16","guid":{"rendered":"http:\/\/www.templatemonster.com\/help\/?p=53384"},"modified":"2016-02-17T05:20:56","modified_gmt":"2016-02-17T10:20:56","slug":"opencart-2-x-how-to-create-a-new-module-block-and-assign-it-to-the-home-page","status":"publish","type":"post","link":"https:\/\/www.templatemonster.com\/help\/opencart-2-x-how-to-create-a-new-module-block-and-assign-it-to-the-home-page.html","title":{"rendered":"OpenCart 2.x. How to create a new module block and assign it to the home page"},"content":{"rendered":"<p>\r\n<p> The following tutorial is going to show how to create a new module block and assign it to the home page in OpenCart 2.x. <\/p>\r\n<p><a href=\"http:\/\/www.youtube.com\/watch?v=RtALdtbVKdo?width=1280&amp;height=720\" rel=\"prettyPhoto\">OpenCart 2.x. How to create new module block and assign it to the home page<\/a><\/p>\r\n<ol>\r\n<li>\r\n<p>Log into your OpenCart admin panel.<\/p>\r\n<\/li>\r\n<li>\r\n<p>Navigate to <strong>Extensions->Modules<\/strong>:<\/p>\r\n<p><a href=\"\/help\/wp-content\/uploads\/2015\/09\/OpenCart-2.x._How_to_create_new_module_block_and_assign_it_to_the_home_page1.jpg\"><img loading=\"lazy\" src=\"\/help\/wp-content\/uploads\/2015\/09\/OpenCart-2.x._How_to_create_new_module_block_and_assign_it_to_the_home_page1-300x169.jpg\" alt=\"OpenCart 2.x._How_to_create_new_module_block_and_assign_it_to_the_home_page1\" width=\"300\" height=\"169\" class=\"aligncenter size-medium wp-image-53385\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/09\/OpenCart-2.x._How_to_create_new_module_block_and_assign_it_to_the_home_page1-300x169.jpg 300w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/09\/OpenCart-2.x._How_to_create_new_module_block_and_assign_it_to_the_home_page1-150x84.jpg 150w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/09\/OpenCart-2.x._How_to_create_new_module_block_and_assign_it_to_the_home_page1.jpg 1000w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a>\r\n<\/li>\r\n<li>\r\n<p>Let&#8217;s add the new parallax block, for example. Click <strong>Edit<\/strong> button near <strong>Parallax<\/strong> module. <\/p>\r\n<\/li>\r\n<li>\r\n<p>Specify module <strong>name<\/strong>, <strong>banner group<\/strong> to load the image, <strong>width<\/strong> and <strong>height<\/strong>. <strong>Enable<\/strong> the module:<\/p>\r\n<p><a href=\"\/help\/wp-content\/uploads\/2015\/09\/OpenCart-2.x._How_to_create_new_module_block_and_assign_it_to_the_home_page2.jpg\"><img loading=\"lazy\" src=\"\/help\/wp-content\/uploads\/2015\/09\/OpenCart-2.x._How_to_create_new_module_block_and_assign_it_to_the_home_page2-300x169.jpg\" alt=\"OpenCart 2.x._How_to_create_new_module_block_and_assign_it_to_the_home_page2\" width=\"300\" height=\"169\" class=\"aligncenter size-medium wp-image-53386\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/09\/OpenCart-2.x._How_to_create_new_module_block_and_assign_it_to_the_home_page2-300x169.jpg 300w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/09\/OpenCart-2.x._How_to_create_new_module_block_and_assign_it_to_the_home_page2-150x84.jpg 150w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/09\/OpenCart-2.x._How_to_create_new_module_block_and_assign_it_to_the_home_page2.jpg 1000w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\r\n<p>Note: You can add the banner groups in <strong>System->Design->Banners<\/strong>. Please check the following <a href=\"\/help\/opencart-2-x-how-to-manage-banners-positions.html\" target=\"_blank\"> video tutorial<\/a> for more details. <\/p>\r\n<\/li>\r\n<li>\r\n<p>Click <strong>Save<\/strong> to save changes.<\/p>\r\n<\/li>\r\n<li>\r\n<p>Navigate to <strong>System->Design->Layouts<\/strong> and edit <strong>Home<\/strong> layout:<\/p>\r\n<p><a href=\"\/help\/wp-content\/uploads\/2015\/09\/OpenCart-2.x._How_to_create_new_module_block_and_assign_it_to_the_home_page3.jpg\"><img loading=\"lazy\" src=\"\/help\/wp-content\/uploads\/2015\/09\/OpenCart-2.x._How_to_create_new_module_block_and_assign_it_to_the_home_page3-300x169.jpg\" alt=\"OpenCart 2.x._How_to_create_new_module_block_and_assign_it_to_the_home_page3\" width=\"300\" height=\"169\" class=\"aligncenter size-medium wp-image-53387\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/09\/OpenCart-2.x._How_to_create_new_module_block_and_assign_it_to_the_home_page3-300x169.jpg 300w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/09\/OpenCart-2.x._How_to_create_new_module_block_and_assign_it_to_the_home_page3-150x84.jpg 150w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/09\/OpenCart-2.x._How_to_create_new_module_block_and_assign_it_to_the_home_page3.jpg 1000w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a>\r\n<\/li>\r\n<li>\r\n<p>Click <strong>Add module<\/strong> button. Select the module from the list, its position and insert order number:<\/p>\r\n<p><a href=\"\/help\/wp-content\/uploads\/2015\/09\/OpenCart-2.x._How_to_create_new_module_block_and_assign_it_to_the_home_page4.jpg\"><img loading=\"lazy\" src=\"\/help\/wp-content\/uploads\/2015\/09\/OpenCart-2.x._How_to_create_new_module_block_and_assign_it_to_the_home_page4-300x169.jpg\" alt=\"OpenCart 2.x._How_to_create_new_module_block_and_assign_it_to_the_home_page4\" width=\"300\" height=\"169\" class=\"aligncenter size-medium wp-image-53388\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/09\/OpenCart-2.x._How_to_create_new_module_block_and_assign_it_to_the_home_page4-300x169.jpg 300w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/09\/OpenCart-2.x._How_to_create_new_module_block_and_assign_it_to_the_home_page4-150x84.jpg 150w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/09\/OpenCart-2.x._How_to_create_new_module_block_and_assign_it_to_the_home_page4.jpg 1000w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a>\r\n<\/li>\r\n<li>\r\n<p>Click <strong>Save<\/strong> button to save changes.<\/p>\r\n<\/li>\r\n<li>\r\n<p>Go back to your website frontend and refresh the browser page. The new module should be displayed well.<\/p>\r\n<\/li>\r\n<\/ol>\r\n<p>That is the end of the tutorial. Now you know how to create a new module block and assign it to the home page in OpenCart 2.x <\/p>\r\n<p>Feel free to check the detailed video tutorial below:<\/p>\r\n<p><a href=\"http:\/\/www.youtube.com\/watch?v=RtALdtbVKdo?width=1280&amp;height=720\" rel=\"prettyPhoto\">OpenCart 2.x. How to create new module block and assign it to the home page<\/a><\/p>\r\n<p><\/p>","protected":false},"excerpt":{"rendered":"<p>The following tutorial is going to show how to create a new module block and assign it to the home page in OpenCart 2.x.<\/p>\n","protected":false},"author":49,"featured_media":53391,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[1156],"tags":[923,933,557,1157,572],"_links":{"self":[{"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/posts\/53384"}],"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\/49"}],"replies":[{"embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/comments?post=53384"}],"version-history":[{"count":0,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/posts\/53384\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/media\/53391"}],"wp:attachment":[{"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/media?parent=53384"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/categories?post=53384"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/tags?post=53384"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}