Shopware resources and help articles

Simple and to the point. Optimized by the community.

TWIG third-party extension

by Thomas Truelsen, last modified on October 5th, 2021
{% sw_extends '@PluginName/storefront/path/to/something/filename.html.twig' %}

When extending a third party plugin through TWIG, you can specify the plugin name in the extension for several gains.

  • Faster initial lookup time for compile
  • Easy for the next developer to see what you are extending
  • Gracefull ignore when 3-rd party plugin is removed.



We use cookies to measure the performance of this website. Do you want to accept these cookies?