custom/plugins/CfCookieFirst/src/Resources/views/storefront/layout/header/header.html.twig line 1

Open in your IDE?
  1. {% sw_extends '@Storefront/storefront/layout/header/header.html.twig' %}
  2. {% block layout_header %}
  3.     {{ parent() }}
  4.     {% set cookieFirstData = page.footer.extensions.CookieFirst.config %}
  5.     {% if cookieFirstData and cookieFirstData.apiKey %}
  6.         <script src="//consent.cookiefirst.com/banner.js" data-cookiefirst-key="{{ cookieFirstData.apiKey }}"></script>
  7.     {% endif %}
  8. {% endblock %}