{% extends '::baseAjaxProductDetail.html.twig' %} {% block ajax_body %} {% set imprint_method_id = '' %} {% block ajax_quantity_box %} {% set price_type_from_api = 'decorative' %} {% if decorative_pricing is defined and decorative_pricing and decorative_pricing == 1 %} {% set price_type_from_api = 'decorative' %} {% elseif blank_pricing is defined and blank_pricing and blank_pricing == 1 %} {% set price_type_from_api = 'blank' %} {% endif %} {% include ob_project_instance_theme_path~':'~ob_project_instance_theme~':ProductDetail/Elements/quantityWisePricePanel.html.twig' with {'show_heading':true , 'price_array_type':price_type_from_api, 'price_type' : price_type ,'price_array':pricing } %}
{% endblock ajax_quantity_box %} {% block ajax_content %} {% if ob_project_configuration_rule.search.product_detail.product_description is defined and ob_project_configuration_rule.search.product_detail.product_description.status == 1 %}

{{ basic_information.description | raw | nl2br }}

{% endif %} {% if ob_project_configuration_rule.search.product_detail.imprint_info is defined and ob_project_configuration_rule.search.product_detail.imprint_info.status == 1 %}
{% set imprint_area_flag = false %} {% set imprint_area = '-' %} {% set imprint_size = '-' %} {% for key,val in feature_details %} {% if val.label == 'Imprint Area' %} {% set temp_data = val.value|split('-', 2) %} {% set imprint_area = temp_data[0] %} {% set imprint_size = (temp_data[1]!='undefined')?temp_data[1]:'-' %} {% endif %} {% endfor %} {% for key,val in feature_details %} {% if val.label =='Repeat setup charge' and val.value !='' %} {% endif %} {% endfor %}
{{ 'goldstar_theme.products_detail.imprint_method'|trans({},'goldstar') }} : {% for methods in imprint_methods %} {% if loop.first %} {{ methods }} {% else %} , {{ methods }} {% endif %} {% endfor %}
{{ 'goldstar_theme.products_detail.imprint_color'|trans({},'goldstar') }} : {% if imprint_information.standard_imprint_color_information is defined and imprint_information.standard_imprint_color_information !="" %} {% for colors in imprint_information.standard_imprint_color_information %} {% if loop.first %} {{ colors }} {% else %} , {{ colors }} {% endif %} {% else %} - {% endfor %} {% else %} - {% endif %}
{{ 'goldstar_theme.products_detail.imprint_size'|trans({},'goldstar') }} : {{ imprint_size }}
{{ 'goldstar_theme.products_detail.imprint_area'|trans({},'goldstar') }} : {{ imprint_area }}
{{ 'goldstar_theme.products_detail.additional_location_charges'|trans({},'goldstar') }} : {% if imprint_information.imprint_method_information !="" %} {% for key,val in imprint_information.imprint_method_information if val != "" %} {% if val.charges != "" and val.charges['ADDITIONAL_LOCATION_CHARGE'] is defined %} {# {{ ob_project_currency_code }}#} {% for key1,val1 in imprint_methods if key1 == key %} {% if loop.first %} {# {{ (val.charges['ADDITIONAL_LOCATION_CHARGE']['charge'] is defined)?val.charges['ADDITIONAL_LOCATION_CHARGE']['charge']:"" ~' '~(val.charges['ADDITIONAL_LOCATION_CHARGE']['code'] is defined)?val.charges['ADDITIONAL_LOCATION_CHARGE']['code']:"" }}#} {% if val.charges['ADDITIONAL_LOCATION_CHARGE']['charge'] is defined %} {% if (val.charges['ADDITIONAL_LOCATION_CHARGE']['charge'] is iterable) %} {% include 'OfficeBrainCustomBundleThemeBundle:'~ob_project_instance_theme~':ProductDetail/Elements/imprintAdditionalQtyWisePricePanel.html.twig' with {'show_heading':true , 'price_type' : price_type ,'price_array':val.charges['ADDITIONAL_LOCATION_CHARGE']['charge'], 'show_print_price_table':false,'show_table':false } %} {% else %} {{ ob_project_currency_code }} {{ (val.charges['ADDITIONAL_LOCATION_CHARGE']['charge'] is defined)?val.charges['ADDITIONAL_LOCATION_CHARGE']['charge']:"" }} {% endif %} {% endif %} {% else %} , {{ val.charges['ADDITIONAL_LOCATION_CHARGE']['charge'] ~' '~val.charges['ADDITIONAL_LOCATION_CHARGE']['code'] }} {% endif %} {% endfor %} {% endif %} {% endfor %} {% endif %}
{{ 'goldstar_theme.products_detail.additional_color_charges'|trans({},'goldstar') }} : {% if imprint_information.imprint_method_information !="" %} {% for key,val in imprint_information.imprint_method_information if val != "" %} {% if val.charges != "" and val.charges['ADDITIONAL_COLOR_CHARGE'] is defined %} {% for key1,val1 in imprint_methods if key1 == key %} {% if loop.first %} {# {{ (val.charges['ADDITIONAL_COLOR_CHARGE']['charge'] is defined)?val.charges['ADDITIONAL_COLOR_CHARGE']['charge']:"" ~' '~(val.charges['ADDITIONAL_COLOR_CHARGE']['code'] is defined)?val.charges['ADDITIONAL_COLOR_CHARGE']['code']:"" }}#} {% if val.charges['ADDITIONAL_COLOR_CHARGE']['charge'] is defined %} {% if (val.charges['ADDITIONAL_COLOR_CHARGE']['charge'] is iterable) %} {% include 'OfficeBrainCustomBundleThemeBundle:'~ob_project_instance_theme~':ProductDetail/Elements/imprintAdditionalQtyWisePricePanel.html.twig' with {'show_heading':true , 'price_type' : price_type ,'price_array':val.charges['ADDITIONAL_COLOR_CHARGE']['charge'], 'show_print_price_table':false,'show_table':false } %} {% else %} {{ ob_project_currency_code }} {{ (val.charges['ADDITIONAL_COLOR_CHARGE']['charge'] is defined)?val.charges['ADDITIONAL_COLOR_CHARGE']['charge']:"" }} {% endif %} {% endif %} {% else %} , {{ val.charges['ADDITIONAL_COLOR_CHARGE']['charge'] ~' '~val.charges['ADDITIONAL_COLOR_CHARGE']['code'] }} {% endif %} {% endfor %} {% endif %} {% endfor %} {% endif %}
{{ 'goldstar_theme.products_detail.full_color_process'|trans({},'goldstar') }} : {% for key,val in imprint_information.imprint_method_information %} {% for key1,val1 in imprint_methods if key1 == key %} {% if val.full_color != "" %} {# {% set full_color_val = val.full_color %}#} {% set full_color_val = "YES" %} {% else %} {% set full_color_val = "NO" %} {% endif %} {% if loop.first %} {% if full_color_val == "YES" %} {{ full_color_val }} ({{ '1-5 spot colors or full color process. PMS color match at no charge' }}) {% else %} {{ full_color_val }} {% endif %} {% else %} , {{ full_color_val }} {% endif %} {% endfor %} {% endfor %}
{{ 'goldstar_theme.products_detail.setup_charge'|trans({},'goldstar') }} : {% if imprint_information.imprint_method_information !="" %} {% for key,val in imprint_information.imprint_method_information if val != "" %} {% if val.charges != "" and val.charges['SETUP_CHARGE'] is defined %} {% for key1,val1 in imprint_methods if key1 == key %} {% if loop.first %} {% if val.charges['SETUP_CHARGE']['charge'] is defined %} {% if (val.charges['SETUP_CHARGE']['charge'] is iterable) %} {% include 'OfficeBrainCustomBundleThemeBundle:'~ob_project_instance_theme~':ProductDetail/Elements/imprintAdditionalQtyWisePricePanel.html.twig' with {'show_heading':true , 'price_type' : price_type ,'price_array':val.charges['ADDITIONAL_LOCATION_CHARGE']['charge'], 'show_print_price_table':false,'show_table':false } %} {% else %} {{ ob_project_currency_code }} {{ (val.charges['SETUP_CHARGE']['charge'] is defined)?val.charges['SETUP_CHARGE']['charge']:"" }} {% endif %} {% endif %} {% else %} , {{ val.charges['SETUP_CHARGE']['charge'] ~' '~val.charges['SETUP_CHARGE']['code'] }} {% endif %} {% endfor %} {% endif %} {% endfor %} {% endif %}
{{ 'goldstar_theme.products_detail.repeat_setup_charge'|trans({},'goldstar') }} : {{ val.value }}
{% endif %} {% if ob_project_configuration_rule.search.product_detail.product_detail is defined and ob_project_configuration_rule.search.product_detail.product_detail.status == 1 %}
{% if category is defined %} {% endif %} {% if attributes is defined and attributes | length > 0 %} {% for attr in attributes %} {% endfor %} {% endif %}
{{ 'brand'| trans({},"app") }} : {{ brand.name }}
{{ 'category'| trans({},"app") }} : {% for cat in category %} {% if loop.first %} {{ cat }} {% else %} ,{{ cat }} {% endif %} {% endfor %}
{{ attr.label }} : {% if attr.values is defined and attr.values | length > 0 %} {% for key, value in attr.values %} {% if loop.first %} {{ value }} {% else %} , {{ value }} {% endif %} {% endfor %} {% endif %}
{{ 'information'| trans({},"app") }} :
    {% for key,val in feature_details %}
  • {{ val.value }}
  • {% if(loop.index != loop.last) %} {% endif %} {% endfor %}
{% endif %}
{% if shipping_information.quantity_in_carton is defined and shipping_information.quantity_in_carton !=""%} {% endif %} {% if shipping_information.carton is defined%} {% endif %} {% if shipping_information.product is defined%} {% endif %} {% set rush_service = 'No' %} {% set rush_time = '' %} {% for key,val in feature_details %} {% if val.label == 'Rush' and val.value !=''%} {% set rush_service = 'Yes' %} {% set rush_time = val.value %} {% endif %} {% endfor %} {% if rush_time !='' %} {% endif %}
{{ 'goldstar_theme.products_detail.production_time'|trans({},'goldstar') }} : {% for key,val in imprint_information.imprint_method_information %} {% for key1,val1 in imprint_methods if key1 == key %} {% if loop.first %} {{ val.production_days ~' '~val.production_unit }} {% else %} , {{ val.production_days ~' '~val.production_unit }} {% endif %} {% endfor %} {% endfor %}
{{ 'goldstar_theme.products_detail.fob'|trans({},'goldstar') }} : {% if shipping_information.free_on_board is defined and shipping_information.free_on_board !=""%} {{ shipping_information.free_on_board }} {% endif %}
{{ 'goldstar_theme.products_detail.quantity_in_carton'|trans({},'goldstar') }} : {{ shipping_information.quantity_in_carton }}
{{ 'goldstar_theme.products_detail.carton'|trans({},'goldstar') }} :
    {% for key,value in shipping_information.carton %} {% if value.param != '' %}
  • {{ key }} = {{ value.param }} {{ value.unit }}
  • {% endif %} {% endfor %}
{{ 'goldstar_theme.products_detail.product'|trans({},'goldstar') }} :
    {% for key,value in shipping_information.product %} {% if value.param != '' %}
  • {{ key }} = {{ value.param }} {{ value.unit }}
  • {% endif %} {% endfor %}
{{ 'goldstar_theme.products_detail.rush_service'|trans({},'goldstar') }} : {{ rush_service }}
{{ 'goldstar_theme.products_detail.rush_time'|trans({},'goldstar') }} : {{ rush_time }}
{% if ob_project_configuration_rule.search.product_detail.review_rating.status == 1 %}
{% endif %} {# {% javascripts '@OfficeBrainProductBundle/Resources/public/js/review.js' %} {% endjavascripts %} #} {% endblock ajax_content %} {% endblock ajax_body %}