custom/plugins/OttMoebelfirstTheme/src/Resources/views/storefront/page/checkout/_page.html.twig line 1

Open in your IDE?
  1. {% sw_extends '@Storefront/storefront/page/checkout/_page.html.twig' %}
  2. {% set merchant = page.extensions.ottMerchantShopsData.merchant %}
  3. {% block page_checkout_container %}
  4.     <div class="checkout-container">
  5.         {% block page_checkout_main %}
  6.             {{ parent() }}
  7.         {% endblock %}
  8.         {% block page_checkout_aside %}
  9.             {{ parent() }}
  10.         {% endblock %}
  11.     </div>
  12. {% endblock %}
  13. {% block base_body_inner %}
  14.     {{ parent() }}
  15.     {% sw_include '@Storefront/storefront/component/modal/ott-remove-item-modal.html.twig' %}
  16. {% endblock %}
  17. {% block page_checkout %}
  18.     {{ parent() }}
  19.     {% block ott_checkout_usp %}
  20.         {% if 'finishPage' !== controllerAction %}
  21.             <div class="ott-checkout-usp">
  22.                 <div class="ott-checkout-usp-element">
  23.                     <div class="ott-checkout-usp-icon">
  24.                         {% sw_icon 'feather-phone-call' style {
  25.                             'namespace': 'OttMoebelfirstTheme',
  26.                             'pack': 'moebelfirst',
  27.                         } %}
  28.                     </div>
  29.                     <div class="ott-checkout-usp-text-wrapper">
  30.                         <div class="ott-checkout-usp-heading">
  31.                             {{ 'ott.checkout.usp1Headline'|trans|striptags|raw }}
  32.                         </div>
  33.                         <div class="ott-checkout-usp-text">
  34.                             {% if merchant %}
  35.                                 <div>
  36.                                     {{ 'ott.checkout.usp1TextMerchantShop'|trans|striptags|raw }}
  37.                                 </div>
  38.                                 <div>
  39.                                     {{ merchant.phone }}
  40.                                 </div>
  41.                             {% else %}
  42.                                 {{ 'ott.checkout.usp1Text'|trans|striptags|raw }}
  43.                             {% endif %}
  44.                         </div>
  45.                     </div>
  46.                 </div>
  47.                 <div class="ott-checkout-usp-element">
  48.                     <div class="ott-checkout-usp-icon">
  49.                         {% sw_icon 'feather-truck' style {
  50.                             'namespace': 'OttMoebelfirstTheme',
  51.                             'pack': 'moebelfirst',
  52.                         } %}
  53.                     </div>
  54.                     <div class="ott-checkout-usp-text-wrapper">
  55.                         <div class="ott-checkout-usp-heading">
  56.                             {{ 'ott.checkout.usp2Headline'|trans|striptags|raw }}
  57.                         </div>
  58.                         <div class="ott-checkout-usp-text">
  59.                             {{ 'ott.checkout.usp2Text'|trans|striptags|raw }}
  60.                         </div>
  61.                     </div>
  62.                 </div>
  63.                 <div class="ott-checkout-usp-element">
  64.                     <div class="ott-checkout-usp-icon">
  65.                         {% sw_icon 'return-down-back-outline' style {
  66.                             'namespace': 'OttMoebelfirstTheme',
  67.                             'pack': 'moebelfirst',
  68.                         } %}
  69.                     </div>
  70.                     <div class="ott-checkout-usp-text-wrapper">
  71.                         <div class="ott-checkout-usp-heading">
  72.                             {{ 'ott.checkout.usp3Headline'|trans|striptags|raw }}
  73.                         </div>
  74.                         <div class="ott-checkout-usp-text">
  75.                             {{ 'ott.checkout.usp3Text'|trans|striptags|raw }}
  76.                         </div>
  77.                     </div>
  78.                 </div>
  79.             </div>
  80.         {% endif %}
  81.     {% endblock %}
  82.     {# Delivery info modal #}
  83.     <div id="ott-delivery-info-modal" class="modal fade" tabindex="-1" role="dialog">
  84.         <div class="modal-dialog" role="document">
  85.             <div class="modal-content">
  86.                 <div class="modal-header only-close">
  87.                     {# @deprecated tag:v6.5.0 - h5 will be changed to div because it causes incorrect semantics on all pages which include pseudo-modal.html.twig #}
  88.                     {% if feature('V6_5_0_0') %}
  89.                         <div class="modal-title js-pseudo-modal-template-title-element h5">
  90.                             {{ 'ott.deliveryInfoModal.headline'|trans }}
  91.                         </div>
  92.                     {% else %}
  93.                         <h5 class="modal-title js-pseudo-modal-template-title-element">
  94.                             {{ 'ott.deliveryInfoModal.headline'|trans }}
  95.                         </h5>
  96.                     {% endif %}
  97.                     <button type="button"
  98.                             class="{{ modalCloseBtnClass }} close"
  99.                             {{ dataBsDismissAttr }}="modal"
  100.                             aria-label="Close"
  101.                     >
  102.                     {% block product_detail_zoom_modal_close_button_content %}
  103.                         {# @deprecated tag:v6.5.0 - Bootstrap v5 creates "x" symbol automatically via SVG background #}
  104.                         {% if not feature('v6.5.0.0') %}
  105.                             <span aria-hidden="true">
  106.                                 {% sw_icon 'x' style { 'size': 'sm' } %}
  107.                             </span>
  108.                         {% endif %}
  109.                     {% endblock %}
  110.                     </button>
  111.                 </div>
  112.                 <div class="modal-body js-pseudo-modal-template-content-element text-center">
  113.                     {{ 'ott.deliveryInfoModal.content'|trans }}
  114.                 </div>
  115.             </div>
  116.         </div>
  117.     </div>
  118. {% endblock %}