How to split short/full descripton Halothemes

Does anyone nows what’s the string that i have to put in description box to split SHORT/FULL description?

There is even a check box,but i dont know what the code means

Hi @jaime13

In order to split the text into multiple lines, you can try some code that looks like this…

{% assign paragraphs = settings.intro | newline_to_br | split: '
' %}
{% for paragraph in paragraphs %}

{{ paragraph }}

{% endfor %}

And if you’re looking to trim the description so that it doesn’t show the whole thing at once… you can try something like this…

{{ description | slice: 0, 100 }}

Replace “100” with the max character count that you wish.

Hope it helps!

Thanks.. but the thing is i think theres already some code that allows to split short and fulldescription, i just dont know how to use it

i think i mas add something in html in the description box

this part!!!

{% if product.description contains ‘[countdown]’ %}

This seems like it’s being handled by an app.

Are you sure that this is not being affected by the remains of code left by an app that you currently have or previously installed?

Also, can you please share a screenshot of the actual textbox where you have entered the product description? And how you are separating the next line breaks.

I think this ‘[countdown]’ is unnecessary. Unless you have a countdown timer app which needs that code.

Maybe try removing this bit completely and even the “split” part to see if it works.

Like this:

{% assign des = product.description %}

Also, please share the name of the file where this code exists. It will be in the format of “product.liquid” for example.

{% liquid
assign enable_compare_color = settings.enable_compare_color
assign enable_hot_stock = section.settings.enable_hot_stock

for option in product.options_with_values
assign option_color_swatch = settings.option_color_swatch | downcase
assign option_name = option.name | downcase
if option_color_swatch contains option_name
if option.values.size > 1
assign show_compare_color = true
endif
endif
endfor
%}

{%- assign current_variant = product.selected_or_first_available_variant -%}
{% assign variantCount = product.variants | size %}

{% for media in product.media %} {% case media.media_type %} {% when 'image' %} {% when 'external_video' %}
{{ media | external_video_tag }}
{% when 'video' %}
{{ media | video_tag: controls: true }}
{% when 'model' %}
{{ media | model_viewer_tag: image_size: '500x', reveal: 'interaction', toggleable: true, data-model-id: media.id, auto-rotate: true, id: 'paused-change-demo' }}

{% else %}

{{ media | media_tag }}
{% endcase %} {% endfor %}

{% if enable_compare_color and show_compare_color %}

{% endif %}

{% render ‘product-label’, product: product, badge_detail: true %}

{% for media in product.media %} {% case media.media_type %} {% when 'image' %} {% when 'external_video' %}
{{ media.alt }}
{% when 'video' %}
' | first }}" />
{% when 'model' %}
{{ media | model_viewer_tag: image_size: image_size, reveal: 'interaction', toggleable: true, data-model-id: media.id, auto-rotate: true }}
{% else %}
{{ media | media_tag }}
{% endcase %} {% endfor %}
{% if settings.enable_ask_an_expert %}
{% render 'multilang' with settings.ask_an_expert %}
{% endif %}

{% render 'multilang' with product.title %}

{% if section.settings.display_product_reviews or section.settings.show_sold_in %}

{% if section.settings.display_product_reviews %} {% endif %}

{% if section.settings.show_sold_in %}

2 {% render 'multilang' with section.settings.item_prds %} 8 {% render 'multilang' with section.settings.item_hours %}
{% endif %}
{% endif %}

{% if section.settings.display_vendor or section.settings.display_availability or section.settings.display_product_sku or section.settings.display_product_type %}

{% if section.settings.display_vendor %}
{% if section.settings.text_vendor != blank %} {% if settings.enable_multilang %} {{ section.settings.text_vendor | split: '|' | first }} {{ section.settings.text_vendor | split: '|' | last }} {% else %} {{ section.settings.text_vendor | split: '|' | first }} {% endif %} {% endif %} {{ product.vendor | link_to_vendor }}
{% endif %}

{% if section.settings.display_product_sku %}

{% if section.settings.text_product_sku != blank %} {% if settings.enable_multilang %} {{ section.settings.text_product_sku | split: '|' | first }} {{ section.settings.text_product_sku | split: '|' | last }} {% else %} {{ section.settings.text_product_sku | split: '|' | first }} {% endif %} {% endif %} {{ current_variant.sku }}
{% endif %}

{% if section.settings.display_availability %}

{% if section.settings.text_availability != blank %} {{ section.settings.text_availability | split: '|' | first }} {% endif %} {% if current_variant.inventory_management %} {% assign first_inventory = current_variant.inventory_quantity %} {% if first_inventory > 0 %} {{first_inventory}} {{ 'products.product.in_stock' | t }} {% else %} {{ 'products.product.out_of_stock' | t }} {% endif %} {% else %} {{ 'products.product.many_in_stock' | t }} {% endif %}
{% endif %}

{% if section.settings.display_product_type %}

{% if section.settings.text_product_type != blank %} {% if settings.enable_multilang %} {{ section.settings.text_product_type | split: '|' | first }} {{ section.settings.text_product_type | split: '|' | last }} {% else %} {{ section.settings.text_product_type | split: '|' | first }} {% endif %} {% endif %} {% if settings.enable_multilang %} {{ product.type | split: '|' | first }} {{ product.type| split: '|' | last }} {% else %} {{ product.type | split: '|' | first }} {% endif %}
{% endif %}
{% endif %}

{% if section.settings.enable_countdown %}

{% if section.settings.option_countdown == ‘all_product’ %}
{% assign count_down_final = section.settings.count_down_timer %}
{% if section.settings.countdown == ‘countdown_1’ %}

{% render 'multilang' with section.settings.text_countdown %}

{% else %}
{% render ‘countdown-progressbar’, count_down_final: count_down_final %}
{% endif %}

{% else %}

{% if product.metafields.c_f[‘countdown’] %}
{% capture count_down_final %}{{ product.metafields.c_f[‘countdown’] }}{% endcapture %}

{% if section.settings.countdown == ‘countdown_1’ %}

{% render 'multilang' with section.settings.text_countdown %}
{% else %} {% render 'countdown-progressbar', count_down_final: count_down_final %} {% endif %}

{% endif %}
{% endif %}

{% if section.settings.custombox_text != blank %}

{% if section.settings.custombox_text contains '[lang2]' %} {{ section.settings.custombox_text | split: '[lang2]' | first }} {{ section.settings.custombox_text| split: '[lang2]' | last }} {% else %} {{ section.settings.custombox_text | split: '[lang2]' | first }} {% endif %}
{% endif %}

{% endif %}

{% if product.compare_at_price > product.price %} {{ product.compare_at_price_max | money }} {{ product.price | money }} {% else %} {{ product.price | money }} {% endif %}

{% if product.description contains ‘[countdown]’ %}
{% assign des = product.description | split:‘[/countdown]’ | last %}
{% if des contains ‘[custom tab]’%}
{% assign des = des | split:‘[custom tab]’ | first | split:‘<iframe’ | first %}
{% endif %}
{% else %}
{% assign des = product.description %}
{% if des contains ‘[custom tab]’%}
{% assign des = des | split:‘[custom tab]’ | first | split:‘<iframe’ | first %}
{% endif %}
{% endif %}

{% if section.settings.show_desc == ‘short’ %}

{% if product.metafields.c_f[‘Short Description’] %}
{% assign des = product.metafields.c_f[‘Short Description’] %}
{% assign word_numbeer = 100000000000000 %}

{% if settings.enable_multilang and des contains ‘[lang2]’ %}

{{ des | split: '[lang2]' | first | replace: ' ', ' ' | truncatewords: word_numbeer }}
{{ des | split: '[lang2]' | last | replace: ' ', ' ' | truncatewords: word_numbeer }}
{% else %}
{{ des | split: '[lang2]' | first | replace: ' ', ' ' | truncatewords: word_numbeer }}
{% endif %}

{% else %}
{% assign word_numbeer = 50 %}

{% if settings.enable_multilang and des contains ‘[lang2]’ %}

{{ des | split: '[lang2]' | first | strip_html | replace: ' ', ' ' | truncatewords: word_numbeer }}
{{ des | split: '[lang2]' | last | strip_html | replace: ' ', ' ' | truncatewords: word_numbeer }}
{% else %}
{{ des | split: '[lang2]' | first | strip_html | replace: ' ', ' ' | truncatewords: word_numbeer }}
{% endif %}

{% endif %}

{% elsif section.settings.show_desc == ‘full’ %}
{% if settings.enable_multilang and des contains ‘[lang2]’ %}

{{ des | split: '[lang2]' | first }}
{{ des | split: '[lang2]' | last }}
{% else %}
{{ des | split: '[lang2]' | first }}
{% endif %} {% endif %}

{% form ‘product’, product, id: “add-to-cart-form”, novalidate: ‘novalidate’ %}

{% if settings.display_size_chart %}

{% render ‘multilang’ with settings.size_guide_text %}

{% endif %}

{% if product.available %}

{% if variantCount > 0 and product.variants[0].title != 'Default Title' %}

{% if settings.use_color_swatch %}
{% for option in product.options %}
{% render ‘swatch’ with option %}
{% endfor %}
{% endif %}

{% else %}

{% endif %}

{% if enable_hot_stock and product.variants.size > 0 and product.variants.first.title != ‘Default Title’ %}
{% assign max_stock = section.settings.number_stock | plus: 0 %}

{% if current_variant.inventory_management %} {% if current_variant.inventory_quantity > 0 and current_variant.inventory_quantity <= max_stock %} {{ "products.product.stock_hot" | t | replace: '[inventory]', current_variant.inventory_quantity }} {% endif %} {% endif %}
{% endif %}
{% endif %}

{% if current_variant.available and section.settings.display_qty %}

{{ 'cart.label.quantity' | t }}:

{% else %}

{% endif %}

{% if section.settings.display_subtotal and current_variant.available and section.settings.display_qty %}

{{ 'cart.general.subtotal' | t }}: {{ current_variant.price | money }}
{% endif %}

{% if section.settings.dpl_grouped_product and section.settings.grouped_product_style == ‘style_1’ %}
{% render ‘grouped-block’ %}
{% endif %}

{% if current_variant.available %} {% else %} {% endif %}

{% render ‘wishlist-product’ %}

{% if section.settings.display_product_detail_share %}
{% render ‘icon-share’ %}
{% endif %}

{{ 'products.product.copy_link' | t }}

{% render 'icon-close' %}
{% if section.settings.display_product_detail_share %} {% render 'share' with product %} {% endif %}
{% endform %}

{% render ‘nofify-sold-out’, product: product, variantCount: variantCount, current_variant: current_variant %}

{% if section.settings.dpl_customers_view %}

{{ section.settings.number_view | split: ',' | slice: 0 }} {% render 'multilang' with section.settings.title_view %}
{% endif %}

{% if section.settings.display_product_detail_tag %}

{% endif %}

{% if section.settings.display_trust_img and settings.img_trust != blank %}

{% endif %}

{% if section.settings.show_tab == ‘vertical’ %}
{% render ‘tab-vertical’ %}
{% endif %}

{% comment %}Start automatically added Judge.me widget{% endcomment %}
{% render ‘judgeme_widgets’, widget_type: ‘judgeme_review_widget’, concierge_install: true, product: product %}
{% comment %}End automatically added Judge.me widget{% endcomment %}

{% if section.settings.dpl_grouped_product and section.settings.grouped_product_style == ‘style_2’ %}
{% render ‘grouped-block-2’ %}
{% endif %}

{% if section.settings.show_tab == ‘horizontal’ or section.settings.show_tab == ‘horizontal_center’ or section.settings.display_related_products %}

{% if section.settings.show_tab == 'horizontal' or section.settings.show_tab == 'horizontal_center' %} {% render 'tab-horizontal' %} {% endif %}

{% comment %}{% if section.settings.display_related_products %}
{% render ‘related-products’ %}
{% endif %}{% endcomment %}

{% endif %}

{{ ‘option_selection.js’ | shopify_asset_url | script_tag }}

{% unless product == empty %}

{% if section.settings.countdown == ‘countdown_2’ %}

.product-shop .countdown-progressbar #progressbar { background-color: {{ section.settings.progressbar_color }}; } .product-shop .countdown-progressbar #progressbar span { background-color: {{ section.settings.progressbar_active_color }}; }

{% endif %}
{% endunless %}

{% schema %}
{
“name”: “Product Grouped”,
“class”: “col-12”,
“settings”: [
{
“type”: “header”,
“content”: “Product Moreview”
},
{
“type”: “radio”,
“id”: “style_moreview”,
“label”: “Product Morevie:”,
“options”: [
{
“value”: “horizontal”,
“label”: “Horizontal Moreview”
},
{
“value”: “left_vertical”,
“label”: “Left Vertical Moreview”
},
{
“value”: “right_vertical”,
“label”: “Right Vertical Moreview”
}
],
“default”: “horizontal”
},
{
“type”: “header”,
“content”: “Zoom Image”
},
{
“type”: “checkbox”,
“id”: “enable_zoom_image”,
“label”: “Enable?”,
“default”: true
},
{
“type”: “header”,
“content”: “Hot Stock”
},
{
“type”: “checkbox”,
“id”: “enable_hot_stock”,
“label”: “Enable hot stock”,
“default”: true
},
{
“type”: “text”,
“id”: “number_stock”,
“label”: “The maximum level of inventory”,
“default”: “3”
},
{
“type” : “header”,
“content” : “The number of products has been sold”
},
{
“type” : “checkbox”,
“id” : “show_sold_in”,
“label” : “Enabled”,
“default” : true
},
{
“type” : “textarea”,
“id” : “item_prd”,
“label” : “The number of products”,
“default” : “3,5,6,7,8,10,12,15”
},
{
“type” : “text”,
“id” : “item_prds”,
“label” : “Text Sold in”,
“default” : “sold in last”
},
{
“type” : “textarea”,
“id” : “hours_prs”,
“label” : “Hours”,
“default” : “10,15,16,17,18,20,25,35”
},
{
“type” : “text”,
“id” : “item_hours”,
“label” : “Text Hours”,
“default” : “hours”
},

{
“type”: “header”,
“content”: “Product Infor”
},
{
“type”: “checkbox”,
“id”: “display_vendor”,
“label”: “Display Vendor?”,
“default”: true
},
{
“type”: “text”,
“id”: “text_vendor”,
“label”: “Text Vendor”,
“default”: “Vendor:”
},
{
“type”: “checkbox”,
“id”: “display_product_sku”,
“label”: “Display Product SKU?”,
“default”: true
},
{
“type”: “text”,
“id”: “text_product_sku”,
“label”: “Text Product SKU”,
“default”: “SKU:”
},
{
“type”: “checkbox”,
“id”: “display_availability”,
“label”: “Display Availability?”,
“default”: true
},
{
“type”: “text”,
“id”: “text_availability”,
“label”: “Text Availability”,
“default”: “Availability:”
},

{
“type”: “checkbox”,
“id”: “display_product_type”,
“label”: “Display Product Type?”,
“default”: true
},
{
“type”: “text”,
“id”: “text_product_type”,
“label”: “Text Product Type”,
“default”: “Product Type:”
},
{
“type”: “header”,
“content”: “Countdown”
},
{
“type”: “checkbox”,
“id”: “enable_countdown”,
“label”: “Enable Countdown”,
“default”: true
},
{
“type”: “select”,
“id”: “countdown”,
“label”: “Countdown Style”,
“options”: [
{
“value”: “countdown_1”,
“label”: “Countdown Style 1”
},
{
“value”: “countdown_2”,
“label”: “Countdown Style 2”
}
],
“default”: “countdown_1”,
“info”: “Default: Countdown Layout 1”
},
{
“type”: “text”,
“id”: “text_countdown”,
“label”: “Text Countdown”,
“default”: “Limited-Time Offers, End in:”
},
{
“type”: “radio”,
“id”: “option_countdown”,
“label”: “Style”,
“options”: [
{
“value”: “all_product”,
“label”: “Use for all products”
},
{
“value”: “different_product”,
“label”: “Use for different product”
}
],
“default”: “all_product”
},
{
“type”: “text”,
“id”: “count_down_timer”,
“label”: “Deal Time”,
“default”: “2020-12-25 22:11:00”
},
{
“type”: “textarea”,
“id”: “custombox_text”,
“label”: “Custom Box content (HTML)”
},
{
“type”: “text”,
“id”: “progressbar_1”,
“label”: “Progressbar 1”,
“default”: "Please hurry, only ",
“info”: “Use for Countdown Style 2”
},
{
“type”: “text”,
“id”: “progressbar_2”,
“label”: “Progressbar 2”,
“default”: “left in stock”,
“info”: “Use for Countdown Style 2”
},
{
“type”: “text”,
“id”: “total_items”,
“label”: “Total Items”,
“default”: “100”,
“info”: “Use for Countdown Style 2”
},
{
“type”: “text”,
“id”: “min_items_left”,
“label”: “Min Items Left”,
“default”: “8”,
“info”: “Use for Countdown Style 2”
},
{
“type”: “text”,
“id”: “max_items_left”,
“label”: “Max Items Left”,
“default”: “26”,
“info”: “Use for Countdown Style 2”
},
{
“type”: “color”,
“id”: “progressbar_color”,
“label”: “Progressbar Color”,
“default”: “#f5f5f5”,
“info”: “Use for Countdown style 2”
},
{
“type”: “color”,
“id”: “progressbar_active_color”,
“label”: “Progressbar Active Color”,
“default”: “#69c69c”,
“info”: “Use for Countdown style 2”
},
{
“type” : “header”,
“content” : “Customers viewing”
},
{
“type” : “checkbox”,
“id” : “dpl_customers_view”,
“label” : “Display Customers viewing”,
“default” : true
},
{
“type” : “text”,
“id” : “title_view”,
“label” : “Title”,
“default” : “customers are viewing this product”
},
{
“type” : “textarea”,
“id” : “number_view”,
“label” : “Number of customers viewing”,
“default” : “283, 100, 59, 11, 14, 185, 193, 165, 50, 38, 99, 112, 46, 10, 125, 200, 250, 18”,
“info” : “Please enter the number”
},
{
“type”: “header”,
“content”: “Short description”
},
{
“type”: “radio”,
“id”: “show_desc”,
“label”: “Description”,
“options”: [
{
“value”: “no-show”,
“label”: “No”
},
{
“value”: “short”,
“label”: “Yes”
},
{
“value”: “full”,
“label”: “Show Full Description”
}
],
“default”: “short”
},
{
“type”: “checkbox”,
“id”: “display_subtotal”,
“label”: “Display Subtotal?”,
“default”: true
},
{
“type”: “checkbox”,
“id”: “display_qty”,
“label”: “Display Quantity?”,
“default”: true
},
{
“type”: “checkbox”,
“id”: “display_product_detail_tag”,
“label”: “Display Tags?”,
“default”: true
},
{
“type”: “checkbox”,
“id”: “display_product_detail_share”,
“label”: “Display Product Share?”,
“default”: true
},
{
“type”: “text”,
“id”: “share_text”,
“label”: “Share Text”,
“default”: “Share”
},
{
“type”: “checkbox”,
“id”: “display_trust_img”,
“label”: “Display Trust Image?”,
“default”: true
},
{
“type”: “header”,
“content”: “Product Tab”
},
{
“type”: “radio”,
“id”: “show_tab”,
“label”: “Horizontal Tab or Vertical Tab”,
“options”: [
{
“value”: “horizontal”,
“label”: “Horizontal Tab”
},
{
“value”: “horizontal_center”,
“label”: “Horizontal Center Tab”
},
{
“value”: “vertical”,
“label”: “Vertical Tab”
}
],
“default”: “horizontal”
},
{
“type”: “checkbox”,
“id”: “display_product_detail_description”,
“label”: “Display Product Description?”,
“default”: true
},
{
“type”: “text”,
“id”: “product_description_title”,
“label”: “Product Description Title”,
“default”: “Description”
},
{
“type”: “checkbox”,
“id”: “display_product_reviews”,
“label”: “Display Product Reviews?”,
“default”: true
},
{
“type”: “text”,
“id”: “product_review_title”,
“label”: “Product Reviews Title”,
“default”: “Customer Reviews”
},
{
“type”: “header”,
“content”: “Product Custom Tab”
},
{
“type”: “checkbox”,
“id”: “display_custom_tab_1”,
“label”: “Display Custom Tab 1?”,
“default”: true
},
{
“type”: “text”,
“id”: “custom_tab_title_1”,
“label”: “Custom Tab Title 1”,
“default”: “Custom Tab 1”
},
{
“type”: “textarea”,
“id”: “custom_tab_content_1”,
“default”: “Custom Tab Content 1”,
“label”: “Custom Tab Content 1 (For All Products)”
},
{
“type”: “checkbox”,
“id”: “display_custom_tab_2”,
“label”: “Display Custom Tab 2?”,
“default”: true
},
{
“type”: “text”,
“id”: “custom_tab_title_2”,
“label”: “Custom Tab Title 2”,
“default”: “Custom Tab 2”
},
{
“type”: “textarea”,
“id”: “custom_tab_content_2”,
“default”: “Custom Tab Content 2”,
“label”: “Custom Tab Content 2 (For All Products)”
},
{
“type”: “checkbox”,
“id”: “display_custom_tab_3”,
“label”: “Display Custom Tab 3?”,
“default”: true
},
{
“type”: “text”,
“id”: “custom_tab_title_3”,
“label”: “Custom Tab Title 3”,
“default”: “Custom Tab 3”
},
{
“type”: “textarea”,
“id”: “custom_tab_content_3”,
“default”: “Custom Tab Content 3”,
“label”: “Custom Tab Content 3 (For All Products)”
},
{
“type”: “checkbox”,
“id”: “display_custom_tab_4”,
“label”: “Display Custom Tab 4?”,
“default”: true
},
{
“type”: “text”,
“id”: “custom_tab_title_4”,
“label”: “Custom Tab Title 4”,
“default”: “Custom Tab 4”
},
{
“type”: “textarea”,
“id”: “custom_tab_content_4”,
“default”: “Custom Tab Content 4”,
“label”: “Custom Tab Content 4 (For All Products)”
},
{
“type”: “checkbox”,
“id”: “display_custom_tab_5”,
“label”: “Display Custom Tab 5?”,
“default”: true
},
{
“type”: “text”,
“id”: “custom_tab_title_5”,
“label”: “Custom Tab Title 5”,
“default”: “Custom Tab 5”
},
{
“type”: “textarea”,
“id”: “custom_tab_content_5”,
“default”: “Custom Tab Content 5”,
“label”: “Custom Tab Content 5 (For All Products)”
},
{
“type”: “header”,
“content”: “Lookbook Description in Product Detail”
},
{
“type”: “checkbox”,
“id”: “dpl_lookbook_description”,
“label”: “Display Lookbook Description?”,
“default”: true
},
{
“type”: “radio”,
“id”: “style_lookbook_description”,
“label”: “Style”,
“options”: [
{
“value”: “all_product”,
“label”: “Use for all products”
},
{
“value”: “different_product”,
“label”: “Use for different product”
}
],
“default”: “all_product”,
“info”:“If you would like to use different Lookbook Description for products, you no need to edit these contents (Quote Title, Quote Description)”
},
{
“type”: “text”,
“id”: “quote_title”,
“label”: “Quote Title 1”
},
{
“type”: “textarea”,
“id”: “quote_des”,
“label”: “Quote Description 1”
},
{
“type”: “text”,
“id”: “quote_title_2”,
“label”: “Quote Title 2”
},
{
“type”: “textarea”,
“id”: “quote_des_2”,
“label”: “Quote Description 2”
},
{
“type”: “header”,
“content”: “LookBook Gallery in Product Detail”
},
{
“type”: “checkbox”,
“id”: “dpl_gallery_lookbook”,
“label”: “Display LookBook Gallery?”,
“default”: true
},
{
“type”: “radio”,
“id”: “style_lookbook_gallery”,
“label”: “Style”,
“options”: [
{
“value”: “all_product”,
“label”: “Use for all products”
},
{
“value”: “different_product”,
“label”: “Use for different product”
}
],

“default”: “all_product”,
“info”:“If you would like to use 1 LookBook Gallery the same for all of products, you just need to setup only 1 LookBook Gallery.”
},
{
“type” : “header”,
“content” : “Grouped Product”
},
{
“type” : “checkbox”,
“id” : “dpl_grouped_product”,
“label” : “Display Grouped Product”,
“default” : true
},
{
“type”: “radio”,
“id”: “grouped_product_style”,
“label”: “Grouped Product Style”,
“options”: [
{
“value”: “style_1”,
“label”: “Style 1 (Default)”
},
{
“value”: “style_2”,
“label”: “Style 2 (Upsell Bundled Products)”
}
],

“default”: “style_1”
},
{
“type”: “text”,
“id”: “grouped_title”,
“label”: “Grouped Title”,
“default”: “Frequently Bought Together”,
“info”: “Use for Grouped Product Style 2”
},
{
“type”: “textarea”,
“id”: “grouped_choose_options_text”,
“label”: “Grouped Choose Options Text”,
“default”: “Please choose options for all selected products”,
“info”: “Use for Grouped Product Style 2”
},
{
“type”: “text”,
“id”: “choose_options”,
“label”: “Choose Options Button”,
“default”: “Choose Options”,
“info”: “Use for Upsell Bundled Products”
},
{
“type”: “checkbox”,
“id”: “enable_bundle_discount”,
“label”: “Enable Bundle Discount”,
“default”: true,
“info”: “Use for Upsell Bundled Products”
},
{
“type”: “textarea”,
“id”: “bundle_discount_text”,
“label”: “Bundle Discount Text”,
“default”: "Get a [discount]% discount buying these products together | Erhalten Sie einen Rabatt von [discount]%, wenn Sie diese Produkte zusammen kaufen ",
“info”:“Use [discount] to show discount rate”
}
],

“blocks” : [
{
“type”: “image”,
“name”: “LookBook Gallery”,
“settings”:[
{
“type” : “product”,
“id” : “main_pr_look”,
“label” : “Select the product needs to display Loobook”,
“info”: “Choose if you want to show the different lookbook gallery for each of product.”
},
{
“type”: “header”,
“content”: “Gallery width Lookbook”,
“info” : “=======================”
},
{
“type” : “header”,
“content” : “Image 1”
},
{
“type”: “image_picker”,
“id”: “image_1”,
“label” : “Select Image”,
“info”: “Recommended Image: Width x Height (290 x 387)px”
},
{
“type” : “header”,
“content” : “Product 1”
},
{
“type” : “product”,
“id” : “lb_product_1_1”,
“label” : “Select Product”
},
{
“type” : “text”,
“id” : “top_position_1_1”,
“label” : “Top Position”,
“default” : “10”,
“info” : “Unit %”
},
{
“type” : “text”,
“id” : “left_position_1_1”,
“label” : “Left Position”,
“default” : “10”,
“info” : “Unit %”
},
{
“type” : “color”,
“id” : “dots_color_1_1”,
“label” : “Select Icon Color”,
“default” : “#fff
},
{
“type” : “color”,
“id” : “dots_bg_color_1_1”,
“label” : “Select Icon Background color”,
“default” : “#323232
},
{
“type” : “color”,
“id” : “dots_shadow_color_1_1”,
“label” : “Select Icon Shadow Color”,
“default” : “#fff”,
“info” : “=======================”
},
{
“type” : “header”,
“content” : “Product 2”
},
{
“type” : “product”,
“id” : “lb_product_1_2”,
“label” : “Select Product”
},
{
“type” : “text”,
“id” : “top_position_1_2”,
“label” : “Top Position”,
“default” : “10”,
“info” : “Unit %”
},
{
“type” : “text”,
“id” : “left_position_1_2”,
“label” : “Left Position”,
“default” : “10”,
“info” : “Unit %”
},
{
“type” : “color”,
“id” : “dots_color_1_2”,
“label” : “Select Icon Color”,
“default” : “#fff
},
{
“type” : “color”,
“id” : “dots_bg_color_1_2”,
“label” : “Select Icon Background color”,
“default” : “#323232
},
{
“type” : “color”,
“id” : “dots_shadow_color_1_2”,
“label” : “Select Icon Shadow Color”,
“default” : “#fff”,
“info” : “=======================”
},
{
“type” : “header”,
“content” : “Product 3”
},
{
“type” : “product”,
“id” : “lb_product_1_3”,
“label” : “Select Product”
},
{
“type” : “text”,
“id” : “top_position_1_3”,
“label” : “Top Position”,
“default” : “10”,
“info” : “Unit %”
},
{
“type” : “text”,
“id” : “left_position_1_3”,
“label” : “Left Position”,
“default” : “10”,
“info” : “Unit %”
},
{
“type” : “color”,
“id” : “dots_color_1_3”,
“label” : “Select Icon Color”,
“default” : “#fff
},
{
“type” : “color”,
“id” : “dots_bg_color_1_3”,
“label” : “Select Icon Background color”,
“default” : “#323232
},
{
“type” : “color”,
“id” : “dots_shadow_color_1_3”,
“label” : “Select Icon Shadow Color”,
“default” : “#fff”,
“info” : “=======================”
},
{
“type” : “header”,
“content” : “Image 2”
},
{
“type”: “image_picker”,
“id”: “image_2”,
“label” : “Select Image”,
“info”: “Recommended Image: Width x Height (290 x 387)px”
},
{
“type” : “header”,
“content” : “Product 1”
},
{
“type” : “product”,
“id” : “lb_product_2_1”,
“label” : “Select Product”
},
{
“type” : “text”,
“id” : “top_position_2_1”,
“label” : “Top Position”,
“default” : “10”,
“info” : “Unit %”
},
{
“type” : “text”,
“id” : “left_position_2_1”,
“label” : “Left Position”,
“default” : “10”,
“info” : “Unit %”
},
{
“type” : “color”,
“id” : “dots_color_2_1”,
“label” : “Select Icon Color”,
“default” : “#fff
},
{
“type” : “color”,
“id” : “dots_bg_color_2_1”,
“label” : “Select Icon Background color”,
“default” : “#323232
},
{
“type” : “color”,
“id” : “dots_shadow_color_2_1”,
“label” : “Select Icon Shadow Color”,
“default” : “#fff”,
“info” : “=======================”
},
{
“type” : “header”,
“content” : “Product 2”
},
{
“type” : “product”,
“id” : “lb_product_2_2”,
“label” : “Select Product”
},
{
“type” : “text”,
“id” : “top_position_2_2”,
“label” : “Top Position”,
“default” : “10”,
“info” : “Unit %”
},
{
“type” : “text”,
“id” : “left_position_2_2”,
“label” : “Left Position”,
“default” : “10”,
“info” : “Unit %”
},
{
“type” : “color”,
“id” : “dots_color_2_2”,
“label” : “Select Icon Color”,
“default” : “#fff
},
{
“type” : “color”,
“id” : “dots_bg_color_2_2”,
“label” : “Select Icon Background color”,
“default” : “#323232
},
{
“type” : “color”,
“id” : “dots_shadow_color_2_2”,
“label” : “Select Icon Shadow Color”,
“default” : “#fff”,
“info” : “=======================”
},
{
“type” : “header”,
“content” : “Product 3”
},
{
“type” : “product”,
“id” : “lb_product_2_3”,
“label” : “Select Product”
},
{
“type” : “text”,
“id” : “top_position_2_3”,
“label” : “Top Position”,
“default” : “10”,
“info” : “Unit %”
},
{
“type” : “text”,
“id” : “left_position_2_3”,
“label” : “Left Position”,
“default” : “10”,
“info” : “Unit %”
},
{
“type” : “color”,
“id” : “dots_color_2_3”,
“label” : “Select Icon Color”,
“default” : “#fff
},
{
“type” : “color”,
“id” : “dots_bg_color_2_3”,
“label” : “Select Icon Background color”,
“default” : “#323232
},
{
“type” : “color”,
“id” : “dots_shadow_color_2_3”,
“label” : “Select Icon Shadow Color”,
“default” : “#fff”,
“info” : “=======================”
},
{
“type” : “header”,
“content” : “Image 3”
},
{
“type”: “image_picker”,
“id”: “image_3”,
“label” : “Select Image”,
“info”: “Recommended Image: Width x Height (290 x 387)px”
},
{
“type” : “header”,
“content” : “Product 1”
},
{
“type” : “product”,
“id” : “lb_product_3_1”,
“label” : “Select Product”
},
{
“type” : “text”,
“id” : “top_position_3_1”,
“label” : “Top Position”,
“default” : “10”,
“info” : “Unit %”
},
{
“type” : “text”,
“id” : “left_position_3_1”,
“label” : “Left Position”,
“default” : “10”,
“info” : “Unit %”
},
{
“type” : “color”,
“id” : “dots_color_3_1”,
“label” : “Select Icon Color”,
“default” : “#fff
},
{
“type” : “color”,
“id” : “dots_bg_color_3_1”,
“label” : “Select Icon Background color”,
“default” : “#323232
},
{
“type” : “color”,
“id” : “dots_shadow_color_3_1”,
“label” : “Select Icon Shadow Color”,
“default” : “#fff”,
“info” : “=======================”
},

{
“type” : “header”,
“content” : “Product 2”
},
{
“type” : “product”,
“id” : “lb_product_3_2”,
“label” : “Select Product”
},
{
“type” : “text”,
“id” : “top_position_3_2”,
“label” : “Top Position”,
“default” : “10”,
“info” : “Unit %”
},
{
“type” : “text”,
“id” : “left_position_3_2”,
“label” : “Left Position”,
“default” : “10”,
“info” : “Unit %”
},
{
“type” : “color”,
“id” : “dots_color_3_2”,
“label” : “Select Icon Color”,
“default” : “#fff
},
{
“type” : “color”,
“id” : “dots_bg_color_3_2”,
“label” : “Select Icon Background color”,
“default” : “#323232
},
{
“type” : “color”,
“id” : “dots_shadow_color_3_2”,
“label” : “Select Icon Shadow Color”,
“default” : “#fff”,
“info” : “=======================”
},

{
“type” : “header”,
“content” : “Product 3”
},
{
“type” : “product”,
“id” : “lb_product_3_3”,
“label” : “Select Product”
},
{
“type” : “text”,
“id” : “top_position_3_3”,
“label” : “Top Position”,
“default” : “10”,
“info” : “Unit %”
},
{
“type” : “text”,
“id” : “left_position_3_3”,
“label” : “Left Position”,
“default” : “10”,
“info” : “Unit %”
},
{
“type” : “color”,
“id” : “dots_color_3_3”,
“label” : “Select Icon Color”,
“default” : “#fff
},
{
“type” : “color”,
“id” : “dots_bg_color_3_3”,
“label” : “Select Icon Background color”,
“default” : “#323232
},
{
“type” : “color”,
“id” : “dots_shadow_color_3_3”,
“label” : “Select Icon Shadow Color”,
“default” : “#fff”,
“info” : “=======================”
}
]
}
]
}
{% endschema %}