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

Open in your IDE?
  1. {% sw_extends '@Storefront/storefront/page/product-detail/buy-widget-form.html.twig' %}
  2. {% block page_product_detail_buy_product_buy_info %}
  3.     <input type="hidden"
  4.            name="lineItems[{{ product.id }}][id]"
  5.            value="{{ product.id }}">
  6.     <input type="hidden"
  7.            name="lineItems[{{ product.id }}][type]"
  8.            value="product">
  9.     <input type="hidden"
  10.            id="main_article_quantity_form"
  11.            name="lineItems[{{ product.id }}][quantity]"
  12.            value="1">           
  13.     <input type="hidden"
  14.            name="lineItems[{{ product.id }}][referencedId]"
  15.            value="{{ product.id }}">
  16.     <input type="hidden"
  17.            name="lineItems[{{ product.id }}][stackable]"
  18.            value="1">
  19.     <input type="hidden"
  20.            name="lineItems[{{ product.id }}][removable]"
  21.            value="1">
  22.     <input type="hidden"
  23.            name="lineItems[{{ product.id }}][xProductNumber]"
  24.            value="{{ page.product.productNumber }}">                  
  25.     <input type="hidden"
  26.            name="lineItems[{{ product.id }}][xconfig]"
  27.            value="1">           
  28.     <input type="hidden"
  29.            id="xconfigDesc"
  30.            name="lineItems[{{ product.id }}][xconfigDesc]"
  31.            value="">
  32.     <input type="hidden"
  33.            id="xconfigMedia"
  34.            name="lineItems[{{ product.id }}][xconfigMedia]"
  35.            value="">           
  36.     <input type="hidden"
  37.            id="xGroupIds"
  38.            name="lineItems[{{ product.id }}][xGroupIds]"
  39.            value="">
  40.     <input type="hidden"
  41.            id="xVariantId"
  42.            name="lineItems[{{ product.id }}][xVariantId]"
  43.            value="">           
  44.     <input type="hidden"
  45.            id="xGroupValues"
  46.            name="lineItems[{{ product.id }}][xGroupValues]"
  47.            value="">                      
  48. {% endblock %}
  49. {% block page_product_detail_product_buy_meta %}
  50.     <input type="hidden"
  51.            name="product-name"
  52.            value="{{ product.translated.name }}">
  53.     <input type="hidden"
  54.            name="brand-name"
  55.            value="{{ product.manufacturer.getName() }}">  
  56. {% endblock %}
  57. {% block page_product_detail_buy_button_container %}
  58. {% endblock %}
  59. {% block page_product_detail_buy_quantity %}
  60. {% endblock %}
  61. {% block page_product_detail_buy_form_inner_csrf %}
  62.     {{ sw_csrf('frontend.checkout.xconfig-line-item.add') }}
  63. {% endblock %}