{"id":260978,"date":"2020-07-26T10:15:43","date_gmt":"2020-07-26T10:15:43","guid":{"rendered":"https:\/\/webkul.com\/blog\/?p=260978"},"modified":"2020-07-27T04:32:09","modified_gmt":"2020-07-27T04:32:09","slug":"add-new-module-to-administration-in-shopware-6-how-to-add-custom-module-in-shopware-6","status":"publish","type":"post","link":"https:\/\/webkul.com\/blog\/add-new-module-to-administration-in-shopware-6-how-to-add-custom-module-in-shopware-6\/","title":{"rendered":"How to add new module to administration in Shopware 6"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\">Overview<\/h2>\n\n\n\n<p>This blog gives you a brief introduction on add new module to administration in Shopware 6.  Plugin need to have managing custom entity by create, update, delete and listing  with own logic. Because generated plugin configuration does not have listing and possible configuration for your custom entity. . In this case you have to create a custom module . &nbsp;With the following steps we can create custom module.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Setup Plugin Folder<\/h2>\n\n\n\n<p> In this article we discuss about create new module to administration in Shopware 6. Here we does not explain how to create new plugin for Shopware 6. Head over to shopware 6 &nbsp;<a href=\"https:\/\/docs.shopware.com\/en\/shopware-platform-dev-en\/developer-guide\/plugin-base\">Developer guide<\/a>&nbsp;to learn creating a plugin at first. <\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Injecting into the administration<\/h2>\n\n\n\n<p>The main entry point to extend the administration via plugin is the&nbsp;<code>main.js<\/code>&nbsp;file. It has to be placed into a&nbsp;<code>&lt;plugin root&gt;\/src\/Resources\/app\/administration\/src<\/code>&nbsp;directory in order to be found by Shopware 6. How to upload media URL in Shopware 6 <a href=\"https:\/\/webkul.com\/blog\/how-to-upload-media-through-url-in-shopware6\/\">Link<\/a><\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Creating a new module<\/h2>\n\n\n\n<p>Every module in the Shopware 6 core can be found in the&nbsp;<code>module<\/code>&nbsp;directory relative to the administration source directory.&nbsp;  Copy this structure into our plugin, so everybody being used to Shopware 6 core code will automatically get the hang of it as well. The path in your plugin would be:&nbsp;<code>&lt;plugin root&gt;\/src\/Resources\/app\/administration\/src\/module<\/code>.<br>Inside of this&nbsp;<code>module<\/code>&nbsp;directory in the core code, you find a list of all available modules. In the same way create a new directory for each module of your plugin. In this case it is just one, so create a new directory&nbsp;<code>custom-module<\/code>&nbsp;in there.&nbsp;Module has its own index.js file loaded by main.js file. You also have to load the directory in your&nbsp;<code>main.js<\/code>&nbsp;in order for any changes to take effect.<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\">import &#039;.\/module\/custom-module&#039;;<\/pre>\n\n\n\n<p>You don&#8217;t have to mention the&nbsp;<code>index.js<\/code>&nbsp;in the import path, this is done automatically. Your custom module&#8217;s&nbsp;<code>index.js<\/code>&nbsp;will already be considered, so go ahead and open the&nbsp;<code>index.js<\/code>. The main logic happens in there.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">index.js<\/h2>\n\n\n\n<p>First of all, you have to register your module using the&nbsp;<code>ModuleFactory<\/code>. This&nbsp;<code>Module<\/code>&nbsp;provides a method&nbsp;<code>register<\/code>, which expects a name and a configuration for your module.<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\">Shopware.Module.register(&#039;custom-module&#039;, {\n    \/\/ Configuration here\n});<\/pre>\n\n\n\n<p>Here you have to provide some basic meta information about your module, such as a&nbsp;<code>name<\/code>, a&nbsp;<code>description<\/code>&nbsp;and a&nbsp;<code>title<\/code>. Also, the property&nbsp;<code>type<\/code>&nbsp;should have the value&nbsp;<code>plugin<\/code>. <br>Additional to those basic meta information, each module comes with a custom color and a custom icon. <\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\">import &#039;.\/page\/custom-module-overview&#039;;\n\nimport deDE from &#039;.\/snippet\/de-DE.json&#039;;\nimport enGB from &#039;.\/snippet\/en-GB.json&#039;;\n\nShopware.Module.register(&#039;custom-module&#039;, {\n    type: &#039;plugin&#039;,\n    name: &#039;Custom&#039;,\n    title: &#039;Custom module&#039;,\n    description: &#039;Description for your custom module&#039;,\n    color: &#039;#62ff80&#039;,\n    icon: &#039;default-object-lab-flask&#039;,\n});<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">Snippets<\/h2>\n\n\n\n<p>First thing to do is registering new snippets. You may already have noticed the import statements for&nbsp;<code>deDE<\/code>&nbsp;or&nbsp;<code>enGB<\/code>&nbsp;in the example above. <\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\">snippets: {\n    &#039;de-DE&#039;: deDE,\n    &#039;en-GB&#039;: enGB\n},<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">Routes<\/h2>\n\n\n\n<p>In order to get the navigation working, every navigation entry needs an individual route to link to.<br>A module&#8217;s routes are defined using the&nbsp;<code>routes<\/code>&nbsp;property, which expects an object containing multiple route configuration objects. <\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\">\/\/ routes: {\n\/\/     nameOfTheRoute: {\n\/\/         component: &#039;example&#039;,\n\/\/         path: &#039;actualPathInTheBrowser&#039;\n\/\/     }\n\/\/ }\nroutes: {\n    list: {\n        component: &#039;sw-custom-module&#039;,\n        path: &#039;list&#039;\n    },\n},<\/pre>\n\n\n\n<p>As previously mentioned, the key of the configuration object,&nbsp;<code>overview<\/code>&nbsp;in this case, is also the name of the route. This will be needed for the navigation.&nbsp;<code>component<\/code>&nbsp;represents the name of the component to be shown when this route is executed. Last but not least is the&nbsp;<code>path<\/code>&nbsp;property, which is the actual path for the route, therefore being used in the actual URL. This configuration results in this route&#8217;s full name being&nbsp;<code>custom.module.overview<\/code>&nbsp;and the URL being&nbsp;<code>\/overview<\/code>&nbsp;relative to the Administration&#8217;s default URL.<\/p>\n\n\n\n<p>In this case, the&nbsp;<code>sw-product-list<\/code>&nbsp;component is being used for this route. Usually you want to show your custom component here, which is explained&nbsp;<a href=\"https:\/\/docs.shopware.com\/en\/shopware-platform-dev-en\/how-to\/custom-component\">here<\/a>.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Navigation<\/h2>\n\n\n\n<p>In order to create a navigation entry, you have to provide a navigation configuration using the&nbsp;<code>navigation<\/code>&nbsp;property in your module&#8217;s configuration. It expects an array of navigation configuration objects.<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\">import &#039;.\/page\/custom-module-overview&#039;;\n\nShopware.Module.register(&#039;custom-module&#039;, {\n\n    \/\/ Module configuration\n    ...\n\n    navigation: &#091;{\n        \/\/ Navigation configuration\n    }]\n});<\/pre>\n\n\n\n<p>It expects an array, so that you can provide more than just one navigation entry for your module. Sometimes you want to have some kind of &#8220;parent&#8221; navigation entry, containing multiple children entries. In that scenario, you also want the child entries to have a custom icon. Thus, each navigation configuration can have its own&nbsp;<code>icon<\/code>&nbsp;and custom&nbsp;<code>color<\/code>. Other than those two properties, you also need to provide a&nbsp;<code>label<\/code>&nbsp;to be displayed next to the icon. Additionally, add the name of a route by using the&nbsp;<code>path<\/code>&nbsp;property. This route will be used when clicking on this navigation entry. In this case, you use the previously created route&nbsp;<code>custom.module.overview<\/code>.<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\">navigation: &#091;{\n    label: &#039;Custom Module&#039;,\n    color: &#039;#62ff80&#039;,\n    path: &#039;custom.module.overview&#039;,\n    icon: &#039;default-object-lab-flask&#039;\n}]<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">Add Page Component<\/h2>\n\n\n\n<p>You need to add page  for rendering view on click navigation . Under module\/CustomModule\/page\/custom-module-list\/index.js directory.<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\">const { Component, Mixin } = Shopware;\nComponent.register(&#039;custom-module-list&#039;, {\n\/\/ cofiguration\n})<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">Add Template<\/h2>\n\n\n\n<p>After creating index.js file you also need to create html twig file in above directory. here we create custom-module-list.html.twig file and also import in above index.js file.<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\">const { Component, Mixin } = Shopware;\nimport template from &#039;.\/custom-module-list.html.twig&#039;\nComponent.register(&#039;custom-module-list&#039;, {\n   template\n})<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">Final Module<\/h2>\n\n\n\n<p>This is how your final module index.js file looks like<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\">import deDE from &#039;.\/snippet\/de-DE.json&#039;;\nimport enGB from &#039;.\/snippet\/en-GB.json&#039;;\n\nShopware.Module.register(&#039;custom-module&#039;, {\n    type: &#039;plugin&#039;,\n    name: &#039;Custom&#039;,\n    title: &#039;Custom module&#039;,\n    description: &#039;Description for your custom module&#039;,\n    color: &#039;#62ff80&#039;,\n    icon: &#039;default-object-lab-flask&#039;,\n\n    snippets: {\n        &#039;de-DE&#039;: deDE,\n        &#039;en-GB&#039;: enGB\n    },\n\n    routes: {\n        overview: {\n            component: &#039;sw-product-list&#039;,\n            path: &#039;overview&#039;\n        },\n    },\n\n    navigation: &#091;{\n        label: &#039;Custom Module&#039;,\n        color: &#039;#62ff80&#039;,\n        path: &#039;custom.module.overview&#039;,\n        icon: &#039;default-object-lab-flask&#039;\n    }],\n\n    settingsItem: &#091;{\n        to: &#039;custom.module.overview&#039;,\n        group: &#039;system&#039;,\n        icon: &#039;default-object-lab-flask&#039;,\n    }]\n});<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">Build Module<\/h2>\n\n\n\n<p>After created module  you need to build for production use, so you need to run build command.<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\">.\/psh.phar administration:build<\/pre>\n\n\n\n<p>After buildup module, Your minified javascript file will now be loaded in production environments.<\/p>\n\n\n\n<p>Thanks for reading, i hope it will help you for any query please comment in comment box.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Overview This blog gives you a brief introduction on add new module to administration in Shopware 6. Plugin need to have managing custom entity by create, update, delete and listing with own logic. Because generated plugin configuration does not have listing and possible configuration for your custom entity. . In this case you have to <a href=\"https:\/\/webkul.com\/blog\/add-new-module-to-administration-in-shopware-6-how-to-add-custom-module-in-shopware-6\/\">[&#8230;]<\/a><\/p>\n","protected":false},"author":325,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-260978","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v24.5 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>add new module to administration in Shopware 6 | add custom module<\/title>\n<meta name=\"description\" content=\"add new module to administration in Shopware 6 | how to add custom module in shopware 6 | create new module in shopware6\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/webkul.com\/blog\/add-new-module-to-administration-in-shopware-6-how-to-add-custom-module-in-shopware-6\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"add new module to administration in Shopware 6 | add custom module\" \/>\n<meta property=\"og:description\" content=\"add new module to administration in Shopware 6 | how to add custom module in shopware 6 | create new module in shopware6\" \/>\n<meta property=\"og:url\" content=\"https:\/\/webkul.com\/blog\/add-new-module-to-administration-in-shopware-6-how-to-add-custom-module-in-shopware-6\/\" \/>\n<meta property=\"og:site_name\" content=\"Webkul Blog\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/webkul\/\" \/>\n<meta property=\"article:published_time\" content=\"2020-07-26T10:15:43+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2020-07-27T04:32:09+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2021\/08\/webkul-og.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1200\" \/>\n\t<meta property=\"og:image:height\" content=\"630\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Prince Gupta\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@webkul\" \/>\n<meta name=\"twitter:site\" content=\"@webkul\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Prince Gupta\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"6 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/webkul.com\/blog\/add-new-module-to-administration-in-shopware-6-how-to-add-custom-module-in-shopware-6\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/webkul.com\/blog\/add-new-module-to-administration-in-shopware-6-how-to-add-custom-module-in-shopware-6\/\"},\"author\":{\"name\":\"Prince Gupta\",\"@id\":\"https:\/\/webkul.com\/blog\/#\/schema\/person\/669b7c5067f73a7ae2204ff4aca829fd\"},\"headline\":\"How to add new module to administration in Shopware 6\",\"datePublished\":\"2020-07-26T10:15:43+00:00\",\"dateModified\":\"2020-07-27T04:32:09+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/webkul.com\/blog\/add-new-module-to-administration-in-shopware-6-how-to-add-custom-module-in-shopware-6\/\"},\"wordCount\":863,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/webkul.com\/blog\/#organization\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/webkul.com\/blog\/add-new-module-to-administration-in-shopware-6-how-to-add-custom-module-in-shopware-6\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/webkul.com\/blog\/add-new-module-to-administration-in-shopware-6-how-to-add-custom-module-in-shopware-6\/\",\"url\":\"https:\/\/webkul.com\/blog\/add-new-module-to-administration-in-shopware-6-how-to-add-custom-module-in-shopware-6\/\",\"name\":\"add new module to administration in Shopware 6 | add custom module\",\"isPartOf\":{\"@id\":\"https:\/\/webkul.com\/blog\/#website\"},\"datePublished\":\"2020-07-26T10:15:43+00:00\",\"dateModified\":\"2020-07-27T04:32:09+00:00\",\"description\":\"add new module to administration in Shopware 6 | how to add custom module in shopware 6 | create new module in shopware6\",\"breadcrumb\":{\"@id\":\"https:\/\/webkul.com\/blog\/add-new-module-to-administration-in-shopware-6-how-to-add-custom-module-in-shopware-6\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/webkul.com\/blog\/add-new-module-to-administration-in-shopware-6-how-to-add-custom-module-in-shopware-6\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/webkul.com\/blog\/add-new-module-to-administration-in-shopware-6-how-to-add-custom-module-in-shopware-6\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/webkul.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to add new module to administration in Shopware 6\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/webkul.com\/blog\/#website\",\"url\":\"https:\/\/webkul.com\/blog\/\",\"name\":\"Webkul Blog\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/webkul.com\/blog\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/webkul.com\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/webkul.com\/blog\/#organization\",\"name\":\"WebKul Software Private Limited\",\"url\":\"https:\/\/webkul.com\/blog\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/webkul.com\/blog\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2021\/08\/webkul-logo-accent-sq.png\",\"contentUrl\":\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2021\/08\/webkul-logo-accent-sq.png\",\"width\":380,\"height\":380,\"caption\":\"WebKul Software Private Limited\"},\"image\":{\"@id\":\"https:\/\/webkul.com\/blog\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/webkul\/\",\"https:\/\/x.com\/webkul\",\"https:\/\/www.instagram.com\/webkul\/\",\"https:\/\/www.linkedin.com\/company\/webkul\",\"https:\/\/www.youtube.com\/user\/webkul\/\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/webkul.com\/blog\/#\/schema\/person\/669b7c5067f73a7ae2204ff4aca829fd\",\"name\":\"Prince Gupta\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/webkul.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/dd55a986709c72a714a8135a38f3b2cba1009ea371caec823a8547b2e01df18d?s=96&d=https%3A%2F%2Fcdnblog.webkul.com%2Fblog%2Fwp-content%2Fuploads%2F2019%2F10%2Fmike.png&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/dd55a986709c72a714a8135a38f3b2cba1009ea371caec823a8547b2e01df18d?s=96&d=https%3A%2F%2Fcdnblog.webkul.com%2Fblog%2Fwp-content%2Fuploads%2F2019%2F10%2Fmike.png&r=g\",\"caption\":\"Prince Gupta\"},\"url\":\"https:\/\/webkul.com\/blog\/author\/princegupta-wp031\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"add new module to administration in Shopware 6 | add custom module","description":"add new module to administration in Shopware 6 | how to add custom module in shopware 6 | create new module in shopware6","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:\/\/webkul.com\/blog\/add-new-module-to-administration-in-shopware-6-how-to-add-custom-module-in-shopware-6\/","og_locale":"en_US","og_type":"article","og_title":"add new module to administration in Shopware 6 | add custom module","og_description":"add new module to administration in Shopware 6 | how to add custom module in shopware 6 | create new module in shopware6","og_url":"https:\/\/webkul.com\/blog\/add-new-module-to-administration-in-shopware-6-how-to-add-custom-module-in-shopware-6\/","og_site_name":"Webkul Blog","article_publisher":"https:\/\/www.facebook.com\/webkul\/","article_published_time":"2020-07-26T10:15:43+00:00","article_modified_time":"2020-07-27T04:32:09+00:00","og_image":[{"width":1200,"height":630,"url":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2021\/08\/webkul-og.png","type":"image\/png"}],"author":"Prince Gupta","twitter_card":"summary_large_image","twitter_creator":"@webkul","twitter_site":"@webkul","twitter_misc":{"Written by":"Prince Gupta","Est. reading time":"6 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/webkul.com\/blog\/add-new-module-to-administration-in-shopware-6-how-to-add-custom-module-in-shopware-6\/#article","isPartOf":{"@id":"https:\/\/webkul.com\/blog\/add-new-module-to-administration-in-shopware-6-how-to-add-custom-module-in-shopware-6\/"},"author":{"name":"Prince Gupta","@id":"https:\/\/webkul.com\/blog\/#\/schema\/person\/669b7c5067f73a7ae2204ff4aca829fd"},"headline":"How to add new module to administration in Shopware 6","datePublished":"2020-07-26T10:15:43+00:00","dateModified":"2020-07-27T04:32:09+00:00","mainEntityOfPage":{"@id":"https:\/\/webkul.com\/blog\/add-new-module-to-administration-in-shopware-6-how-to-add-custom-module-in-shopware-6\/"},"wordCount":863,"commentCount":0,"publisher":{"@id":"https:\/\/webkul.com\/blog\/#organization"},"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/webkul.com\/blog\/add-new-module-to-administration-in-shopware-6-how-to-add-custom-module-in-shopware-6\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/webkul.com\/blog\/add-new-module-to-administration-in-shopware-6-how-to-add-custom-module-in-shopware-6\/","url":"https:\/\/webkul.com\/blog\/add-new-module-to-administration-in-shopware-6-how-to-add-custom-module-in-shopware-6\/","name":"add new module to administration in Shopware 6 | add custom module","isPartOf":{"@id":"https:\/\/webkul.com\/blog\/#website"},"datePublished":"2020-07-26T10:15:43+00:00","dateModified":"2020-07-27T04:32:09+00:00","description":"add new module to administration in Shopware 6 | how to add custom module in shopware 6 | create new module in shopware6","breadcrumb":{"@id":"https:\/\/webkul.com\/blog\/add-new-module-to-administration-in-shopware-6-how-to-add-custom-module-in-shopware-6\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/webkul.com\/blog\/add-new-module-to-administration-in-shopware-6-how-to-add-custom-module-in-shopware-6\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/webkul.com\/blog\/add-new-module-to-administration-in-shopware-6-how-to-add-custom-module-in-shopware-6\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/webkul.com\/blog\/"},{"@type":"ListItem","position":2,"name":"How to add new module to administration in Shopware 6"}]},{"@type":"WebSite","@id":"https:\/\/webkul.com\/blog\/#website","url":"https:\/\/webkul.com\/blog\/","name":"Webkul Blog","description":"","publisher":{"@id":"https:\/\/webkul.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/webkul.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/webkul.com\/blog\/#organization","name":"WebKul Software Private Limited","url":"https:\/\/webkul.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/webkul.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2021\/08\/webkul-logo-accent-sq.png","contentUrl":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2021\/08\/webkul-logo-accent-sq.png","width":380,"height":380,"caption":"WebKul Software Private Limited"},"image":{"@id":"https:\/\/webkul.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/webkul\/","https:\/\/x.com\/webkul","https:\/\/www.instagram.com\/webkul\/","https:\/\/www.linkedin.com\/company\/webkul","https:\/\/www.youtube.com\/user\/webkul\/"]},{"@type":"Person","@id":"https:\/\/webkul.com\/blog\/#\/schema\/person\/669b7c5067f73a7ae2204ff4aca829fd","name":"Prince Gupta","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/webkul.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/dd55a986709c72a714a8135a38f3b2cba1009ea371caec823a8547b2e01df18d?s=96&d=https%3A%2F%2Fcdnblog.webkul.com%2Fblog%2Fwp-content%2Fuploads%2F2019%2F10%2Fmike.png&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/dd55a986709c72a714a8135a38f3b2cba1009ea371caec823a8547b2e01df18d?s=96&d=https%3A%2F%2Fcdnblog.webkul.com%2Fblog%2Fwp-content%2Fuploads%2F2019%2F10%2Fmike.png&r=g","caption":"Prince Gupta"},"url":"https:\/\/webkul.com\/blog\/author\/princegupta-wp031\/"}]}},"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/posts\/260978","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/users\/325"}],"replies":[{"embeddable":true,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/comments?post=260978"}],"version-history":[{"count":2,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/posts\/260978\/revisions"}],"predecessor-version":[{"id":260980,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/posts\/260978\/revisions\/260980"}],"wp:attachment":[{"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/media?parent=260978"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/categories?post=260978"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/tags?post=260978"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}