custom/plugins/ComanConsentManager/src/Resources/views/storefront/layout/cookie/cookie-permission.html.twig line 1

Open in your IDE?
  1. {% sw_extends '@Storefront/storefront/layout/cookie/cookie-permission.html.twig' %}
  2. {% block layout_cookie_permission_inner %}
  3.     {% set ComanConsentManager = config('ComanConsentManager') %}
  4.     {% if ComanConsentManager is not defined %}
  5.         {{ parent() }}
  6.     {% else %}
  7.         {% if not (ComanConsentManager.config.active and ComanConsentManager.config.formId > 0) %}
  8.             {% if not (ComanConsentManager.config.blockingMode == 'automatic' or ComanConsentManager.config.blockingMode == 'manual') %}
  9.                 {{ parent() }}
  10.             {% endif %}
  11.         {% endif %}
  12.     {% endif %}
  13. {% endblock %}