Failing to extend account-widget

I’m rather new to Shopware, good to know :wink:

I’ve created my own plugin theme witch works like a charm.

I’m trying to extend the account-widget.html.twig with a little bit of content. But  for some reason I can’t get this to work at all.

I’ve done the same with cart-widget.html.twig, and everything I edit is immediatly visible so I have the basics correct…


My folder structure:

  • storefront/layout/header/actions/cart-widget.html.twig (Everything I edit works great here)
  • storefront/layout/header/actions/account-widget.html.twig (Nothing I change works here…)

This is my code for account-widget.html.twig:

{% sw_extends '@Storefront/storefront/layout/header/actions/account-widget.html.twig' %}
{% block layout_header_actions_account_widget %}
    {{ parent() }}
    Extra Content
{% endblock %}

I’m clearly missing something… checked the path over 10x… How can I proceed to debug this?


Anyone a suggestion on what I can do ? :frowning:

When changing the source file (in vendor/shopware), the change does appear, so I do have the correct file, but the override for some reason is not working…


Ok nevermind… I just updated to the latest Shopware version and it is fixed…lol Trying for 2 weeks xD