custom/plugins/HBCTheme/src/Resources/views/storefront/component/buy-widget/buy-widget.html.twig line 1

Open in your IDE?
  1. {% sw_extends '@Storefront/storefront/component/buy-widget/buy-widget.html.twig' %}
  2. {# ----- delete price block ----- #}
  3. {# ----- delete tax block ----- #}
  4. {% block buy_widget_tax %}
  5. {% endblock %}
  6. {# ----- append price for buy form ----- #}
  7. {% block buy_widget_buy_form %}
  8.     <div class="product-detail-price-form-wrapper">
  9.         {% if product.customFields.loyxx_seminar_group_location %}
  10.             <div class="product-detail-configurator-group">
  11.                 <div class="product-detail-configurator-group-title">
  12.                     {{"customFields.loyxx_seminar_group_location"|trans}}
  13.                 </div>
  14.                 <div class="product-detail-configurator-options">
  15.                     {{product.customFields.loyxx_seminar_group_location|trans|sw_sanitize}}
  16.                 </div>
  17.             </div>
  18.         {% endif %}
  19.         <div class="product-detail-price-container">
  20.             {% sw_include '@Storefront/storefront/component/buy-widget/buy-widget-price.html.twig' %}
  21.         </div>
  22.         {% if product.active %}
  23.             <div class="product-detail-form-container">
  24.                 {% sw_include '@Storefront/storefront/component/buy-widget/buy-widget-form.html.twig' %}
  25.             </div>
  26.         {% endif %}
  27.     </div>
  28. {% endblock %}
  29. {# ----- hide text for whislist icon ----- #}
  30. {% block buy_widget_wishlist %}
  31.     {% sw_include '@Storefront/storefront/component/product/card/wishlist.html.twig' with {
  32.         showText: false,
  33.         size: 'md',
  34.         productId: product.id
  35.     } %}
  36. {% endblock %}
  37. {# ----- delete article number ----- #}
  38. {% block buy_widget_ordernumber_container %}
  39. {% endblock %}