{% extends app.request.get('project_setting').instance_theme_path~':'~app.request.get('project_setting').instance_theme ~':Quote/getProductInfotoQuoteLayout.html.twig' %} {% block quote_product_info_fax_proof %} {% endblock quote_product_info_fax_proof %} {% block quote_product_info_paper_proof %} {% endblock quote_product_info_paper_proof %} {% block quote_product_info_paper_proof_email %} {% endblock quote_product_info_paper_proof_email %} {% block quote_product_info_product_proof %} {% endblock quote_product_info_product_proof %} {% block quote_product_info_shipping_type %} {% endblock quote_product_info_shipping_type %} {% block quote_product_info_shipping_type_split %} {% endblock quote_product_info_shipping_type_split %} {% block quote_product_info_fax_number %} {% endblock quote_product_info_fax_number %} {% block quote_product_info_imprint_area %} {% for key,imprint_method in product_detail.imprint_position_and_methods %} {% include app.request.get('project_setting').instance_theme_path~':'~app.request.get('project_setting').instance_theme~':Quote/quoteProductInfoImprintAreaLayout.html.twig' %} {% endfor %} {%endblock quote_product_info_imprint_area %} {% block quote_product_info_attribute_color %} {% if (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') %}

{{ section_counter }}{#{ attr.label }#}{{ 'products_detail.color_lable'|trans ({},'goldstar') }}

{% set choose_color_section = 0 %} {% set display_main_title = 1 %} {% if color_info.is_trim_color == '1' and color_info_val.trim_color_val|length > 0 %} {% set color_section_title = 'trim_colors'|trans({},'goldstar') %} {% set color_array = color_info_val.trim_color_val %} {% set color_class = 'trim_color_class' %} {% for attr in product_detail.attributes if attr.id == color_info.trim_color_id %} {% include ob_project_instance_theme_path~':'~ob_project_instance_theme~':Quote/colorBoxAttrLayout.html.twig' %} {% endfor %} {% set display_main_title = 0 %} {% endif %} {% if color_info.is_barrel_color == '1' and color_info_val.barrel_color_val|length > 0 %} {% set color_section_title = 'barrel_colors'|trans({},'goldstar') %} {% set color_array = color_info_val.barrel_color_val %} {% set color_class = 'barrel_color_class' %} {% for attr in product_detail.attributes if attr.id == color_info.barrel_color_id %} {% include ob_project_instance_theme_path~':'~ob_project_instance_theme~':Quote/colorBoxAttrLayout.html.twig' %} {% endfor %} {% set display_main_title = 0 %} {% endif %} {% if color_info.is_ink_color == '1' and color_info_val.ink_color_val|length > 0 %} {% set color_section_title = 'ink_colors'|trans({},'goldstar') %} {% set color_array = color_info_val.ink_color_val %} {% set color_class = 'ink_color_class' %} {% for attr in product_detail.attributes if attr.id == color_info.ink_color_id %} {% include ob_project_instance_theme_path~':'~ob_project_instance_theme~':Quote/colorBoxAttrLayout.html.twig' %} {% endfor %} {% set display_main_title = 0 %} {% endif %} {% for attr in product_detail.attributes %} {% if attr.id=="10" %} {% set choose_color_section = 0 %} {% set colorSection = 1 %} {% include app.request.get('project_setting').instance_theme_path~':'~app.request.get('project_setting').instance_theme ~':Quote/quoteProductInfoAttributeSectionColor.html.twig' %} {% set section_counter = section_counter + 1 %} {% endif %} {% endfor %} {% else %} {% set choose_color_section = 1 %} {% for attr in product_detail.attributes %} {% if attr.id=="10" %} {% set colorSection = 1 %} {% include app.request.get('project_setting').instance_theme_path~':'~app.request.get('project_setting').instance_theme ~':Quote/quoteProductInfoAttributeSectionColor.html.twig' %} {% set section_counter = section_counter + 1 %} {% endif %} {% endfor %} {% endif %} {% endblock quote_product_info_attribute_color %}