This is related to In which order are Shopware 6 plugins loaded?
When overwriting templates in different plugins, the load order matters and depends on plugin installation date.
I believe in the recent Shopware version it is possible to solve this in a better way.
How is this working?
You can add since the last version a getTemplatePriority
to your Bundle class. The returned integer is used for sorting. https://github.com/shopware/platform/commit/ad0535de2042c2c8cbb5c4f203780feae3ba0c70
public function getTemplatePriority(): int
{
return 500;
}