custom/plugins/AcrisShopSwitchCS/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.     {% block base_acris_shop_switch %}
  4.         {# do on integration type is ajax and only if the data was loaded directly #}
  5.         {% if config('AcrisShopSwitchCS.config').integrationType == 'ajax' and context.extensions.shopSwitchModalLoadedAfter is empty %}
  6.             {% sw_include '@AcrisShopSwitchCS/storefront/component/acris-shop-switch/ajax.html.twig' %}
  7.         {% else %}
  8.             {% sw_include '@AcrisShopSwitchCS/storefront/component/acris-shop-switch/direct.html.twig' %}
  9.         {% endif %}
  10.     {% endblock %}
  11.     {{ parent() }}
  12. {% endblock %}