{% extends app.request.get('project_setting').instance_theme_path~':'~app.request.get('project_setting').instance_theme~':Quote/loadShippingQuantityBoxLayout.html.twig' %} {% 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 %} {% block quote_load_shipping_quantity_box %} {% 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.quantity %} {% set thisSizeId = Qty.size[qIndex] %} {% include app.request.get('project_setting').instance_theme_path~':'~app.request.get('project_setting').instance_theme~':Quote/loadShippingQuantityBoxRawLayout.html.twig' %} {% endfor %} {% else %} {% for qIndex,qty in Qty.quantity %} {% include app.request.get('project_setting').instance_theme_path~':'~app.request.get('project_setting').instance_theme~':Quote/loadShippingQuantityTextBoxDefaultRawLayout.html.twig' %} {% endfor %} {% endif %} {% endblock quote_load_shipping_quantity_box %}