{"id":2256,"date":"2020-05-22T09:15:27","date_gmt":"2020-05-22T09:15:27","guid":{"rendered":"https:\/\/www.magetop.com\/blog\/?p=2256"},"modified":"2020-05-22T09:35:25","modified_gmt":"2020-05-22T09:35:25","slug":"tao-menu-admin-module-magento-2","status":"publish","type":"post","link":"https:\/\/www.magetop.com\/blog\/tao-menu-admin-module-magento-2\/","title":{"rendered":"H\u01b0\u1edbng d\u1eabn t\u1ea1o menu admin module trong Magento 2"},"content":{"rendered":"\n<p>Ti\u1ebfp t\u1ee5c v\u1edbi lo\u1ea1t b\u00e0i h\u01b0\u1edbng d\u1eabn l\u1eadp tr\u00ecnh module Magento 2, \u1edf b\u00e0i h\u01b0\u1edbng d\u1eabn ph\u1ea7n 5 m\u00ecnh s\u1ebd gi\u1edbi thi\u1ec7u v\u1edbi c\u00e1c b\u1ea1n c\u00e1ch t\u1ea1o menu admin cho module.<\/p>\n\n\n\n<p>Menu admin l\u00e0 1 ph\u1ea7n r\u1ea5t quan tr\u1ecdng trong module, n\u00f3 gi\u00fap cho ng\u01b0\u1eddi qu\u1ea3n tr\u1ecb vi\u00ean c\u00f3 th\u1ec3 qu\u1ea3n l\u00fd danh m\u1ee5c ch\u1ee9c n\u0103ng d\u1ec5 d\u00e0ng h\u01a1n. <\/p>\n\n\n\n<p>\u0110\u1ec3 c\u00e1c b\u1ea1n d\u1ec5 h\u00ecnh d\u00f9ng h\u01a1n th\u00ec khi module \u0111\u01b0\u1ee3c t\u1ea1o th\u00eam menu admin s\u1ebd \u0111\u01b0\u1ee3c nh\u01b0 sau.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"800\" height=\"819\" data-attachment-id=\"2257\" data-permalink=\"https:\/\/www.magetop.com\/blog\/tao-menu-admin-module-magento-2\/menu-admin-module-magento-2\/\" data-orig-file=\"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2020\/05\/menu-admin-module-Magento-2.jpg?fit=937%2C959&amp;ssl=1\" data-orig-size=\"937,959\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"menu-admin-module-Magento-2\" data-image-description=\"\" data-image-caption=\"\" data-medium-file=\"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2020\/05\/menu-admin-module-Magento-2.jpg?fit=293%2C300&amp;ssl=1\" data-large-file=\"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2020\/05\/menu-admin-module-Magento-2.jpg?fit=800%2C819&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2020\/05\/menu-admin-module-Magento-2.jpg?resize=800%2C819&#038;ssl=1\" alt=\"v\u00ed d\u1ee5 v\u1ec1 menu admin module Magento 2\" class=\"wp-image-2257\" srcset=\"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2020\/05\/menu-admin-module-Magento-2.jpg?w=937&amp;ssl=1 937w, https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2020\/05\/menu-admin-module-Magento-2.jpg?resize=293%2C300&amp;ssl=1 293w, https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2020\/05\/menu-admin-module-Magento-2.jpg?resize=768%2C786&amp;ssl=1 768w\" sizes=\"auto, (max-width: 800px) 100vw, 800px\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">C\u00e1c b\u01b0\u1edbc t\u1ea1o menu admin module.<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">B\u01b0\u1edbc 1: T\u1ea1o router admin.<\/h3>\n\n\n\n<p>Vi\u1ec7c n\u00e0y t\u1ea1o ra \u0111\u1ecba ch\u1ec9 li\u00ean k\u1ebft khi click v\u00e0o c\u00e1c m\u1ee5c menu.<\/p>\n\n\n\n<p>C\u00e1c b\u1ea1n t\u1ea1o file routes.xml theo \u0111\u01b0\u1eddng d\u1eabn app\/code\/Magetop\/Helloworld\/etc\/adminhtml\/routes.xml v\u1edbi \u0111o\u1ea1n code sau:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; auto-links: false; title: ; notranslate\" title=\"\">\n&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;\n&lt;!--\n\/**\n * routes\n *\n * @copyright Copyright \u00a9 2020 MAGETOP. All rights reserved.\n * @author    info@magetop.com\n *\/\n--&gt;\n&lt;config xmlns:xsi=&quot;http:\/\/www.w3.org\/2001\/XMLSchema-instance&quot; xsi:noNamespaceSchemaLocation=&quot;urn:magento:framework:App\/etc\/routes.xsd&quot;&gt;\n    &lt;router id=&quot;admin&quot;&gt;\n        &lt;route id=&quot;hellomenu&quot; frontName=&quot;hellomenu&quot;&gt;\n            &lt;module name=&quot;Magetop_Helloworld&quot; \/&gt;\n        &lt;\/route&gt;\n    &lt;\/router&gt;\n&lt;\/config&gt;\n<\/pre><\/div>\n\n\n<p>\u0110\u1ed1i v\u1edbi router admin th\u00ec \u1edf ph\u1ea7n router id c\u00e1c b\u1ea1n ph\u1ea3i \u0111\u1ec3 l\u00e0 router id=&#8221;admin&#8221;.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">B\u01b0\u1edbc 2: T\u1ea1o file acl.xml.<\/h3>\n\n\n\n<p>T\u1ea1o Acl \u0111\u1ec3 th\u00eam vai tr\u00f2 cho t\u1eebng m\u1ee5c menu. N\u00f3i 1 c\u00e1ch chi ti\u1ebft h\u01a1n th\u00ec Acl (Access Control List) cho ph\u00e9p qu\u1ea3n tr\u1ecb vi\u00ean gi\u1edbi h\u1ea1n quy\u1ec1n c\u1ee7a ng\u01b0\u1eddi d\u00f9ng trong Magento. V\u00ed d\u1ee5: b\u1ea1n c\u00f3 th\u1ec3 s\u1eed d\u1ee5ng c\u00e1c quy t\u1eafc Acl \u0111\u1ec3 \u1ee7y quy\u1ec1n cho ng\u01b0\u1eddi d\u00f9ng truy c\u1eadp c\u00e1c menu, controller, API endpoints v\u00e0 hi\u1ec3n th\u1ecb c\u00e1c layout block c\u00f3 \u0111i\u1ec1u ki\u1ec7n.<\/p>\n\n\n\n<p>T\u1ea1o file acl.xml theo \u0111\u01b0\u1eddng d\u1eabn app\/code\/Magetop\/Helloworld\/etc\/acl.xml v\u1edbi \u0111o\u1ea1n code:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; auto-links: false; title: ; notranslate\" title=\"\">\n&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;\n&lt;!--\n\/**\n * acl\n *\n * @copyright Copyright \u00a9 2020 MAGETOP. All rights reserved.\n * @author    info@magetop.com\n *\/\n--&gt;\n&lt;config xmlns:xsi=&quot;http:\/\/www.w3.org\/2001\/XMLSchema-instance&quot; xsi:noNamespaceSchemaLocation=&quot;urn:magento:framework:Acl\/etc\/acl.xsd&quot;&gt;\n    &lt;acl&gt;\n        &lt;resources&gt;\n            &lt;resource id=&quot;Magento_Backend::admin&quot;&gt;\n                &lt;resource id=&quot;Magetop_Helloworld::title_menu&quot; title=&quot;Title Menu&quot;\n                          sortOrder=&quot;100&quot;&gt;\n                    &lt;resource id=&quot;Magetop_Helloworld::manage_posts&quot; title=&quot;Manage Posts&quot;\n                              sortOrder=&quot;2&quot; \/&gt;\n                    &lt;resource id=&quot;Magetop_Helloworld::configuration&quot; title=&quot;Configurations&quot;\n                              sortOrder=&quot;3&quot; \/&gt;\n                &lt;\/resource&gt;\n                &lt;resource id=&quot;Magento_Backend::stores&quot;&gt;\n                    &lt;resource id=&quot;Magento_Backend::stores_settings&quot;&gt;\n                        &lt;resource id=&quot;Magento_Config::config&quot;&gt;\n                            &lt;resource id=&quot;Magetop_Helloworld::system_config&quot;\n                                      title=&quot;Magetop Helloworld Section&quot; \/&gt;\n                        &lt;\/resource&gt;\n                    &lt;\/resource&gt;\n                &lt;\/resource&gt;\n            &lt;\/resource&gt;\n        &lt;\/resources&gt;\n    &lt;\/acl&gt;\n&lt;\/config&gt;\n\n<\/pre><\/div>\n\n\n<h3 class=\"wp-block-heading\">B\u01b0\u1edbc 3: T\u1ea1o file menu.xml.<\/h3>\n\n\n\n<p>Ch\u00fang ta t\u1ea1o file menu.xml theo \u0111\u01b0\u1eddng d\u1eabn app\/code\/Magetop\/Helloworld\/etc\/adminhtml\/menu.xml v\u1edbi \u0111o\u1ea1n code:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; auto-links: false; title: ; notranslate\" title=\"\">\n&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;\n&lt;!--\n\/**\n * menu\n *\n * @copyright Copyright \u00a9 2020 MAGETOP. All rights reserved.\n * @author    info@magetop.com\n *\/\n--&gt;\n&lt;config xmlns:xsi=&quot;http:\/\/www.w3.org\/2001\/XMLSchema-instance&quot; xsi:noNamespaceSchemaLocation=&quot;urn:magento:module:Magento_Backend:etc\/menu.xsd&quot;&gt;\n    &lt;menu&gt;\n            &lt;add id=&quot;Magetop_Helloworld::menu_title&quot; title=&quot;Magetop Module&quot; module=&quot;Magetop_Helloworld&quot; sortOrder=&quot;20&quot; resource=&quot;Magetop_Helloworld::title_menu&quot; \/&gt;\n            &lt;add id=&quot;Magetop_Helloworld::manage_posts&quot; title=&quot;Magetop Helloworld&quot; module=&quot;Magetop_Helloworld&quot; sortOrder=&quot;1&quot; parent=&quot;Magetop_Helloworld::menu_title&quot; action=&quot;hellomenu\/posts\/index&quot; resource=&quot;Magetop_Helloworld::manage_posts&quot; \/&gt;\n            &lt;add id=&quot;Magetop_Helloworld::module_config&quot; title=&quot;Module Configuration&quot; module=&quot;Magetop_Helloworld&quot; sortOrder=&quot;2&quot; parent=&quot;Magetop_Helloworld::menu_title&quot; action=&quot;adminhtml\/system_config\/edit\/section\/helloworld&quot; resource=&quot;Magetop_Helloworld::configuration&quot;\/&gt;\n    &lt;\/menu&gt;\n&lt;\/config&gt;\n<\/pre><\/div>\n\n\n<p>Trong add menu c\u00f3 nh\u1eefng thu\u1ed9c t\u00ednh:<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li><strong>id: <\/strong>Thu\u1ed9c t\u00ednh \u0111\u1ecbnh danh v\u00e0 n\u00f3 tu\u00e2n theo \u0111\u1ecbnh dang <strong>vendor_module::name<\/strong><\/li><li><strong>title:<\/strong> Thu\u1ed9c t\u00ednh ti\u00eau \u0111\u1ec1, \u0111\u00e2y l\u00e0 thu\u1ed9c t\u00ednh s\u1ebd hi\u1ec3n th\u1ecb tr\u00ean c\u1ed9t menu.<\/li><li><strong>module:<\/strong> Thu\u1ed9c t\u00ednh n\u00e0y th\u00ec c\u00e1c b\u1ea1n \u0111i\u1ec1n t\u00ean module ch\u1ee9a menu n\u00e0y.<\/li><li><strong>sortOrder:<\/strong> Thu\u1ed9c t\u00ednh s\u1eafp x\u1ebfp v\u1ecb tr\u00ed c\u00e1c m\u1ee5c menu, gi\u00e1 tr\u1ecb n\u00e0y c\u00e0ng th\u1ea5p th\u00ec m\u1ee5c menu c\u00e0ng \u1edf tr\u00ean \u0111\u1ea7u.<\/li><li><strong>parent: <\/strong>Thu\u1ed9c t\u00ednh x\u00e1c \u0111\u1ecbnh menu n\u00e0y l\u00e0 con c\u1ee7a 1 menu kh\u00e1c.<\/li><li><strong>action:<\/strong> Thu\u1ed9c t\u00ednh h\u00e0nh \u0111\u1ed9ng khi m\u00e0 ch\u00fang ta click v\u00e0o m\u1ee5c menu n\u00f3 s\u1ebd h\u00e0nh \u0111\u1ed9ng chuy\u1ec3n trang. \u0110\u1ecba ch\u1ec9 c\u1ee7a trang \u0111\u01b0\u1ee3c chuy\u1ec3n t\u1edbi s\u1ebd c\u00f3 d\u1ea1ng <strong>router_admin\/controller\/action<\/strong>.<\/li><li><strong>resource: <\/strong>\u0110\u00e2y l\u00e0 c\u00e1c resource acl ch\u00fang ta \u0111\u00e3 t\u1ea1o \u1edf tr\u00ean.<\/li><\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">B\u01b0\u1edbc 4: Clear cache v\u00e0 ki\u1ec3m tra k\u1ebft qu\u1ea3.<\/h3>\n\n\n\n<p>Sau khi t\u1ea1o xong h\u1ebft c\u00e1c file ch\u00fang ta s\u1ebd clear cache b\u1eb1ng c\u00e1ch ch\u1ea1y l\u1ec7nh:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\nphp bin\/magento clear:cache\n<\/pre><\/div>\n\n\n<p>Ch\u1ea1y xong ch\u00fang ta v\u00e0o admin ki\u1ec3m tra.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"625\" height=\"673\" data-attachment-id=\"2264\" data-permalink=\"https:\/\/www.magetop.com\/blog\/tao-menu-admin-module-magento-2\/magetop-helloworld-menu\/\" data-orig-file=\"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2020\/05\/magetop-helloworld-menu.jpg?fit=625%2C673&amp;ssl=1\" data-orig-size=\"625,673\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"magetop-helloworld-menu\" data-image-description=\"\" data-image-caption=\"\" data-medium-file=\"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2020\/05\/magetop-helloworld-menu.jpg?fit=279%2C300&amp;ssl=1\" data-large-file=\"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2020\/05\/magetop-helloworld-menu.jpg?fit=625%2C673&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2020\/05\/magetop-helloworld-menu.jpg?resize=625%2C673&#038;ssl=1\" alt=\"menu admin module Magento 2\" class=\"wp-image-2264\" srcset=\"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2020\/05\/magetop-helloworld-menu.jpg?w=625&amp;ssl=1 625w, https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2020\/05\/magetop-helloworld-menu.jpg?resize=279%2C300&amp;ssl=1 279w\" sizes=\"auto, (max-width: 625px) 100vw, 625px\" \/><\/figure>\n\n\n\n<p>Menu c\u1ee7a module \u0111\u00e3 \u0111\u01b0\u1ee3c t\u1ea1o ra.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"800\" height=\"580\" data-attachment-id=\"2265\" data-permalink=\"https:\/\/www.magetop.com\/blog\/tao-menu-admin-module-magento-2\/role-resources-magetop-helloworld-module\/\" data-orig-file=\"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2020\/05\/role-resources-magetop-helloworld-module.jpg?fit=804%2C583&amp;ssl=1\" data-orig-size=\"804,583\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"role-resources-magetop-helloworld-module\" data-image-description=\"\" data-image-caption=\"\" data-medium-file=\"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2020\/05\/role-resources-magetop-helloworld-module.jpg?fit=300%2C218&amp;ssl=1\" data-large-file=\"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2020\/05\/role-resources-magetop-helloworld-module.jpg?fit=800%2C580&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2020\/05\/role-resources-magetop-helloworld-module.jpg?resize=800%2C580&#038;ssl=1\" alt=\"acl module magetop helloworld\" class=\"wp-image-2265\" srcset=\"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2020\/05\/role-resources-magetop-helloworld-module.jpg?w=804&amp;ssl=1 804w, https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2020\/05\/role-resources-magetop-helloworld-module.jpg?resize=300%2C218&amp;ssl=1 300w, https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2020\/05\/role-resources-magetop-helloworld-module.jpg?resize=768%2C557&amp;ssl=1 768w\" sizes=\"auto, (max-width: 800px) 100vw, 800px\" \/><\/figure>\n\n\n\n<p>C\u00f2n \u0111\u00e2y l\u00e0 Roles Resources \u0111\u01b0\u1ee3c t\u1ea1o ra t\u1eeb acl.<\/p>\n\n\n\n<p>V\u1eady l\u00e0 m\u00ecnh \u0111\u00e3 h\u01b0\u1edbng d\u1eabn xong c\u00e1c b\u1ea1n c\u00e1ch t\u1ea1o menu admin module trong Magento 2.<\/p>\n\n\n\n<p>C\u00e1c b\u1ea1n n\u00ean \u0111\u1ecdc b\u00e0i h\u01b0\u1edbng d\u1eabn ph\u1ea7n tr\u01b0\u1edbc \u0111\u1ec3 d\u1ec5 hi\u1ec3u h\u01a1n: <a href=\"https:\/\/www.magetop.com\/blog\/tao-view-trong-magento-2\/\" target=\"_blank\" rel=\"noreferrer noopener\">H\u01b0\u1edbng d\u1eabn l\u1eadp tr\u00ecnh module Magento 2 (ph\u1ea7n 4)<\/a>.<\/p>\n\n\n\n<p>C\u1ea3m \u01a1n c\u00e1c b\u1ea1n \u0111\u00e3 \u0111\u1ecdc b\u00e0i vi\u1ebft.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Ti\u1ebfp t\u1ee5c v\u1edbi lo\u1ea1t b\u00e0i h\u01b0\u1edbng d\u1eabn l\u1eadp tr\u00ecnh module Magento 2, \u1edf b\u00e0i h\u01b0\u1edbng d\u1eabn ph\u1ea7n 5 m\u00ecnh s\u1ebd gi\u1edbi thi\u1ec7u v\u1edbi c\u00e1c b\u1ea1n c\u00e1ch t\u1ea1o menu admin cho module.<\/p>\n","protected":false},"author":108,"featured_media":2270,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[226],"tags":[473,304,434,449,476,472,475,474],"class_list":["post-2256","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-vn","tag-cach-tao-menu-admin-module-trong-magento-2","tag-huong-dan-code-module-magento-2","tag-huong-dan-lap-trinh-magento-2","tag-huong-dan-lap-trinh-module-magento-2","tag-huong-dan-lap-trinh-module-phan-5","tag-huong-dan-tao-menu-admin-module-trong-magento-2","tag-menu-admin-module-trong-magento-2","tag-tao-menu-admin-module-trong-magento-2"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v24.9 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>H\u01b0\u1edbng d\u1eabn t\u1ea1o menu admin module trong Magento 2 - Magetop Blog<\/title>\n<meta name=\"description\" content=\"Ti\u1ebfp t\u1ee5c v\u1edbi lo\u1ea1t b\u00e0i h\u01b0\u1edbng d\u1eabn l\u1eadp tr\u00ecnh module Magento 2, \u1edf b\u00e0i h\u01b0\u1edbng d\u1eabn ph\u1ea7n 5 m\u00ecnh s\u1ebd gi\u1edbi thi\u1ec7u v\u1edbi c\u00e1c b\u1ea1n c\u00e1ch t\u1ea1o menu admin cho module.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.magetop.com\/blog\/tao-menu-admin-module-magento-2\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"H\u01b0\u1edbng d\u1eabn t\u1ea1o menu admin module trong Magento 2 - Magetop Blog\" \/>\n<meta property=\"og:description\" content=\"Ti\u1ebfp t\u1ee5c v\u1edbi lo\u1ea1t b\u00e0i h\u01b0\u1edbng d\u1eabn l\u1eadp tr\u00ecnh module Magento 2, \u1edf b\u00e0i h\u01b0\u1edbng d\u1eabn ph\u1ea7n 5 m\u00ecnh s\u1ebd gi\u1edbi thi\u1ec7u v\u1edbi c\u00e1c b\u1ea1n c\u00e1ch t\u1ea1o menu admin cho module.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.magetop.com\/blog\/tao-menu-admin-module-magento-2\/\" \/>\n<meta property=\"og:site_name\" content=\"Magetop Blog\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/MagetopStore\" \/>\n<meta property=\"article:published_time\" content=\"2020-05-22T09:15:27+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2020-05-22T09:35:25+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2020\/05\/H\u01b0\u1edbng-d\u1eabn-t\u1ea1o-menu-admin-module-trong-Magento-2.png?fit=750%2C405&ssl=1\" \/>\n\t<meta property=\"og:image:width\" content=\"750\" \/>\n\t<meta property=\"og:image:height\" content=\"405\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Callula Huy\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@MagetopStore\" \/>\n<meta name=\"twitter:site\" content=\"@MagetopStore\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Callula Huy\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"5 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.magetop.com\/blog\/tao-menu-admin-module-magento-2\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.magetop.com\/blog\/tao-menu-admin-module-magento-2\/\"},\"author\":{\"name\":\"Callula Huy\",\"@id\":\"https:\/\/www.magetop.com\/blog\/#\/schema\/person\/a2bf0aa38cec01bc41197b9ec4b3e8c9\"},\"headline\":\"H\u01b0\u1edbng d\u1eabn t\u1ea1o menu admin module trong Magento 2\",\"datePublished\":\"2020-05-22T09:15:27+00:00\",\"dateModified\":\"2020-05-22T09:35:25+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.magetop.com\/blog\/tao-menu-admin-module-magento-2\/\"},\"wordCount\":680,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/www.magetop.com\/blog\/#organization\"},\"image\":{\"@id\":\"https:\/\/www.magetop.com\/blog\/tao-menu-admin-module-magento-2\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2020\/05\/H%C6%B0%E1%BB%9Bng-d%E1%BA%ABn-t%E1%BA%A1o-menu-admin-module-trong-Magento-2.png?fit=750%2C405&ssl=1\",\"keywords\":[\"C\u00e1ch t\u1ea1o menu admin module trong Magento 2\",\"H\u01b0\u1edbng d\u1eabn code module magento 2\",\"h\u01b0\u1edbng d\u1eabn l\u1eadp tr\u00ecnh Magento 2\",\"H\u01b0\u1edbng d\u1eabn l\u1eadp tr\u00ecnh module Magento 2\",\"H\u01b0\u1edbng d\u1eabn l\u1eadp tr\u00ecnh module ph\u1ea7n 5\",\"H\u01b0\u1edbng d\u1eabn t\u1ea1o menu admin module trong Magento 2\",\"menu admin module trong Magento 2\",\"t\u1ea1o menu admin module trong Magento 2\"],\"articleSection\":[\"Magento 2 H\u01b0\u1edbng D\u1eabn Ti\u1ebfng Vi\u1ec7t\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.magetop.com\/blog\/tao-menu-admin-module-magento-2\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.magetop.com\/blog\/tao-menu-admin-module-magento-2\/\",\"url\":\"https:\/\/www.magetop.com\/blog\/tao-menu-admin-module-magento-2\/\",\"name\":\"H\u01b0\u1edbng d\u1eabn t\u1ea1o menu admin module trong Magento 2 - Magetop Blog\",\"isPartOf\":{\"@id\":\"https:\/\/www.magetop.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.magetop.com\/blog\/tao-menu-admin-module-magento-2\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.magetop.com\/blog\/tao-menu-admin-module-magento-2\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2020\/05\/H%C6%B0%E1%BB%9Bng-d%E1%BA%ABn-t%E1%BA%A1o-menu-admin-module-trong-Magento-2.png?fit=750%2C405&ssl=1\",\"datePublished\":\"2020-05-22T09:15:27+00:00\",\"dateModified\":\"2020-05-22T09:35:25+00:00\",\"description\":\"Ti\u1ebfp t\u1ee5c v\u1edbi lo\u1ea1t b\u00e0i h\u01b0\u1edbng d\u1eabn l\u1eadp tr\u00ecnh module Magento 2, \u1edf b\u00e0i h\u01b0\u1edbng d\u1eabn ph\u1ea7n 5 m\u00ecnh s\u1ebd gi\u1edbi thi\u1ec7u v\u1edbi c\u00e1c b\u1ea1n c\u00e1ch t\u1ea1o menu admin cho module.\",\"breadcrumb\":{\"@id\":\"https:\/\/www.magetop.com\/blog\/tao-menu-admin-module-magento-2\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.magetop.com\/blog\/tao-menu-admin-module-magento-2\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.magetop.com\/blog\/tao-menu-admin-module-magento-2\/#primaryimage\",\"url\":\"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2020\/05\/H%C6%B0%E1%BB%9Bng-d%E1%BA%ABn-t%E1%BA%A1o-menu-admin-module-trong-Magento-2.png?fit=750%2C405&ssl=1\",\"contentUrl\":\"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2020\/05\/H%C6%B0%E1%BB%9Bng-d%E1%BA%ABn-t%E1%BA%A1o-menu-admin-module-trong-Magento-2.png?fit=750%2C405&ssl=1\",\"width\":750,\"height\":405,\"caption\":\"H\u01b0\u1edbng d\u1eabn t\u1ea1o menu admin module trong Magento 2\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.magetop.com\/blog\/tao-menu-admin-module-magento-2\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.magetop.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"H\u01b0\u1edbng d\u1eabn t\u1ea1o menu admin module trong Magento 2\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.magetop.com\/blog\/#website\",\"url\":\"https:\/\/www.magetop.com\/blog\/\",\"name\":\"Magetop Blog\",\"description\":\"Exploring Magento Tips, Tricks, and Trends\",\"publisher\":{\"@id\":\"https:\/\/www.magetop.com\/blog\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.magetop.com\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.magetop.com\/blog\/#organization\",\"name\":\"Magetop.com\",\"url\":\"https:\/\/www.magetop.com\/blog\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.magetop.com\/blog\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/11\/logo.png?fit=475%2C475&ssl=1\",\"contentUrl\":\"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/11\/logo.png?fit=475%2C475&ssl=1\",\"width\":475,\"height\":475,\"caption\":\"Magetop.com\"},\"image\":{\"@id\":\"https:\/\/www.magetop.com\/blog\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/MagetopStore\",\"https:\/\/x.com\/MagetopStore\",\"https:\/\/www.linkedin.com\/company\/magetop\",\"https:\/\/www.pinterest.com\/magetop\",\"https:\/\/www.youtube.com\/channel\/UCXoiJsz88OfPmwa8QpUkwOA\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.magetop.com\/blog\/#\/schema\/person\/a2bf0aa38cec01bc41197b9ec4b3e8c9\",\"name\":\"Callula Huy\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.magetop.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/321e837578b99a75c9d7f5c884e62e11b3b6df2b5934726e98fd365f580393c7?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/321e837578b99a75c9d7f5c884e62e11b3b6df2b5934726e98fd365f580393c7?s=96&d=mm&r=g\",\"caption\":\"Callula Huy\"},\"description\":\"Callula is the Marketing Executive at Magetop. With more than 5 years of copywriting under his belt, Callula is into creating valuable content that is straight to the point. Life student. Workaholic. Foreign languages and traveling aficionado.\",\"sameAs\":[\"http:\/\/magetop.com\"],\"url\":\"https:\/\/www.magetop.com\/blog\/author\/callula-huy\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"H\u01b0\u1edbng d\u1eabn t\u1ea1o menu admin module trong Magento 2 - Magetop Blog","description":"Ti\u1ebfp t\u1ee5c v\u1edbi lo\u1ea1t b\u00e0i h\u01b0\u1edbng d\u1eabn l\u1eadp tr\u00ecnh module Magento 2, \u1edf b\u00e0i h\u01b0\u1edbng d\u1eabn ph\u1ea7n 5 m\u00ecnh s\u1ebd gi\u1edbi thi\u1ec7u v\u1edbi c\u00e1c b\u1ea1n c\u00e1ch t\u1ea1o menu admin cho module.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.magetop.com\/blog\/tao-menu-admin-module-magento-2\/","og_locale":"en_US","og_type":"article","og_title":"H\u01b0\u1edbng d\u1eabn t\u1ea1o menu admin module trong Magento 2 - Magetop Blog","og_description":"Ti\u1ebfp t\u1ee5c v\u1edbi lo\u1ea1t b\u00e0i h\u01b0\u1edbng d\u1eabn l\u1eadp tr\u00ecnh module Magento 2, \u1edf b\u00e0i h\u01b0\u1edbng d\u1eabn ph\u1ea7n 5 m\u00ecnh s\u1ebd gi\u1edbi thi\u1ec7u v\u1edbi c\u00e1c b\u1ea1n c\u00e1ch t\u1ea1o menu admin cho module.","og_url":"https:\/\/www.magetop.com\/blog\/tao-menu-admin-module-magento-2\/","og_site_name":"Magetop Blog","article_publisher":"https:\/\/www.facebook.com\/MagetopStore","article_published_time":"2020-05-22T09:15:27+00:00","article_modified_time":"2020-05-22T09:35:25+00:00","og_image":[{"width":750,"height":405,"url":"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2020\/05\/H\u01b0\u1edbng-d\u1eabn-t\u1ea1o-menu-admin-module-trong-Magento-2.png?fit=750%2C405&ssl=1","type":"image\/png"}],"author":"Callula Huy","twitter_card":"summary_large_image","twitter_creator":"@MagetopStore","twitter_site":"@MagetopStore","twitter_misc":{"Written by":"Callula Huy","Est. reading time":"5 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.magetop.com\/blog\/tao-menu-admin-module-magento-2\/#article","isPartOf":{"@id":"https:\/\/www.magetop.com\/blog\/tao-menu-admin-module-magento-2\/"},"author":{"name":"Callula Huy","@id":"https:\/\/www.magetop.com\/blog\/#\/schema\/person\/a2bf0aa38cec01bc41197b9ec4b3e8c9"},"headline":"H\u01b0\u1edbng d\u1eabn t\u1ea1o menu admin module trong Magento 2","datePublished":"2020-05-22T09:15:27+00:00","dateModified":"2020-05-22T09:35:25+00:00","mainEntityOfPage":{"@id":"https:\/\/www.magetop.com\/blog\/tao-menu-admin-module-magento-2\/"},"wordCount":680,"commentCount":0,"publisher":{"@id":"https:\/\/www.magetop.com\/blog\/#organization"},"image":{"@id":"https:\/\/www.magetop.com\/blog\/tao-menu-admin-module-magento-2\/#primaryimage"},"thumbnailUrl":"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2020\/05\/H%C6%B0%E1%BB%9Bng-d%E1%BA%ABn-t%E1%BA%A1o-menu-admin-module-trong-Magento-2.png?fit=750%2C405&ssl=1","keywords":["C\u00e1ch t\u1ea1o menu admin module trong Magento 2","H\u01b0\u1edbng d\u1eabn code module magento 2","h\u01b0\u1edbng d\u1eabn l\u1eadp tr\u00ecnh Magento 2","H\u01b0\u1edbng d\u1eabn l\u1eadp tr\u00ecnh module Magento 2","H\u01b0\u1edbng d\u1eabn l\u1eadp tr\u00ecnh module ph\u1ea7n 5","H\u01b0\u1edbng d\u1eabn t\u1ea1o menu admin module trong Magento 2","menu admin module trong Magento 2","t\u1ea1o menu admin module trong Magento 2"],"articleSection":["Magento 2 H\u01b0\u1edbng D\u1eabn Ti\u1ebfng Vi\u1ec7t"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.magetop.com\/blog\/tao-menu-admin-module-magento-2\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.magetop.com\/blog\/tao-menu-admin-module-magento-2\/","url":"https:\/\/www.magetop.com\/blog\/tao-menu-admin-module-magento-2\/","name":"H\u01b0\u1edbng d\u1eabn t\u1ea1o menu admin module trong Magento 2 - Magetop Blog","isPartOf":{"@id":"https:\/\/www.magetop.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.magetop.com\/blog\/tao-menu-admin-module-magento-2\/#primaryimage"},"image":{"@id":"https:\/\/www.magetop.com\/blog\/tao-menu-admin-module-magento-2\/#primaryimage"},"thumbnailUrl":"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2020\/05\/H%C6%B0%E1%BB%9Bng-d%E1%BA%ABn-t%E1%BA%A1o-menu-admin-module-trong-Magento-2.png?fit=750%2C405&ssl=1","datePublished":"2020-05-22T09:15:27+00:00","dateModified":"2020-05-22T09:35:25+00:00","description":"Ti\u1ebfp t\u1ee5c v\u1edbi lo\u1ea1t b\u00e0i h\u01b0\u1edbng d\u1eabn l\u1eadp tr\u00ecnh module Magento 2, \u1edf b\u00e0i h\u01b0\u1edbng d\u1eabn ph\u1ea7n 5 m\u00ecnh s\u1ebd gi\u1edbi thi\u1ec7u v\u1edbi c\u00e1c b\u1ea1n c\u00e1ch t\u1ea1o menu admin cho module.","breadcrumb":{"@id":"https:\/\/www.magetop.com\/blog\/tao-menu-admin-module-magento-2\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.magetop.com\/blog\/tao-menu-admin-module-magento-2\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.magetop.com\/blog\/tao-menu-admin-module-magento-2\/#primaryimage","url":"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2020\/05\/H%C6%B0%E1%BB%9Bng-d%E1%BA%ABn-t%E1%BA%A1o-menu-admin-module-trong-Magento-2.png?fit=750%2C405&ssl=1","contentUrl":"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2020\/05\/H%C6%B0%E1%BB%9Bng-d%E1%BA%ABn-t%E1%BA%A1o-menu-admin-module-trong-Magento-2.png?fit=750%2C405&ssl=1","width":750,"height":405,"caption":"H\u01b0\u1edbng d\u1eabn t\u1ea1o menu admin module trong Magento 2"},{"@type":"BreadcrumbList","@id":"https:\/\/www.magetop.com\/blog\/tao-menu-admin-module-magento-2\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.magetop.com\/blog\/"},{"@type":"ListItem","position":2,"name":"H\u01b0\u1edbng d\u1eabn t\u1ea1o menu admin module trong Magento 2"}]},{"@type":"WebSite","@id":"https:\/\/www.magetop.com\/blog\/#website","url":"https:\/\/www.magetop.com\/blog\/","name":"Magetop Blog","description":"Exploring Magento Tips, Tricks, and Trends","publisher":{"@id":"https:\/\/www.magetop.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.magetop.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.magetop.com\/blog\/#organization","name":"Magetop.com","url":"https:\/\/www.magetop.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.magetop.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/11\/logo.png?fit=475%2C475&ssl=1","contentUrl":"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/11\/logo.png?fit=475%2C475&ssl=1","width":475,"height":475,"caption":"Magetop.com"},"image":{"@id":"https:\/\/www.magetop.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/MagetopStore","https:\/\/x.com\/MagetopStore","https:\/\/www.linkedin.com\/company\/magetop","https:\/\/www.pinterest.com\/magetop","https:\/\/www.youtube.com\/channel\/UCXoiJsz88OfPmwa8QpUkwOA"]},{"@type":"Person","@id":"https:\/\/www.magetop.com\/blog\/#\/schema\/person\/a2bf0aa38cec01bc41197b9ec4b3e8c9","name":"Callula Huy","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.magetop.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/321e837578b99a75c9d7f5c884e62e11b3b6df2b5934726e98fd365f580393c7?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/321e837578b99a75c9d7f5c884e62e11b3b6df2b5934726e98fd365f580393c7?s=96&d=mm&r=g","caption":"Callula Huy"},"description":"Callula is the Marketing Executive at Magetop. With more than 5 years of copywriting under his belt, Callula is into creating valuable content that is straight to the point. Life student. Workaholic. Foreign languages and traveling aficionado.","sameAs":["http:\/\/magetop.com"],"url":"https:\/\/www.magetop.com\/blog\/author\/callula-huy\/"}]}},"jetpack_featured_media_url":"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2020\/05\/H%C6%B0%E1%BB%9Bng-d%E1%BA%ABn-t%E1%BA%A1o-menu-admin-module-trong-Magento-2.png?fit=750%2C405&ssl=1","jetpack_shortlink":"https:\/\/wp.me\/paOdw5-Ao","jetpack-related-posts":[{"id":2197,"url":"https:\/\/www.magetop.com\/blog\/tao-view-trong-magento-2\/","url_meta":{"origin":2256,"position":0},"title":"H\u01b0\u1edbng d\u1eabn l\u1eadp tr\u00ecnh module Magento 2: T\u1ea1o view","author":"Callula Huy","date":"May 15, 2020","format":false,"excerpt":"Trong b\u00e0i 4 c\u1ee7a lo\u1ea1t b\u00e0i h\u01b0\u1edbng d\u1eabn l\u1eadp tr\u00ecnh module Magento 2, ch\u00fang ta s\u1ebd c\u00f9ng nhau xem c\u00e1ch ho\u1ea1t \u0111\u1ed9ng c\u1ee7a view.","rel":"","context":"In &quot;Magento 2 H\u01b0\u1edbng D\u1eabn Ti\u1ebfng Vi\u1ec7t&quot;","block_context":{"text":"Magento 2 H\u01b0\u1edbng D\u1eabn Ti\u1ebfng Vi\u1ec7t","link":"https:\/\/www.magetop.com\/blog\/vn\/"},"img":{"alt_text":"H\u01b0\u1edbng d\u1eabn l\u1eadp tr\u00ecnh module Magento 2 t\u1ea1o view","src":"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2020\/05\/tao-view-magento-2.png?fit=750%2C405&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2020\/05\/tao-view-magento-2.png?fit=750%2C405&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2020\/05\/tao-view-magento-2.png?fit=750%2C405&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2020\/05\/tao-view-magento-2.png?fit=750%2C405&ssl=1&resize=700%2C400 2x"},"classes":[]},{"id":1478,"url":"https:\/\/www.magetop.com\/blog\/tao-module-don-gian-magento-2\/","url_meta":{"origin":2256,"position":1},"title":"H\u01b0\u1edbng d\u1eabn t\u1ea1o module \u0111\u01a1n gi\u1ea3n trong Magento 2","author":"Callula Huy","date":"March 7, 2020","format":false,"excerpt":"Trong b\u00e0i vi\u1ebft n\u00e0y m\u00ecnh s\u1ebd h\u01b0\u1edbng d\u1eabn c\u00e1c b\u1ea1n c\u00e1ch t\u1ea1o 1 module Magento 2 \u0111\u01a1n gi\u1ea3n - Hello world module.","rel":"","context":"In &quot;Magento 2 H\u01b0\u1edbng D\u1eabn Ti\u1ebfng Vi\u1ec7t&quot;","block_context":{"text":"Magento 2 H\u01b0\u1edbng D\u1eabn Ti\u1ebfng Vi\u1ec7t","link":"https:\/\/www.magetop.com\/blog\/vn\/"},"img":{"alt_text":"H\u01b0\u1edbng d\u1eabn l\u1eadp tr\u00ecnh module Magento 2","src":"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2020\/03\/2459444_7fd3-750x405-1.png?fit=750%2C405&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2020\/03\/2459444_7fd3-750x405-1.png?fit=750%2C405&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2020\/03\/2459444_7fd3-750x405-1.png?fit=750%2C405&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2020\/03\/2459444_7fd3-750x405-1.png?fit=750%2C405&ssl=1&resize=700%2C400 2x"},"classes":[]},{"id":2376,"url":"https:\/\/www.magetop.com\/blog\/tao-system-xml-va-helper\/","url_meta":{"origin":2256,"position":2},"title":"H\u01b0\u1edbng d\u1eabn t\u1ea1o system.xml v\u00e0 s\u1eed d\u1ee5ng Helper trong Magento 2","author":"Callula Huy","date":"June 12, 2020","format":false,"excerpt":"\u1ede b\u00e0i vi\u1ebft tr\u01b0\u1edbc m\u00ecnh \u0111\u00e3 h\u01b0\u1edbng d\u1eabn c\u00e1c b\u1ea1n c\u00e1ch t\u1ea1o ra menu cho module, h\u00f4m nay m\u00ecnh s\u1ebd h\u01b0\u1edbng d\u1eabn c\u00e1c b\u1ea1n c\u00e1ch t\u1ea1o system.xml v\u00e0 s\u1eed d\u1ee5ng Helper trong Magento 2.","rel":"","context":"In &quot;Magento 2 H\u01b0\u1edbng D\u1eabn Ti\u1ebfng Vi\u1ec7t&quot;","block_context":{"text":"Magento 2 H\u01b0\u1edbng D\u1eabn Ti\u1ebfng Vi\u1ec7t","link":"https:\/\/www.magetop.com\/blog\/vn\/"},"img":{"alt_text":"H\u01b0\u1edbng d\u1eabn t\u1ea1o system.xml v\u00e0 s\u1eed d\u1ee5ng Helper","src":"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2020\/06\/H%C6%B0%E1%BB%9Bng-d%E1%BA%ABn-t%E1%BA%A1o-system.xml-v%C3%A0-s%E1%BB%AD-d%E1%BB%A5ng-Helper.png?fit=750%2C405&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2020\/06\/H%C6%B0%E1%BB%9Bng-d%E1%BA%ABn-t%E1%BA%A1o-system.xml-v%C3%A0-s%E1%BB%AD-d%E1%BB%A5ng-Helper.png?fit=750%2C405&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2020\/06\/H%C6%B0%E1%BB%9Bng-d%E1%BA%ABn-t%E1%BA%A1o-system.xml-v%C3%A0-s%E1%BB%AD-d%E1%BB%A5ng-Helper.png?fit=750%2C405&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2020\/06\/H%C6%B0%E1%BB%9Bng-d%E1%BA%ABn-t%E1%BA%A1o-system.xml-v%C3%A0-s%E1%BB%AD-d%E1%BB%A5ng-Helper.png?fit=750%2C405&ssl=1&resize=700%2C400 2x"},"classes":[]},{"id":2100,"url":"https:\/\/www.magetop.com\/blog\/model-trong-magento-2\/","url_meta":{"origin":2256,"position":3},"title":"H\u01b0\u1edbng d\u1eabn d\u00f9ng Model trong Magento 2","author":"Callula Huy","date":"May 12, 2020","format":false,"excerpt":"Ti\u1ebfp t\u1ee5c series h\u01b0\u1edbng d\u1eabn l\u1eadp tr\u00ecnh module, trong b\u00e0i vi\u1ebft n\u00e0y m\u00ecnh s\u1ebd h\u01b0\u1edbng d\u1eabn c\u00e1c b\u1ea1n c\u00e1ch s\u1eed d\u1ee5ng Model trong Magento 2 \u0111\u1ec3 truy xu\u1ea5t d\u1eef li\u1ec7u t\u1eeb database.","rel":"","context":"In &quot;Magento 2 H\u01b0\u1edbng D\u1eabn Ti\u1ebfng Vi\u1ec7t&quot;","block_context":{"text":"Magento 2 H\u01b0\u1edbng D\u1eabn Ti\u1ebfng Vi\u1ec7t","link":"https:\/\/www.magetop.com\/blog\/vn\/"},"img":{"alt_text":"h\u01b0\u1edbng d\u1eabn s\u1eed d\u1ee5ng model trong Magento 2","src":"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2020\/05\/h%C6%B0%E1%BB%9Bng-d%E1%BA%ABn-s%E1%BB%AD-d%E1%BB%A5ng-model-trong-Magento-2.png?fit=750%2C405&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2020\/05\/h%C6%B0%E1%BB%9Bng-d%E1%BA%ABn-s%E1%BB%AD-d%E1%BB%A5ng-model-trong-Magento-2.png?fit=750%2C405&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2020\/05\/h%C6%B0%E1%BB%9Bng-d%E1%BA%ABn-s%E1%BB%AD-d%E1%BB%A5ng-model-trong-Magento-2.png?fit=750%2C405&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2020\/05\/h%C6%B0%E1%BB%9Bng-d%E1%BA%ABn-s%E1%BB%AD-d%E1%BB%A5ng-model-trong-Magento-2.png?fit=750%2C405&ssl=1&resize=700%2C400 2x"},"classes":[]},{"id":2387,"url":"https:\/\/www.magetop.com\/blog\/thay-doi-icon-module-trong-magento-2\/","url_meta":{"origin":2256,"position":4},"title":"H\u01b0\u1edbng d\u1eabn thay \u0111\u1ed5i icon module trong Magento 2","author":"Callula Huy","date":"June 12, 2020","format":false,"excerpt":"\u0110\u1ec3 c\u00e1 nh\u00e2n h\u00f3a module c\u1ee7a m\u00ecnh, c\u00e1c b\u1ea1n c\u00f3 th\u1ec3 thay \u0111\u1ed5i icon module trong Magento 2, v\u1edbi ch\u1ec9 m\u1ed9t v\u00e0i b\u01b0\u1edbc \u0111\u01a1n gi\u1ea3n.","rel":"","context":"In &quot;Magento 2 H\u01b0\u1edbng D\u1eabn Ti\u1ebfng Vi\u1ec7t&quot;","block_context":{"text":"Magento 2 H\u01b0\u1edbng D\u1eabn Ti\u1ebfng Vi\u1ec7t","link":"https:\/\/www.magetop.com\/blog\/vn\/"},"img":{"alt_text":"h\u01b0\u1edbng d\u1eabn \u0111\u1ed5i icon module trong Magento 2","src":"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2020\/06\/h%C6%B0%E1%BB%9Bng-d%E1%BA%ABn-%C4%91%E1%BB%95i-icon-module-trong-Magento-2.png?fit=750%2C440&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2020\/06\/h%C6%B0%E1%BB%9Bng-d%E1%BA%ABn-%C4%91%E1%BB%95i-icon-module-trong-Magento-2.png?fit=750%2C440&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2020\/06\/h%C6%B0%E1%BB%9Bng-d%E1%BA%ABn-%C4%91%E1%BB%95i-icon-module-trong-Magento-2.png?fit=750%2C440&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2020\/06\/h%C6%B0%E1%BB%9Bng-d%E1%BA%ABn-%C4%91%E1%BB%95i-icon-module-trong-Magento-2.png?fit=750%2C440&ssl=1&resize=700%2C400 2x"},"classes":[]},{"id":1545,"url":"https:\/\/www.magetop.com\/blog\/tao-table-database-trong-magento-2\/","url_meta":{"origin":2256,"position":5},"title":"H\u01b0\u1edbng d\u1eabn t\u1ea1o table database trong Magento 2","author":"Callula Huy","date":"March 20, 2020","format":false,"excerpt":"Ti\u1ebfp n\u1ed1i lo\u1ea1t b\u00e0i h\u01b0\u1edbng d\u1eabn code module Magento 2, Trong b\u00e0i vi\u1ebft n\u00e0y m\u00ecnh s\u1ebd h\u01b0\u1edbng d\u1eabn c\u00e1c b\u1ea1n c\u00e1ch t\u1ea1o b\u1ea3ng(table) database trong Magento 2.","rel":"","context":"In &quot;Magento 2 H\u01b0\u1edbng D\u1eabn Ti\u1ebfng Vi\u1ec7t&quot;","block_context":{"text":"Magento 2 H\u01b0\u1edbng D\u1eabn Ti\u1ebfng Vi\u1ec7t","link":"https:\/\/www.magetop.com\/blog\/vn\/"},"img":{"alt_text":"B\u00e0i 2: h\u01b0\u1edbng d\u1eabn t\u1ea1o table database Magento 2","src":"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2020\/03\/taotabledatabase.png?fit=750%2C405&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2020\/03\/taotabledatabase.png?fit=750%2C405&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2020\/03\/taotabledatabase.png?fit=750%2C405&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2020\/03\/taotabledatabase.png?fit=750%2C405&ssl=1&resize=700%2C400 2x"},"classes":[]}],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.magetop.com\/blog\/wp-json\/wp\/v2\/posts\/2256","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.magetop.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.magetop.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.magetop.com\/blog\/wp-json\/wp\/v2\/users\/108"}],"replies":[{"embeddable":true,"href":"https:\/\/www.magetop.com\/blog\/wp-json\/wp\/v2\/comments?post=2256"}],"version-history":[{"count":7,"href":"https:\/\/www.magetop.com\/blog\/wp-json\/wp\/v2\/posts\/2256\/revisions"}],"predecessor-version":[{"id":2271,"href":"https:\/\/www.magetop.com\/blog\/wp-json\/wp\/v2\/posts\/2256\/revisions\/2271"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.magetop.com\/blog\/wp-json\/wp\/v2\/media\/2270"}],"wp:attachment":[{"href":"https:\/\/www.magetop.com\/blog\/wp-json\/wp\/v2\/media?parent=2256"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.magetop.com\/blog\/wp-json\/wp\/v2\/categories?post=2256"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.magetop.com\/blog\/wp-json\/wp\/v2\/tags?post=2256"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}