Reputation: 603
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?
Upvotes: 2
Views: 885
Reputation: 34978
In which order did you install Plugin and Theme?
The order seems to be depenend on the installation date.
See also
How to do a template multiple inheritance in Shopware 6?
and
In which order are Shopware 6 plugins loaded?
Upvotes: 0