templates/Slivki/delivery/modal/brandbox/brandbox_popup.html.twig line 1

Open in your IDE?
  1. <div id="popupBrandbox" class="brandbox-popup modal fade">
  2.     <div class="modal-dialog modal-dialog-centered">
  3.         <div class="modal-content">
  4.             <img class="brandbox-popup-logo" src="{{ getImageURL(offer.getOnlineOrderPopupLogoMedia(), 350, 175) }}" alt="brandbox-popup-logo">
  5.             <h3 class="brandbox-popup-title">Рады приветствовать в форме быстрого заказа!</h3>
  6.             <p class="brandbox-popup-descr">
  7.                 доступна оплата: {{ offer.getOnlineOrderSettings().getAllowedPaymentMethodsString() }}
  8.             </p>
  9.             <div class="brandbox-popup-btns">
  10.                 <div class="delivery-btns-container">
  11.                 <div id="delivery_teaser" class="brandbox-popup-btn">
  12.                     <span class="brandbox-popup-btn-text">Доставка</span>
  13.                     <span class="brandbox-popup-btn-sale">{{ offer.getDiscountDeliveryPopup() }}</span>
  14.                 </div>
  15.                     <div id="pickup_teaser" class="brandbox-popup-btn">
  16.                         <span class="brandbox-popup-btn-text">Самовывоз</span>
  17.                         <span class="brandbox-popup-btn-sale">{{ offer.getDiscountPickupPopup() }}</span>
  18.                     </div>
  19.                 </div>
  20.                 {% if offer.isGiftCertificateOnlineOrderAllowedOnSite() and offer.isFoodOnlineOrderAllowedOnSite() %}
  21.                     <a href="/gift-certificate/select/{{ offer.getID() }}" id="pickup_certificate"
  22.                        class="brandbox-popup-btn certificate-delivery-btn">
  23.                         <span class="brandbox-popup-btn-text">СЕРТИФИКАТЫ</span>
  24.                         <span class="brandbox-popup-btn-sale">{{ offer.getDiscountPickupPopup() }}</span>
  25.                     </a>
  26.                 {% endif %}
  27.             </div>
  28.             {% if offer.hasCategory(constant('Slivki\\Repository\\SeoRepository::FLOWERS_CATEGORY_ID')) %}
  29.                 <img class="brandbox-popup-img" src="/images/flowersPopup.png" alt="brandbox-popup-img">
  30.             {% else %}
  31.                 <img class="brandbox-popup-img" src="/images/popupBrandboxImg.svg" alt="brandbox-popup-img">
  32.             {% endif %}
  33.         </div>
  34.     </div>
  35. </div>