custom/plugins/Wingsacademy/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_buy_inner %}
  3.     <div class="js-magnifier-zoom-image-container">
  4.         {% if not feature('FEATURE_NEXT_16992') %}
  5.             {# @deprecated tag:v6.5.0 tag:)(FEATURE_NEXT_16992) - Block will be removed in v6.5.0 #}
  6.             {% block page_product_detail_not_available %}
  7.             {% endblock %}
  8.         {% endif %}
  9.         {% block page_product_detail_buy_container %}
  10.             <div itemprop="offers"
  11.                  itemscope
  12.                  itemtype="{% if page.product.calculatedPrices|length > 1 %}http://schema.org/AggregateOffer{% else %}http://schema.org/Offer{% endif %}">
  13.                 {% block page_product_detail_data %}
  14.                     {% block page_product_detail_data_rich_snippet_url %}
  15.                         <meta itemprop="url"
  16.                               content="{{ seoUrl('frontend.detail.page', { productId: page.product.id }) }}"/>
  17.                     {% endblock %}
  18.                     {% block page_product_detail_data_rich_snippet_price_currency %}
  19.                         <meta itemprop="priceCurrency"
  20.                               content="{{ context.currency.translated.shortName }}"/>
  21.                     {% endblock %}
  22.                     {% set remoteClickOptions = {
  23.                         selector: "#review-tab",
  24.                         scrollToElement: true
  25.                     } %}
  26.                 {% endblock %}
  27.                 {% block page_product_detail_buy_form %}
  28.                     {% if page.product.active %}
  29.                         <div class="product-detail-form-container">
  30.                             {% sw_include '@Storefront/storefront/page/product-detail/buy-widget-form.html.twig' %}
  31.                         </div>
  32.                     {% endif %}
  33.                 {% endblock %}
  34.                 
  35.             </div>
  36.         {% endblock %}
  37.     </div>
  38. {% endblock %}