custom/plugins/ATNTheme/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. {% block buy_widget_buy_form %}
  3.     {% set isItCustomProducts = page.product.extensions.swagCustomizedProductsTemplate %}
  4.     {% if product.active %}
  5.         {% if product.customFields['custom_is_gluesystem'] == "true" %}
  6.             {% block buy_widget_ordernumber_container %}
  7. {#                {% if product.productNumber %}#}
  8. {#                    <div class="product-detail-ordernumber-container">#}
  9. {#                        {% block buy_widget_ordernumber_label %}#}
  10. {#                            <span class="product-detail-ordernumber-label">#}
  11. {#                            {{ "detail.productNumberLabel"|trans|sw_sanitize }}#}
  12. {#                        </span>#}
  13. {#                        {% endblock %}#}
  14. {#                        {% block buy_widget_ordernumber %}#}
  15. {#                            <meta itemprop="productID"#}
  16. {#                                  content="{{ product.id }}"/>#}
  17. {#                            <span class="product-detail-ordernumber"#}
  18. {#                                  itemprop="sku">#}
  19. {#                            {{ product.productNumber }}#}
  20. {#                        </span>#}
  21. {#                        {% endblock %}#}
  22. {#                    </div>#}
  23. {#                {% endif %}#}
  24.             {% endblock %}
  25.         {% else %}
  26.             <div class="product-detail-form-container">
  27.                 {% sw_include '@Storefront/storefront/component/buy-widget/buy-widget-form.html.twig' %}
  28.             </div>
  29.         {% endif %}
  30.     {% endif %}
  31. {% endblock %}
  32. {% block buy_widget_tax %}{% endblock %}