custom/static-plugins/EfbStorefront/Resources/views/storefront/base.html.twig line 1

Open in your IDE?
  1. {% sw_extends '@Storefront/storefront/base.html.twig' %}
  2. {% block base_body_inner %}
  3.     {% set ga4PluginConfig = {
  4.         selectors: context.salesChannel.translated.customFields.custom_ga4_plugin_selectors ?? ''
  5.     } %}
  6.     <div
  7.         id="ga4-event-submission-plugin-config"
  8.         style="height: 0; width: 0;"
  9.         data-plugin-config='{{ ga4PluginConfig|json_encode|raw }}'
  10.     ></div>
  11.     {{ parent() }}
  12. {% endblock %}
  13. {% block base_header %}
  14.     <section class="top-bar">
  15.         <div class="container">
  16.             {% sw_include '@Storefront/storefront/layout/header/top-bar.html.twig' %}
  17.         </div>
  18.     </section>
  19.     <header class="header-main">
  20.         {% block base_header_inner %}
  21.             {{ parent() }}
  22.         {% endblock %}
  23.     </header>
  24. {% endblock %}
  25. {% block base_body_classes %}
  26.     {{ parent() }}
  27.     {% if not context.customer %}is-guest{% endif %}
  28. {% endblock %}