{% if (ob_project_user_type == 'guest' and ob_project_transaction_configuration_rule.wish_list.guest_user.status == 1) %} {% set prefix = '' %} {% elseif (ob_project_user_type == 'registered' and ob_project_transaction_configuration_rule.wish_list.registered_user.status == 1) %} {# {% set prefix = 'coded_' %} #} {% set prefix = '' %} {% endif %} {% set is_solr_data = (is_solr_data is defined)?is_solr_data:null %} {% set product_box_bootstrap_class = (product_box_bootstrap_class is defined)?product_box_bootstrap_class:'col-sm-6 col-md-6 col-lg-4 col-xs-12' %} {% set price_unit = (price_unit is defined and price_unit!='') ? price_unit : 'each' %}
{% if ob_project_search_configuration_rule.search_page.list_view.option.product_default_image.status == 1 %}
{% if ob_project_search_configuration_rule.search_page.list_view.option.flag.status == 1 %}
{{ product_flag }}
{% endif %} {% if render_model is defined and render_model == 1 %} {% if app.request.get('project_setting').access_rule.report.option.admin_report.status == 1 %} {% else %} {% endif %} {% if app.session.get('virtualsequenceid') is defined and app.session.get('virtualsequenceid') is not empty and ob_project_virtual_access_rule.status == 1 and ob_project_virtual_access_rule.option.logo_everything.status == 1 %} {% set newUrl = virtual_base_url~'logo-everything-image/'~product_sku~'/'~product_supplier_id~'/'~app.session.get('virtualsequenceid') %} {% elseif product_image_url is defined and product_image_url != "" %} {% set newUrl = product_image_url %} {% else %} {% set newUrl = asset(ob_project_assets_base_url~'images/loading_image.png') %} {% endif %} {#}{{ product_title }}#} {#}{{ product_title }}#} {{ product_title|striptags|truncate(50, true)|raw }} {% else %} {% if app.request.get('project_setting').access_rule.report.option.admin_report.status == 1 %} {% else %} {% endif %} {% if app.session.get('virtualsequenceid') is defined and app.session.get('virtualsequenceid') is not empty and ob_project_virtual_access_rule.status == 1 and ob_project_virtual_access_rule.option.logo_everything.status == 1 %} {% set newUrl = virtual_base_url~'logo-everything-image/'~product_sku~'/'~product_supplier_id~'/'~app.session.get('virtualsequenceid') %} {% elseif product_image_url is defined and product_image_url != "" %} {% set newUrl = product_image_url %} {% else %} {% set newUrl = asset(ob_project_assets_base_url~'images/loading_image.png') %} {% endif %} {{ product_title|striptags|truncate(50, true)|raw }} {% endif %}
{% endif %} {% if render_model is defined and render_model != 1 %} {% if ob_project_search_configuration_rule.search_page.quick_view.status == 1 %} {% endif %} {% endif %}
{% if ob_project_search_configuration_rule.search_page.list_view.option.product_sku.status == 1 %}
{# {{ 'search.item_code'| trans({},"goldstar") }} : {{ product_sku }} #}
{% endif %} {% if ob_project_search_configuration_rule.search_page.list_view.option.rating.status == 1 %}
{{ product_rating|rating|raw }}
{% endif %} {% if (tag_product_box is not defined) or (tag_product_box is defined and tag_product_box == 0) %} {% if custom_tag_style is defined %}
{% for customTag in custom_tag_style %} {% set tagData = customTag|split('|') %} {% if tagData[7] is defined and tagData[7] == 'private-tag' and tagData[5] != 'closeout-deals' and tagData[5] != 'special' %} {% if tagData[3] is defined and (tagData[3] != '' and tagData[3] != 'dummy.png') %} {{ tagData[1] }} {% endif %} {% endif %} {% endfor %}
{% endif %} {% endif %} {% if render_model is defined and render_model != 1 %}
{% if ob_project_search_configuration_rule.search_page.list_view.option.product_short_description.status == 1 %}

{% if product_description is defined %} {{ product_description|striptags|html_entities|slice(0, 150) }} {% endif %}

{# {% set displayFreeFreightText = 'displaynone' %}#} {# {% if dispalyText[product_id] is defined and dispalyText[product_id] == 1 %}#} {# {% set displayFreeFreightText = 'displayblock' %} #} {# {% else %}#} {# {% set displayFreeFreightText = 'displaynone' %}#} {# {% endif %}#} {# {{ 'product_detail_static_message'| trans({},"goldstar")}}#} {% endif %}
{% if ob_project_search_configuration_rule.search_page.list_view.option.product_min_qty.status == 1 %} {% include 'OfficeBrainCustomBundleThemeBundle:IdmeTheme:ProductDetail/Elements/quantityWisePricePanel.html.twig' with {'show_heading' : false, 'regular_variations_charges' : product_regular_variations_charges, 'currency_symbol': product_currency_symbol, 'is_solr_data': is_solr_data, 'price_unit':price_unit, 'price_type': price_type,'prefix':prefix} %} {% endif %} {% if (tag_product_box is not defined) or (tag_product_box is defined and tag_product_box == 0) %} {% if ob_project_search_configuration_rule.search_page.tool_tip.option.tool_tip_variation_image.status == 1%} {# {% if color_ss is defined %}
    {% set totalSwatches = color_ss|length %} {% set runloop = true %} {% set showSwatches = 0 %} {% for indx, color_data in color_ss if runloop %} {% set showSwatches = showSwatches+1 %} {% set color = color_data|split('|') %} {% set colorName = (row.attribute_ss[indx] is defined ) ? row.attribute_ss[indx]|split(':') : '' %}
  • {{ asset(ob_project_assets_base_url~'images/loading_image.png') }}
  • {% if showSwatches == 6 %}
  • {% set runloop = false %} {% set restSwatches = totalSwatches- showSwatches %} {% if restSwatches > 0 %} {{ "+"~restSwatches}} {% endif %}
  • {% endif %} {% endfor %}
{% endif %} #} {% endif %} {% endif %} {% endif %} {% if color_ss is defined %}
{% set totalSwatches = color_ss|length %} {% set runloop = true %} {% set showSwatches = 0 %} {% for indx, color_data in color_ss if runloop %} {% set showSwatches = showSwatches+1 %} {% set color = color_data|split('|') %} {% set colorName = (row.attribute_ss[indx] is defined ) ? row.attribute_ss[indx]|split(':') : '' %}
{% if showSwatches == 6 %}
{% set runloop = false %} {% set restSwatches = totalSwatches- showSwatches %} {% if restSwatches > 0 %} {{ "+"~restSwatches}} {% endif %}
{% endif %} {% endfor %} {# {{% include 'OfficeBrainCustomBundleThemeBundle:IdmeTheme:ProductDetail/Elements/colorPanel.html.twig' with {'show_heading' : true,'regular_variations_charges' : product_regular_variations_charges, 'currency_symbol': product_currency_symbol, 'is_solr_data': is_solr_data,'color_attributes' : color_attributes,'color_mapping' : color_mapping} %} #}
{% endif %}
{% if call_for_price is defined and call_for_price=='yes' %} {{ 'call_for_price'| trans({},"app") }} {% else %} {% if ob_project_search_configuration_rule.search_page.list_view.option.product_currency.status == 1 %} {{product_currency|displayCurrencySymbol}} {% endif %} {% if ob_project_search_configuration_rule.search_page.list_view.option.product_min_price.status == 1 %} {{ product_min_price|currency }} {% if prefix == "" and product_min_price_code is defined and product_min_price_code != '' %} ({{product_min_price_code }}) {% endif %} {% if prefix == 'coded_' %} {{ 'goldstar_theme.products_detail.net'|trans({}, 'goldstar') }} {% endif %} {% endif %} {#% if ob_project_search_configuration_rule.search_page.list_view.option.product_min_qty.status == 1 %} {{ 'search.qty'| trans({},"app") }}. {{ product_minimum_quantity }} {% endif %#} {% endif %} {#12#}
{% if render_model is defined and render_model == 1 %}
{% else %}
{% endif %}
{{ (delete_product_row is defined) ? delete_product_row|raw : ''}}
{% if ob_project_search_configuration_rule.search_page.tool_tip.status == 1 %}
{% if ob_project_search_configuration_rule.search_page.tool_tip.option.tool_tip_title.status == 1 %}

{{ product_title|raw }}

{% endif %}
{% if ob_project_search_configuration_rule.search_page.tool_tip.option.tool_tip_sku.status == 1 %}
{{ 'search.item_code'| trans({},"goldstar") }} : {{ product_sku }}
{% endif %} {% if ob_project_search_configuration_rule.search_page.tool_tip.option.tool_tip_rating.status == 1 %}
{{ 'reviews'|trans({},"goldstar") }}
{{ product_rating|rating|raw }}
{% endif %}
{% if custom_tag_style is defined %}
{% for customTag in custom_tag_style %} {% set tagData = customTag|split('|') %} {% if tagData[7] is defined and tagData[7] == 'private-tag' and tagData[5] != 'closeout-deals' and tagData[5] != 'special' %} {% if tagData[3] is defined and (tagData[3] != '' and tagData[3] != 'dummy.png') %} {{ tagData[1] }} {% endif %} {% endif %} {% endfor %}
{% endif %} {% if ob_project_search_configuration_rule.search_page.tool_tip.option.tool_tip_description.status == 1 %}

{{ product_description | raw | nl2br }}

{# {% set displayFreeFreightText = 'displaynone' %}#} {# {% if dispalyText[product_id] is defined and dispalyText[product_id] == 1 %}#} {# {% set displayFreeFreightText = 'displayblock' %} #} {# {% else %}#} {# {% set displayFreeFreightText = 'displaynone' %}#} {# {% endif %}#} {# {{ 'product_detail_static_message'| trans({},"goldstar")}}#}
{% endif %} {% if ob_project_search_configuration_rule.search_page.tool_tip.option.tool_tip_price.status == 1 %}

{{ 'quantity_price'| trans({},"goldstar") }}

{% include 'OfficeBrainCustomBundleThemeBundle:IdmeTheme:ProductDetail/Elements/quantityWisePricePanel.html.twig' with {'show_table' : true, 'regular_variations_charges' : product_regular_variations_charges, 'currency_symbol': product_currency_symbol, 'is_solr_data': is_solr_data, 'price_type': price_type} %}
{% endif %}
*Prices currently shown in USD.
{% if ob_project_search_configuration_rule.search_page.tool_tip.option.tool_tip_variation_image.status == 1 %} {% include 'OfficeBrainCustomBundleThemeBundle:IdmeTheme:ProductDetail/Elements/colorPanel.html.twig' with {'show_heading' : true, 'regular_variations_charges' : product_regular_variations_charges, 'currency_symbol': product_currency_symbol, 'is_solr_data': is_solr_data,'color_attributes' : color_attributes} %}
{% endif %}
{% endif %}