custom/plugins/NetzpShariff6/src/Resources/views/storefront/layout/footer/footer.html.twig line 1

Open in your IDE?
  1. {% sw_extends '@Storefront/storefront/layout/footer/footer.html.twig' %}
  2. {% set showFixed = config('NetzpShariff6.config.showFixed') %}
  3. {% set offset = config('NetzpShariff6.config.offset') %}
  4. {% set buttonStyle = config('NetzpShariff6.config.buttonstyle') %}
  5. {% block layout_footer_payment_shipping_logos %}
  6.     {% if(config('NetzpShariff6.config.excludeHomepage') and activeRoute == 'frontend.home.page') %}
  7.     {% else %}
  8.         {% if(showFixed == 'footer') %}
  9.             <div class="netzp-shariff-center">
  10.                 <div class="netzp-shariff-footer"
  11.                      {% if(buttonStyle == 'standard') %}style="width: 100%;"{% endif %}
  12.                 >
  13.                     {% sw_include "@Storefront/storefront/shariff.html.twig" %}
  14.                 </div>
  15.             </div>
  16.         {% elseif(showFixed != 'none') %}
  17.             <span class="netzp-shariff-{{ config('NetzpShariff6.config.showFixed') }}"
  18.                   {% if(offset > 0) %}
  19.                       style="{% if(showFixed == 'fixedleft' or showFixed == 'fixedright') %}bottom: {{ offset }}vh{% endif %}
  20.                              {% if(showFixed == 'fixedbottom') %}left: {{ offset }}vw{% endif %}"
  21.                   {% endif %}
  22.             >
  23.                 {% if(showFixed == 'fixedleft' or showFixed == 'fixedright') %}
  24.                    {% sw_include "@Storefront/storefront/shariff.html.twig" with {'orientation': 'vertical', 'buttonstyle': 'icon'} %}
  25.                 {% else %}
  26.                     {% sw_include "@Storefront/storefront/shariff.html.twig" with {'buttonstyle': 'icon'} %}
  27.                 {% endif %}
  28.             </span>
  29.         {% endif %}
  30.     {% endif %}
  31.     {{ parent() }}
  32. {% endblock %}