{% sw_extends '@Storefront/storefront/base.html.twig' %}
{% block base_body_inner %}
{% set ga4PluginConfig = {
selectors: context.salesChannel.translated.customFields.custom_ga4_plugin_selectors ?? ''
} %}
<div
id="ga4-event-submission-plugin-config"
style="height: 0; width: 0;"
data-plugin-config='{{ ga4PluginConfig|json_encode|raw }}'
></div>
{{ parent() }}
{% endblock %}
{% block base_header %}
<section class="top-bar">
<div class="container">
{% sw_include '@Storefront/storefront/layout/header/top-bar.html.twig' %}
</div>
</section>
<header class="header-main">
{% block base_header_inner %}
{{ parent() }}
{% endblock %}
</header>
{% endblock %}
{% block base_body_classes %}
{{ parent() }}
{% if not context.customer %}is-guest{% endif %}
{% endblock %}