vendor/store.shopware.com/intediadoofindersw6/src/Resources/views/storefront/base.html.twig line 1

Open in your IDE?
  1. {% sw_extends '@Storefront/storefront/base.html.twig' %}
  2. {% block base_body_script %}
  3.     {{ parent() }}
  4.     {% if config('IntediaDoofinderSW6.config.doofinderEnabled') and config('IntediaDoofinderSW6.config.doofinderInjectionBlock') == 2 %}
  5.         {% if 'intedia-doofinder.configuration.hashId'|trans != 'intedia-doofinder.configuration.hashId' %}
  6.             <template data-intedia-doofinder data-intedia-doofinder-options='{ "layerType": "{{ config('IntediaDoofinderSW6.config.doofinderLayer') }}", "engineHash": "{{ 'intedia-doofinder.configuration.hashId'|trans|striptags }}", "installationId": "{{ config('IntediaDoofinderSW6.config.installationId') }}", "csrfToken": "{{ sw_csrf('frontend.checkout.product.add-by-number', {"mode": "token"}) }}", "addToCartUrl": "{{ path('frontend.checkout.product.add-by-number') }}", "offCanvasUrl": "{{ path('frontend.cart.offcanvas') }}" }'></template>
  7.         {% else %}
  8.             <template data-intedia-doofinder data-intedia-doofinder-options='{ "layerType": "{{ config('IntediaDoofinderSW6.config.doofinderLayer') }}", "engineHash": "{{ config('IntediaDoofinderSW6.config.engineHashId') }}", "installationId": "{{ config('IntediaDoofinderSW6.config.installationId') }}", "csrfToken": "{{ sw_csrf('frontend.checkout.product.add-by-number', {"mode": "token"}) }}", "addToCartUrl": "{{ path('frontend.checkout.product.add-by-number') }}", "offCanvasUrl": "{{ path('frontend.cart.offcanvas') }}" }'></template>
  9.         {% endif %}
  10.     {% endif %}
  11. {% endblock %}