{% extends '::baseAjax.html.twig' %} {% block ajax_body %} {% set ColorAttributeAry = product_attributes[config.color_attribute_id] %} {% if product_attributes[config.size_attribute_id] is defined %} {% set SizeAttributeAry = product_attributes[config.size_attribute_id] %} {% else %} {% set SizeAttributeAry = null %} {% endif %} {% set TotalQty = 0 %} {% for qty in Qty.quantity %} {% set TotalQty = TotalQty + qty %} {% endfor %} {% if readOnlyText is not defined %} {% set readOnlyText = '' %} {% if config.shipping_type != 'split' %} {% set readOnlyText = 'readonly=readonly' %} {% endif %} {% endif %} {% if darkGray is not defined %} {% set darkGray = '' %} {% if config.shipping_type != 'split' %} {% set darkGray = 'disabled' %} {% endif %} {% endif %}
{#}
{{ ColorAttributeAry.values[colorId] }}{#} {#} {{ 'request_quote.shipping_type.selected_quantity'|trans }}: {{ TotalQty }}{#} {#}
{#} {% if (color_info is defined) and (color_info.is_trim_color == '1' or color_info.is_ink_color == '1' or color_info.is_barrel_color == '1') and (color_info.is_standard_color == '1') %}
{% else %}
{{ ColorAttributeAry.values[colorId] }}
{% endif %} {#}
{#}
{% if Qty.size is defined and config.allow_size == 1 and Qty.size|length>0 and Qty.size[0] > 0 %} {% for qIndex,qty in Qty.split_quantity %} {% set thisSizeId = Qty.size[qIndex] %} {% if Qty.actual_quantity is defined %} {% set actualQty = Qty.actual_quantity[qIndex] %} {% else %} {% set actualQty = -1 %} {% endif %}
{% block sizeattributeary_loadshippingquantitybox %}{% endblock sizeattributeary_loadshippingquantitybox %} : {#{% block qty_loadshippingquantitybox %}{% endblock qty_loadshippingquantitybox %}#}
{% endfor %} {% else %} {% if Qty.split_quantity is defined %} {% for qIndex,qty in Qty.split_quantity %} {% if Qty.actual_quantity is defined %} {% set actualQty = Qty.actual_quantity[qIndex] %} {% else %} {% set actualQty = -1 %} {% endif %}
{#}{{ 'request_quote.quantity'|trans }} : {#{% block request_quote_qty_loadshippingquantitybox %}{% endblock request_quote_qty_loadshippingquantitybox %}}{#}
-
+
{% endfor %} {% else %} {% for qIndex,qty in Qty.quantity %} {% if Qty.actual_quantity is defined %} {% set actualQty = Qty.actual_quantity[qIndex] %} {% else %} {% set actualQty = -1 %} {% endif %}
{#}{{ 'request_quote.quantity'|trans }} : {#{% block request_quote_qty_loadshippingquantitybox %}{% endblock request_quote_qty_loadshippingquantitybox %}}{#}
-
+
{% endfor %} {% endif %} {% endif %}
{% endblock ajax_body %}