main.jsfile. It has to be placed into a
<plugin root>/src/Resources/app/administration/srcdirectory in order to be automatically found by Shopware 6.
sw-product-settings-formcomponent is overridden, which reflects the settings form on the product detail page. As mentioned above, the second parameter has to be an object, which includes the actual template extension.
sw-product-settings-form.html.twigin the following directory:
main.jsfile in your plugin. Its contents get minified into a new file named after your plugin and will be moved to the
<plugin root>/src/Resources/public/administration/js/administration-new-field.js, once you run the command following command in your shopware root directory: