vendor/store.shopware.com/mltisafemultisafepay/src/Resources/views/storefront/layout/meta.html.twig line 1

Open in your IDE?
  1. {% sw_extends '@Storefront/storefront/layout/meta.html.twig' %}
  2. {% block layout_head_stylesheet %}
  3.     {{ parent() }}
  4.     {% set component = context.paymentMethod.customFields.component %}
  5.     {% set paymentName = context.paymentMethod.name|lower %}
  6.     {% set direct = context.paymentMethod.customFields.direct %}
  7.     {% if activeRoute == 'frontend.checkout.confirm.page' || activeRoute == 'frontend.account.edit-order.page' %}
  8.         {% if component == true %}
  9.             <link href="https://pay.multisafepay.com/sdk/components/v2/components.css" rel="stylesheet">
  10.         {% endif %}
  11.         {% if (paymentName == 'ideal' and component == false) or ('mybank' in paymentName and direct == true) %}
  12.             <link href="https://unpkg.com/slim-select@latest/dist/slimselect.css" rel="stylesheet" />
  13.         {% endif %}
  14.     {% endif %}
  15. {% endblock %}