custom/plugins/DmfManuTheme/src/Resources/views/storefront/page/product-detail/buy-widget.html.twig line 1

Open in your IDE?
  1. {% sw_extends '@Storefront/storefront/page/product-detail/buy-widget.html.twig' %}
  2. {% block page_product_detail_reviews %}
  3.     {% if column == 2 and theme_config('dmf-detail-buybox-reviews') == 'true' %}
  4.         {% sw_include '@Storefront/storefront/page/product-detail/reviews.html.twig' %}
  5.     {% endif %}
  6. {% endblock %}
  7. {% block page_product_detail_delivery_informations %}
  8.     {% if column == 2 %}
  9.         {{ parent() }}
  10.     {% endif %}
  11. {% endblock %}
  12. {% block page_product_detail_buy_inner %}
  13.     <div class="product-detail-buy js-magnifier-zoom-image-container">
  14.         {% block page_product_detail_rich_snippets %}
  15.             {{ parent() }}
  16.         {% endblock %}
  17.         {% block page_product_detail_not_available %}
  18.             {#TODO: NEXT-2784 - product not available message#}
  19.         {% endblock %}
  20.         {% block page_product_detail_buy_container %}
  21.             {{ parent() }}
  22.         {% endblock %}
  23.         {% if config('core.cart.wishlistEnabled') %}
  24.             {% if theme_config('dmf-detail-wishlist-position') == 'button' or theme_config('dmf-detail-wishlist-position') == 'link'  %}
  25.                 <div class="wishlist {% if theme_config('dmf-detail-wishlist-position') == 'button' %}wishlist-button{% endif %}">
  26.                     {% block page_product_detail_wishlist %}
  27.                         {% sw_include '@Storefront/storefront/component/product/card/wishlist.html.twig' with {
  28.                     showText: true,
  29.                     size: 'md',
  30.                     productId: page.product.id
  31.                 } %}
  32.                     {% endblock %}
  33.                 </div>
  34.             {% endif %}
  35.         {% endif %}
  36.         {% block page_product_detail_ordernumber_container %}
  37.             {% if column == 2 %}
  38.                 {{ parent() }}
  39.             {% endif %}
  40.         {% endblock %}
  41.     </div>
  42. {% endblock %}
  43. {% block page_product_detail_buy_form %}
  44.     {% if page.product.active %}
  45.         <div class="product-detail-form-container {% if theme_config('dmf-detail-wishlist-position') == 'buy-button' %}product-detail-wishlist{% endif %}">
  46.             {% sw_include '@Storefront/storefront/page/product-detail/buy-widget-form.html.twig' %}
  47.             {% if theme_config('dmf-detail-wishlist-position') == 'buy-button' %}
  48.                 {% sw_include '@Storefront/storefront/component/product/card/wishlist.html.twig' with {
  49.                     size: 'md',
  50.                     productId: page.product.id
  51.                 } %}
  52.             {% endif %}
  53.         </div>
  54.     {% endif %}
  55. {% endblock %}