Shopware 6 template inheritance issue

Viewed 487

I have a Plugin that adds something to the Product detail page and I want to make some changes to it. That shouldn't be a problem, right? I just can do that in my Theme, but NO that doesn't work! Here are the views attribute of my theme.json

 "views": [
    "@Storefront",
    "@Plugins",
    "@MegaTmlTheme",
    "@MegaTrainingProducts"
  ],

And here is a Screenshot of the Profiler (Template Inheritance) I want to change the accessory-product.html.twig, but as you can see, the Plugin template is loaded after the one from the Theme. WHY? And how do I fix that?

profiler template inheritance

1 Answers
Related