templates/ECommerce/App/Product/form_add_to_individual_order.html.twig line 1

Open in your IDE?
  1. <form name="mdl_e_commerce_bundle_cartitem" method="post"
  2. action="{{ path('mdl_public_individual_order_add_product', {id: depotProduct.id}) }}">
  3. <div class="input-group">
  4. <input type="text" id="mdl_e_commerce_bundle_order_item_quantity-{{ depotProduct.id }}"
  5. name="mdl_e_commerce_bundle_order_item_quantity[quantity]"
  6. required="required"
  7. min="1"
  8. class="input-sm price-input form-control"
  9. value="{{ depotProduct.quantity }}"
  10. >
  11. {%- set iconBgColor = depotProduct.depot.color('icon_bg') -%}
  12. {%- set iconTextColor = depotProduct.depot.color('icon_text') -%}
  13. <button class="btn btn-link float-right ml-2 mr-2"
  14. {% if depotProduct.depot.translate().info is not null %}
  15. data-toggle="tooltip"
  16. data-html="true"
  17. data-container="body"
  18. title="{{ depotProduct.depot.translate().info|shortCodes|e }}"
  19. {% endif %}
  20. >
  21. <img src="{{ asset('assets/static/cart-' ~ iconBgColor ~ '.svg') }}" alt="Cart icon">
  22. </button>
  23. </div>
  24. </form>