custom/plugins/zenitPlatformShippingBar/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. {% block layout_footer_payment_shipping_logos %}
  3.     {% set zenShippingBar = context.context.extensions['zenitPlatformShippingBar'].config %}
  4.     {% if zenShippingBar.active and zenShippingBar.footerBar == 'paymentShipping' %}
  5.         {% block zenit_shipping_bar_extends_footer_payment_shipping_logos_prepend %}
  6.             {% sw_include '@Storefront/storefront/shipping-bar/shipping-bar.html.twig' with {
  7.                 position: 'bottom',
  8.                 attach: 'prepend',
  9.                 statemanager: zenShippingBar.statemanagerFooter,
  10.                 statemanagerBaseClass: 'd-none',
  11.                 statemanagerIcons: zenShippingBar.statemanagerIconsFooter,
  12.                 statemanagerInformations: zenShippingBar.statemanagerInformationsFooter
  13.             } %}
  14.         {% endblock %}
  15.     {% else %}
  16.         {% if zenShippingBar.footerPaymentShipping %}
  17.             {{ parent() }}
  18.         {% endif %}
  19.     {% endif %}
  20. {% endblock %}
  21. {% block layout_footer_bottom %}
  22.     {% set zenShippingBar = context.context.extensions['zenitPlatformShippingBar'].config %}
  23.     {% if zenShippingBar.active and zenShippingBar.footerBar == 'prependBottom' and zenShippingBar.paymentExtension == 'noextend' %}
  24.         {% block zenit_shipping_bar_extends_footer_bottom_prepend %}
  25.             {% sw_include '@Storefront/storefront//shipping-bar/shipping-bar.html.twig' with {
  26.                 position: 'bottom',
  27.                 attach: 'prepend',
  28.                 statemanager: zenShippingBar.statemanagerFooter,
  29.                 statemanagerBaseClass: 'd-none',
  30.                 statemanagerIcons: zenShippingBar.statemanagerIconsFooter,
  31.                 statemanagerInformations: zenShippingBar.statemanagerInformationsFooter
  32.             } %}
  33.         {% endblock %}
  34.     {% endif %}
  35.     {{ parent() }}
  36. {% endblock %}