{{product_detail.basic_information.description| raw | nl2br }}
{# Extract the product properties as variables started #}
{#
{% set price_type = product_detail.price_type %}
{% if product_detail.variation_pricing_for_other_country is defined %}
{% set variation_pricing_for_other_country = product_detail.variation_pricing_for_other_country %}
{% endif %}
{% if product_detail.pricing_for_other_country is defined %}
{% set pricing_for_other_country = product_detail.pricing_for_other_country %}
{% endif %}
{% if product_detail.variation_pricing_country_available is defined %}
{% set variation_pricing_country_available = product_detail.variation_pricing_country_available %}
{% endif %}
{% if product_detail.country_available is defined %}
{% set country_available = product_detail.country_available %}
{% endif %}
{% if product_detail.product_id is defined %}
{% set product_id = product_detail.product_id %}
{% endif %}
{% if ob_project_transaction_configuration_rule.shopping_cart.start_from_imprint_method.status == 0 %}
{% set price_type_from_api = 'decorative' %}
{% if product_detail.decorative_pricing is defined and product_detail.decorative_pricing and product_detail.decorative_pricing == 1 %}
{% set price_type_from_api = 'decorative' %}
{% elseif product_detail.blank_pricing is defined and product_detail.blank_pricing and product_detail.blank_pricing == 1 %}
{% set price_type_from_api = 'blank' %}
{% endif %}
{% endif %}
{{ include('OfficeBrainCustomBundleThemeBundle:IdmeTheme:ProductDetail/Elements/productPriceGrid.html.twig') }}
#}
{# Extract the product properties as variables ended #}
{% set imprint_method_id = '' %}
{% if ob_project_transaction_configuration_rule.shopping_cart.start_from_imprint_method.status == 1 %}
{% if product_detail.imprint_methods is defined and product_detail.imprint_methods|length>0 %}
{{"cart.which_imprint_method"|trans }}
{% for id,method in product_detail.imprint_methods %}
{% set checked_method = '' %}
{% for method_id,possion in imprint_method_position %}
{% if id == method_id %}
{% set imprint_method_id = id %}
{% set checked_method = 'checked=checked' %}
{% endif %}
{% endfor %}
{% if id!=product_detail.blank_imprint_method_id %}
{% set extra_color_selected = 1 %}
{% set choose_color_section = 0 %}
{% set display_main_title = 1 %}
{% if color_info.is_trim_color == '1' and color_info_val.trim_color_val is defined 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~':Order/colorBoxAttrEditLayout.html.twig' %}
{% endfor %}
{% set display_main_title = 0 %}
{% endif %}
{% if color_info.is_barrel_color == '1' and color_info_val.barrel_color_val is defined 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~':Order/colorBoxAttrEditLayout.html.twig' %}
{% endfor %}
{% set display_main_title = 0 %}
{% endif %}
{% if color_info.is_ink_color == '1' and color_info_val.ink_color_val is defined 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~':Order/colorBoxAttrEditLayout.html.twig' %}
{% endfor %}
{% set display_main_title = 0 %}
{% endif %}
{% for attr in product_detail.attributes %}
{% if attr.id=="10" %}
{% set colorSection = 1 %}
{% block cart_product_details_attributes_other_color_block %}{% endblock cart_product_details_attributes_other_color_block %}
{% endif %}
{% endfor %}
{% set section_counter = section_counter + 1 %}
{% else %}
{% for attr in product_detail.attributes %}
{% if attr.id=="10" %}
{% set colorSection = 1 %}
{% block cart_product_details_attributes_block %}{% endblock cart_product_details_attributes_block %}
{% endif %}
{% endfor %}
{% set section_counter = section_counter + 1 %}
{% endif %}
{% endif %}
{% set unitPrice = 0 %}
{% set maxUnitPrice = product_detail.unit_price %}
{% if product_detail.pricing[order_type] | length > 0 %}
{% for price in product_detail.pricing[order_type] %}
{% if request_quote_session.total_qty >= price.from and request_quote_session.total_qty <= price.to %}
{% set unitPrice = price.rate %}
{% endif %}
{% endfor %}
{% endif %}
{% if colorSection == 1 %}
2. Select Quantity (See how much you can save!)
{% for key,color_detail in request_quote_session.color %}
{% if color_detail.size is defined %}
{% block cart_product_color_wise_qty_with_heading_block %}{% endblock cart_product_color_wise_qty_with_heading_block %}
{% else %}
{% for attribute_val in product_detail.attributes %}
{% if attribute_val.id == request_quote_session.color_attr_id %}
{% for k,attribute in attribute_val.values %}
{% if(k == key[3:]) %}
{% block cart_product_color_wise_qty_block %}{% endblock cart_product_color_wise_qty_block %}
{% endif %}
{% endfor %}
{% endif %}
{% endfor %}
{% endif %}
{% endfor %}
{% if ob_project_transaction_configuration_rule.shopping_cart.start_from_imprint_method.status == 0 %}
{% set price_type_from_api = 'decorative' %}
{% if product_detail.decorative_pricing is defined and product_detail.decorative_pricing and product_detail.decorative_pricing == 1 %}
{% set price_type_from_api = 'decorative' %}
{% elseif product_detail.blank_pricing is defined and product_detail.blank_pricing and
product_detail.blank_pricing == 1 %}
{% set price_type_from_api = 'blank' %}
{% endif %}
{% set price_unit = (product_detail.price_unit is defined and product_detail.price_unit!='') ? product_detail.price_unit : '' %}
{% include ob_project_instance_theme_path~':'~ob_project_instance_theme~':ProductDetail/Elements/quantityWisePricePanel.html.twig' with {'show_heading':false , 'price_array_type':order_type, 'price_type' : product_detail.price_type,'price_array':product_detail.pricing, 'price_unit': price_unit, 'show_print_price_table': false} %}
{% else %}
{% if "print_position" not in allowed_section %}
{% if product_detail.blank_imprint_method_id is defined %}
{{ render(controller('OfficeBrainOrderBundle:Order:getQuantityPriceAsImprintMethod', { 'product_id':
product_detail.product_id, 'imprint_method_id':product_detail.blank_imprint_method_id })) }}
{% endif %}
{% else %}
{{ render(controller('OfficeBrainOrderBundle:Order:getQuantityPriceAsImprintMethod', { 'product_id':
product_detail.product_id, 'imprint_method_id':imprint_method_id })) }}
{% endif %}
{% endif %}
{{request_quote_session.total_qty}} x ${{unitPrice}} ea:
{% set total = request_quote_session.total_qty*unitPrice %}
{% set maxtotal = request_quote_session.total_qty*maxUnitPrice %}
${{total}}
Total
${{total}}
{% set saving = maxtotal - total %}
{% if saving > 0 %}
Save $ {{saving}}
with I.D. Me Promotions!
{% else %}
Save $ 0.00
with I.D. Me Promotions!
{% endif %}
{% set section_counter = section_counter + 1 %}
Select Imprint Options:
Imprint locations and colors
< Edit Product Color and Quantty
{% if product_detail.imprint_position_and_methods|length>0 %}
{% if ob_project_transaction_configuration_rule.shopping_cart.product_detail_popup.option.fax_proof.status==1 or ob_project_transaction_configuration_rule.shopping_cart.product_detail_popup.option.paper_proof.status==1 or ob_project_transaction_configuration_rule.shopping_cart.product_detail_popup.option.product_proof.status==1 or (request_quote_session.imprint is defined and request_quote_session.imprint!='null') %}
Where would you like your imprint?(Maximum # imprint locations: {{product_detail.imprint_position_and_methods|length}})
{# {% if request_quote_session.imprint is defined and request_quote_session.imprint|length > 0 %}#}
{% block cart_product_imprint_method_block %}
{% set divId="" %}
{% if ob_project_transaction_configuration_rule.shopping_cart.start_from_imprint_method.status == 1 %}
{% set divId="id=js_show_location_by_method" %}
{% endif %}
{% if divId != '' %}
{% endif %}
{% for key,imprint_method in product_detail.imprint_position_and_methods %}
{% if imprint_method.position_area is defined and imprint_method.position_area|length>0 and ob_project_transaction_configuration_rule.shopping_cart.start_from_imprint_method.status==1 %}
{% for key,imprint_area in imprint_method.position_area %}
{% if imprint_method.id==imprint_method_id %}
{% set checked_position = '' %}
{% for method_id,possion in imprint_method_position %}
{% if key == possion %}
{% set checked_position = 'checked=checked' %}
{% endif %}
{% endfor %}
{% endif %}
{% endfor %}
{% else %}
{% set checkedIm=0 %}
{% if request_quote_session.imprint is defined and request_quote_session.imprint|length > 0 %}
{% for k,imprint_info in request_quote_session.imprint %}
{# {% include app.request.get('project_setting').instance_theme_path~':'~ app.request.get('project_setting').instance_theme ~':Order/cartProductImprintMethodRawLayout.html.twig' %}#}
{% if imprint_method.id == k[3:] %}
{% set checkedIm=1 %}
{% endif %}
{% endfor %}
{% endif %}
{% if checkedIm!=1 %}
0) ? 'style="display:block"' : '' }}>
{% if request_quote_session.imprint is defined and request_quote_session.imprint|length > 0 %}
{% block cart_product_imprint_location_block %}
{% for key,imprint_method in product_detail.imprint_position_and_methods %}
{% for k,imprint_info in request_quote_session.imprint %}
{% if ob_project_transaction_configuration_rule.shopping_cart.start_from_imprint_method.status==0 %}
{% if imprint_method.id == k[3:] %}
{% render url('office_brain_orderbundle_order_editimprintlocation', { 'product_id': product_detail.product_id,'imprint_location_id' : imprint_method.id, '_locale' : app.request.locale, 'imprint_info' : imprint_info }) %}
{% endif %}
{% else %}
{% if imprint_method.id == imprint_info.imprint_method_id %}
{% for position_id,pos_info in imprint_method.position_area %}
{% if position_id == k[3:] %}
{% render url('office_brain_orderbundle_order_editimprintlocation_start_imprint_method', { 'product_id': product_detail.product_id,'imprint_location_id' : position_id, '_locale' : app.request.locale, 'imprint_info' : imprint_info, 'imprint_method_id' : imprint_method.id }) %}
{% endif %}
{% endfor %}
{% endif %}
{% endif %}
{% endfor %}
{% endfor %}
{% endblock cart_product_imprint_location_block %}
{% endif %}
{% if ob_project_transaction_configuration_rule.shopping_cart.product_detail_popup.option.fax_proof.status==1 or ob_project_transaction_configuration_rule.shopping_cart.product_detail_popup.option.paper_proof.status==1 or ob_project_transaction_configuration_rule.shopping_cart.product_detail_popup.option.product_proof.status==1 %}
{% if ob_project_transaction_configuration_rule.shopping_cart.product_detail_popup.option.fax_proof.status==1 %}
{% if ob_project_transaction_configuration_rule.shopping_cart.product_detail_popup.option.shipping.status == 1 and ob_project_transaction_configuration_rule.shopping_cart.product_detail_popup.option.shipping.option.standard_shipping.status == 1 %}
{% if ob_project_transaction_configuration_rule.shopping_cart.preferred_distributor.status==1 %}
{% if ob_project_setting.user_id>0 %}
{% if ob_project_transaction_configuration_rule.shopping_cart.preferred_distributor.option.show==1 and ob_project_user_setting.user_data.userType in ob_project_transaction_configuration_rule.shopping_cart.preferred_distributor.option.user_type %}
{% set locatedDistId = ob_project_user_setting.user_data.locatedDistributorId %}
{% set locatedDistState = (request_quote_session.pref_state is defined) ? request_quote_session.pref_state : '' %}
{% set locatedDistEmail = NULL %}
{% for dist in all_distributor %}
{% if locatedDistId==dist.id %}
{% set locatedDistEmail = dist.firstName %}
{% endif %}
{% endfor %}
{% set section_counter = section_counter + 1 %}
Questions About Your Artwork? Get your promos fast and easy!
Is your artwork ready?
You can upload your artwork file(s) at checkout.
Is your artwork NOT ready?
Don’t worry! You will have the option to select "contact me later for my artwork" at checkout.
Can I see a mockup before production ?
To help you get what you expect, we will email a digital mockup to you after checkout. Your credit card will not be charged until we receive your approval of the mockup.
{% if size_allow == 1 and sizeArray|length>0 and colorArray|length>0 %}
{% endif %}
{% javascripts
'@OfficeBrainPageBundle/Resources/public/js/bundle/owl_carousel_slider.js'
%}
{% endjavascripts %}
{% endblock modal_body %}