product variant price not changing

New Member
2 0 0

{{ 'jquery.elevateZoom.min.js' | asset_url | script_tag }} {{ 'option_selection.js' | shopify_asset_url | script_tag }} {%- assign thumbnai_position = "none" -%} {%- assign product_reviews = section.settings.display_product_reviews -%} {%- assign product_vendor = section.settings.show_vendor -%} {%- assign product_type = section.settings.show_product_type -%} {%- assign product_size = section.settings.size_guide -%} {%- assign product_video = section.settings.video_guide -%} {%- assign product_ccountdown = section.settings.show_product_countdown -%} {%- assign product_colorswatch = section.settings.use_color_swatch -%} {%- assign product_subtotal = section.settings.show_price_subtotal -%} {%- assign product_quantity = section.settings.show_quantity_selector -%} {%- assign product_share = section.settings.show_share_buttons -%} {%- assign product_tags = section.settings.show_tag -%} {%- assign product_brand = section.settings.show_brand -%} {%- assign product_category = section.settings.show_category -%} {%- assign pt_item = section.settings.pt_item -%} {% assign pp_grid = settings.pp_grid %} {% case pp_grid %} {% when '2' %} {% assign g_col_left = 'col-lg-3 col-md-12 col-sm-12 col-12' %} {% assign g_col_right = 'col-lg-9 col-md-12 col-sm-12 col-12' %} {% when '3' %} {% assign g_col_left = 'col-lg-4 col-md-12 col-sm-12 col-12' %} {% assign g_col_right = 'col-lg-8 col-md-12 col-sm-12 col-12' %} {% when '4' %} {% assign g_col_left = 'col-lg-5 col-md-12 col-sm-12 col-12' %} {% assign g_col_right = 'col-lg-7 col-md-12 col-sm-12 col-12' %} {% when '5' %} {% assign g_col_left = 'col-lg-6 col-md-12 col-sm-12 col-12' %} {% assign g_col_right = 'col-lg-6 col-md-12 col-sm-12 col-12' %} {% when '6' %} {% assign g_col_left = 'col-lg-7 col-md-12 col-sm-12 col-12' %} {% assign g_col_right = 'col-lg-5 col-md-12 col-sm-12 col-12' %} {% when '7' %} {% assign g_col_left = 'col-lg-8 col-md-12 col-sm-12 col-12' %} {% assign g_col_right = 'col-lg-4 col-md-12 col-sm-12 col-12' %} {% when '8' %} {% assign g_col_left = 'col-lg-9 col-md-12 col-sm-12 col-12' %} {% assign g_col_right = 'col-lg-3 col-md-12 col-sm-12 col-12' %} {% else %} {% assign g_col_left = 'col-lg-6 col-md-12 col-sm-12 col-12' %} {% assign g_col_right = 'col-lg-6 col-md-12 col-sm-12 col-12' %} {% endcase %} {% assign swp_nav = false %} {% assign pSize = product.images | size %} {% assign pSize = pSize | times: 1 %} {% assign pt_item = pt_item | times: 1 %} {% if pSize > pt_item %} {% assign swp_nav = true %} {% endif %} {% assign direction = "horizontal" %} {% if section.settings.pt_position contains "left" or section.settings.pt_position contains "right" %} {% assign direction = "vertical" %} {% endif %} {% assign current_variant = product.selected_or_first_available_variant %} {% assign product_thumb_size = '110x110' %} {% assign product_image_zoom_size = '1024x1024' %} {% assign product_image_scale = '2' -%} {% assign enable_zoom = section.settings.enable_zoom %} {% assign vertical = section.settings.media_slide_layout %} {% assign zoom = section.settings.zoom_mode %} {% if settings.product_layout == '1col' %} {% include 'product-layout-scroll'%} {% else %}

{% include 'collection-video' %}
{% for image in product.images %}
{{ image.alt | escape }}
{% endfor %}
{% for image in product.images %}
{{ image.alt | escape }}
{% endfor %}
{{ product.title }}{% render 'judgeme_widgets', widget_type: 'judgeme_preview_badge', jm_style: '', concierge_install: true, product: product %} {% if product_reviews %}{% endif %}
{% if product.available %}

{{ 'products.product.availability' | t }}: {{'products.product.available' | t }}

{% else %}

{{ 'products.product.availability' | t }}: {{'products.product.unavailable' | t }}

{% endif %} {% if product_type %}

{{ 'products.product.type' | t }}: {{ product.type }}

{% endif %} {% if product_vendor %}

{{ 'products.product.vendor' | t }}: {{ product.vendor | link_to_vendor }}

{% endif %} {% if product_size %} {% include 'collection-sizechart' %} {% endif %}
 

{% if current_variant.compare_at_price > current_variant.price %} {{ current_variant.price | money }} {{ current_variant.compare_at_price | money }} {% else %} {{ 'products.product.regular_price' | t }} {{ current_variant.compare_at_price | money }} {{ current_variant.price | money }} {% endif %}

{% if section.settings.show_desc == 'short' %} {% if product.description != blank %} {% assign content = product.description %} {% if content contains "[shortcode]" %} {% assign str = content | split: "[/shortcode]" | first %} {% assign str = str | split: "[shortcode]" | last %} {% assign str = "[shortcode]" | append: str | append: "[/shortcode]" %} {% assign content = content | remove: str %} {% endif %} {% endif %} {% elsif section.settings.show_desc == 'full' %} {% if product.description != blank %} {% assign content = product.description %} {% if content contains "[shortcode]" %} {% assign str = content | split: "[/shortcode]" | first %} {% assign str = str | split: "[shortcode]" | last %} {% assign str = "[shortcode]" | append: str | append: "[/shortcode]" %} {% assign content = content | remove: str %} {% endif %}
{{ 'products.product.overview' | t }} {{ content }}
{% endif %} {% endif %}
{% assign variantCount = product.variants | size %} {% if product.available %} {% if variantCount > 1 %}
{% for variant in product.variants %} {{ variant.title }} - {{ variant.price | money }}{% endfor %} location.reload()
{% if product_colorswatch %} {% for option in product.options %} {% include 'swatch' with option %} {% endfor %} {% endif %} {% else %} {% endif %} {% endif %}
{% if product_subtotal %}
{{ 'cart.general.subtotal' | t }}: {{ product.price | money }}
{% endif %}
{% if product_quantity %}
{{ 'products.product.quantity' | t }}:
 
 
{% endif %}
{% unless current_variant.available %} {{ 'products.product.sold_out' | t }} {% else %} {{ 'products.product.add_to_cart' | t }} {% endunless %}
{% form 'product', product, id: "AddToCart-{{ section.id }}" %} {{ form | payment_button }} {% endform %} {% include 'product-wishlist' %}
{% if product_share %}{% endif %} {% if product_category %}
Category:
    {% unless product.collections == blank %} {% for c in product.collections limit: 2 %}
  • {{ c.title | link_to:c.url }}
  • {% unless forloop.last %}, {% endunless %} {% endfor %} {% endunless %}
{% endif %} {% if product_tags %}
Tags:
    {% for tag in product.tags limit: 3 %}
  • {{ tag | link_to_tag: tag }}
  • {% unless forloop.last %}, {% endunless %} {% endfor %}
{% endif %} {% if product_brand %}
Guaranteed safe checkout:
{% if section.settings.product_brand != blank %} {{ section.settings.product_brand }} {% else %} {{ shop.name }} {% endif %}
{% endif %}
{% if section.settings.enable_sevicer %}{% endif %}
{% if section.settings.product_tab_type == 'protab' %}
{% if section.settings.product_tab1_enable %}
{% if product.description != blank %} {% assign content = product.description %} {% if content contains "[shortcode]" %} {% assign str = content | split: "[/shortcode]" | first %} {% assign str = str | split: "[shortcode]" | last %} {% assign str = "[shortcode]" | append: str | append: "[/shortcode]" %} {% assign content = content | remove: str %} {% endif %}
{{ 'products.product.overview' | t }} {{ content }}
{% endif %}
{% endif %} {% if section.settings.product_tab2_enable %}
{{ section.settings.product_tab2_content }}
{% endif %} {% if section.settings.product_tab3_enable %}
{% if section.settings.custom_size_chart != blank %} {{ section.settings.custom_size_chart_title }} {% else %}
{% include 'placeholder-svg' %}
{% endif %}
{% endif %} {% if section.settings.product_tab4_enable %}
{% render 'judgeme_widgets', widget_type: 'judgeme_review_widget', concierge_install: true, product: product %} {% comment %}
{{ product.metafields.spr.reviews }}
{% endcomment %}
{% endif %}
{% elsif section.settings.product_tab_type == 'protab_hozizoltal' %}
{% if section.settings.product_tab1_enable %}
{% if product.description != blank %} {% assign content = product.description %} {% if content contains "[shortcode]" %} {% assign str = content | split: "[/shortcode]" | first %} {% assign str = str | split: "[shortcode]" | last %} {% assign str = "[shortcode]" | append: str | append: "[/shortcode]" %} {% assign content = content | remove: str %} {% endif %}
{{ 'products.product.overview' | t }} {{ content }}
{% endif %}
{% endif %} {% if section.settings.product_tab2_enable %}
{{ section.settings.product_tab2_content }}
{% endif %} {% if section.settings.product_tab3_enable %}
{% if section.settings.custom_size_chart != blank %} {{ section.settings.custom_size_chart_title }} {% else %}
{% include 'placeholder-svg' %}
{% endif %}
{% endif %} {% if section.settings.product_tab4_enable %}
{% render 'judgeme_widgets', widget_type: 'judgeme_review_widget', concierge_install: true, product: product %} {% comment %}
{{ product.metafields.spr.reviews }}
{% endcomment %}
{% endif %}
{% elsif section.settings.product_tab_type == 'propanel' %}
{% if section.settings.product_tab1_enable %}
{% if product.description != blank %} {% assign content = product.description %} {% if content contains "[shortcode]" %} {% assign str = content | split: "[/shortcode]" | first %} {% assign str = str | split: "[shortcode]" | last %} {% assign str = "[shortcode]" | append: str | append: "[/shortcode]" %} {% assign content = content | remove: str %} {% endif %}
{{ 'products.product.overview' | t }} {{ content }}
{% endif %}
{% endif %} {% if section.settings.product_tab2_enable %}
{{ section.settings.product_tab2_content }}
{% endif %} {% if section.settings.product_tab3_enable %}
{% if section.settings.custom_size_chart != blank %} {{ section.settings.custom_size_chart_title }} {% else %}
{% include 'placeholder-svg' %}
{% endif %}
{% endif %} {% if section.settings.product_tab4_enable %}
{% render 'judgeme_widgets', widget_type: 'judgeme_review_widget', concierge_install: true, product: product %} {% comment %}
{{ product.metafields.spr.reviews }}
{% endcomment %}
{% endif %}
{% else %}
{% render 'judgeme_widgets', widget_type: 'judgeme_review_widget', concierge_install: true, product: product %} {% if settings.product_reviews_enable %} {% comment %}
{{ product.metafields.spr.reviews }}
{% endcomment %} {% endif %}
{% endif %}
{% if section.settings.product_related_enable %} {% if section.settings.related_products_type == "tags" %} {% include 'product-related-tag' %} {% else %} {% include 'product-related' %} {% endif %} {% endif %}

<script> var slider = function() { if (!$('.slider-for').hasClass('slick-initialized') && !$('.slider-nav').hasClass('slick-initialized')) { $('.slider-for').slick({ slidesToShow: 1, slidesToScroll: 1, nextArrow: '

 

', prevArrow: '

 

', fade: true, accessibility:false, verticalSwiping: false, arrows : false, {% if settings.enable_rtl %}rtl: true,{% endif %} asNavFor: '.slider-nav' }); $('.slider-nav').slick({ infinite: true, slidesToShow: {{ pt_item }}, {% if section.settings.pt_position == 'bottom' %} {% else %} vertical: true, {% endif %} slidesToScroll: 1, asNavFor: '.slider-for', verticalSwiping: false, dots: false, {% if settings.enable_rtl %}rtl: true,{% endif %} accessibility:false, focusOnSelect: true, {% if section.settings.pt_position == 'bottom' %} nextArrow: '

 

', prevArrow: '

 

', {% else %} nextArrow: '

 

', prevArrow: '

 

', {% endif %} responsive: [ { breakpoint: 1200, settings: { slidesToShow: 5, slidesToScroll: 1 } }, {% if section.settings.pt_position == 'bottom' %} { breakpoint: 1024, settings: { slidesToShow: 5, slidesToScroll: 1 } }, { breakpoint: 768, settings: { slidesToShow: 4, slidesToScroll: 1, dots: false } }, { breakpoint: 321, settings: { slidesToShow: 3, slidesToScroll: 2, dots: false } }, {% else %} { breakpoint: 1224, settings: { slidesToShow:5, slidesToScroll: 1 } }, { breakpoint: 1025, settings: { slidesToShow:3, slidesToScroll: 1 } }, { breakpoint: 767, settings: { slidesToShow: 4, slidesToScroll: 2, dots: false } }, { breakpoint: 421, settings: { slidesToShow: 2, slidesToScroll: 2, dots: false } }, { breakpoint: 321, settings: { slidesToShow: 1, slidesToScroll: 2, dots: false } } {% endif %} ] }); } }; $(window).load(function() { slider(); if ($(window).width() >= 992 && $('.zoomContainer').length === 0) { $(".fancybox").fancybox(); var zoomOptions = { cursor: "crosshair", galleryActiveClass: 'active', imageCrossfade: false, scrollZoom: false, onImageSwapComplete: function() { $(".zoomWrapper div").hide(); }, loadingIcon: window.loading_url }; $(".slider-for .slick-current img").elevateZoom(zoomOptions); $(".slider-for ").on("beforeChange", function(event, slick, currentSlide, nextSlide) { $.removeData(currentSlide, "elevateZoom"); $(".zoomContainer").remove(); }); $(".slider-for ").on("afterChange", function() { $(".slider-for .slick-current img").elevateZoom(zoomOptions); }); } }); var timer; var winW = $(window).width(); $(window).on('resize.refreshSlick', function() { clearTimeout(timer); timer = setTimeout(function() { var curW = $(window).width(); if (curW >= 768 && winW < 768) { $('.slider-for').slick('unslick'); $('.slider-nav').slick('unslick'); $('.slider-nav').find('.slick-list').removeAttr('style'); $('.slider-nav').find('.slick-track').removeAttr('style'); $('.slider-nav').find('.slick-slide').removeAttr('style'); $('.slider-nav').find('button.slick-arrow').remove(); slider(); } winW = curW; }, 500); }); $(".tab-vertical>ul>li").on('click', function () { $(".tab-vertical>ul>li").removeClass("active"); $(this).addClass("active"); }); </script> <script> {% if product.available %} function updatePricing() { var regex = /([0-9]+[.|,][0-9]+[.|,][0-9]+)/g; var unitPriceTextMatch = jQuery('.product .product-price__price span.money').text().match(regex); if (!unitPriceTextMatch) { regex = /([0-9]+[.|,][0-9]+)/g; unitPriceTextMatch = jQuery('.product .product-price__price span.money').text().match(regex); } if (unitPriceTextMatch) { var unitPriceText = unitPriceTextMatch[0]; var unitPrice = unitPriceText.replace(/[.|,]/g,''); var quantity = parseInt(jQuery('#qty').val()); var totalPrice = unitPrice * quantity; var totalPriceText = Shopify.formatMoney(totalPrice, window.money_format); regex = /([0-9]+[.|,][0-9]+[.|,][0-9]+)/g; if (!totalPriceText.match(regex)) { regex = /([0-9]+[.|,][0-9]+)/g; } totalPriceText = totalPriceText.match(regex)[0]; var regInput = new RegExp(unitPriceText, "g"); var totalPriceHtml = jQuery('.product .product-price__price span.money').html().replace(regInput ,totalPriceText); jQuery('.product .total-price span.money').html(totalPriceHtml); } } jQuery('#qty').on('change', updatePricing); {% endif %} var selectCallback = function(variant, selector) { var addToCart = jQuery('#AddToCart-product-template'), productPrice = jQuery('.product .product-price__price span.money'), comparePrice = jQuery('span#ComparePrice-product-template'); if (variant) { if (variant.available) { addToCart.removeClass('disabled').removeAttr('disabled').val('Add to Cart'); } else { addToCart.val(window.inventory_text.sold_out).addClass('disabled').attr('disabled', 'disabled'); } productPrice.html(Shopify.formatMoney(variant.price, "{{ shop.money_format }}")); if (variant.compare_at_price > variant.price) { comparePrice.html(Shopify.formatMoney(variant.compare_at_price, "{{ shop.money_format }}")); } {% if section.settings.use_color_swatch %} // BEGIN SWATCHES var form = jQuery('#' + selector.domIdPrefix).parents('form'); for (var i=0,length=variant.options.length; i<length; i++) { var radioButton = form.find('.swatch[data-option-index="' + i + '"] :radio[value="' + variant.options[i] +'"]'); if (radioButton.size()) { radioButton.get(0).checked = true; } } // END SWATCHES {% endif %} {% if product.available %} updatePricing(); {% endif %} {% if settings.show_multiple_currencies %} Currency.convertAll(window.shop_currency, jQuery('select[name=currencies] option:selected').val(), 'span.money', 'money_format'); {% endif %} } /* VARIANT IMAGE */ if (variant && variant.featured_image) { var originalImage = $("img[id|='product-featured-image']"); var newImage = variant.featured_image; var element = originalImage[0]; Shopify.Image.switchImage(newImage, element, function (newImageSizedSrc, newImage, element) { // $(element).data('zoom-image', newImageSizedSrc).elevateZoom({ // gallery: 'slider-nav', // galleryActiveClass: 'active', // }); jQuery('.slider-nav img').each(function() { var grandSize = jQuery(this).attr('src'); grandSize = grandSize.replace('100x100','1024x1024'); if (grandSize == newImageSizedSrc) { jQuery(this).closest('.item').trigger('click'); return false; } }); }); } }; jQuery(function($) { {% if product.available and product.variants.size > 1 %} new Shopify.OptionSelectors('product-selectors', { product: {{ product | json }}, onVariantSelected: selectCallback, enableHistoryState: true }); {% comment %} Use color swatch and linked options (copyright by @CarolineSchnapp) {% endcomment %} {% if section.settings.use_color_swatch and product.available and product.options.size > 1 %} Shopify.linkOptionSelectors({{ product | json }}); {% endif %} {% endif %} {% if product.options.size == 1 and product.options.first != 'Title' %} $('.selector-wrapper:eq(0)').prepend('{{ product.options.first }}'); {% endif %} {% if product.variants.size == 1 and product.variants.first.title contains 'Default' %} $('.selector-wrapper').hide(); {% endif %} {% assign found_one_in_stock = false %} {% for variant in product.variants %} {% if variant.available and found_one_in_stock == false %} {% assign found_one_in_stock = true %} {% for option in product.options %} $('.single-option-selector:eq({{ forloop.index0 }})').val({{ variant.options[forloop.index0] | json }}).trigger('change'); {% endfor %} {% endif %} {% endfor %} }); </script> {% unless product == empty %} <script type="application/json" id="ProductJson-{{ section.id }}"> {{ product | json }} </script> {% endunless %} {% endif %} {% schema %} { "name": "Product Detail", "class": "main-product", "settings": [ { "type": "header", "content": "Product info" }, { "type": "checkbox", "id": "display_product_reviews", "label": "Show Reviews", "default": true }, { "type": "checkbox", "id": "show_vendor", "label": "Show vendor", "default": true }, { "type": "checkbox", "id": "show_product_type", "label": "Show Product Type", "default": true }, { "type": "checkbox", "id": "size_guide", "label": "Use size guide", "default": true }, { "type": "checkbox", "id": "video_guide", "label": "Use Video", "default": true }, { "type": "radio", "id": "show_desc", "label": "Short description", "options": [ { "value": "no-show", "label": "No" }, { "value": "short", "label": "Yes" }, { "value": "full", "label": "Show Full Description" } ], "default": "short" }, { "type": "checkbox", "id": "show_product_countdown", "label": "Show Product Countdown", "default": true }, { "type": "checkbox", "id": "use_color_swatch", "label": "Use Color Swatch?", "default": true }, { "type": "checkbox", "id": "show_price_subtotal", "label": "Show Price Subtotal", "default": false }, { "type": "checkbox", "id": "show_quantity_selector", "label": "Show quantity selector", "default": false }, { "type": "checkbox", "id": "show_share_buttons", "label": "Show social sharing buttons", "default": true }, { "type": "checkbox", "id": "show_category", "label": "Show Category Product", "default": true }, { "type": "checkbox", "id": "show_tag", "label": "Show Tags Product", "default": true }, { "type": "checkbox", "id": "show_brand", "label": "Show Image Brand", "default": true }, { "type": "image_picker", "id": "product_brand", "label": "Upload Brand Image" }, { "type": "header", "content": "Product thumbnais" }, { "type": "select", "id": "pt_position", "label": "Position", "default": "bottom", "options": [ { "value": "left", "label": "Vertical Left" }, { "value": "right", "label": "Vertical Right" }, { "value": "bottom", "label": "Horizontal Bottom" } ] }, { "type": "text", "id": "pt_item", "label": "Item", "default": "4" }, { "type": "header", "content": "Box Sevicer Detail", "info": "Used for Detail 1 Coluom" }, { "type": "checkbox", "id": "enable_sevicer", "label": "Show Box Sevicer", "default": false }, { "type": "text", "id": "sv_title", "label": "Title Box Sevicer 1", "placeholder": "Title" }, { "type": "text", "id": "sv_icon", "label": "Icon name (Font Awesome)", "info": "[Use Font Awesome](http:\/\/fontawesome.io\/4.7.0\/icons\/)" }, { "type": "text", "id": "sv_title_2", "label": "Title Box Sevicer 2", "placeholder": "Title" }, { "type": "text", "id": "sv_icon_2", "label": "Icon name (Font Awesome)", "info": "[Use Font Awesome](http:\/\/fontawesome.io\/4.7.0\/icons\/)" }, { "type": 

0 Likes
New Member
2 0 0

"text", "id": "sv_title_3", "label": "Title Box Sevicer 3", "placeholder": "Title" }, { "type": "text", "id": "sv_icon_3", "label": "Icon name (Font Awesome)", "info": "[Use Font Awesome](http:\/\/fontawesome.io\/4.7.0\/icons\/)" }, { "type": "text", "id": "sv_title_4", "label": "Title Box Sevicer 4", "placeholder": "Title" }, { "type": "text", "id": "sv_icon_4", "label": "Icon name (Font Awesome)", "info": "[Use Font Awesome](http:\/\/fontawesome.io\/4.7.0\/icons\/)" }, { "type": "header", "content": "Product More Info" }, { "type": "select", "id": "product_tab_type", "label": "Product more info type", "default": "protab_hozizoltal", "options": [ { "value": "disable", "label": "Don't show" }, { "value": "protab", "label": "Tab vertical" }, { "value": "protab_hozizoltal", "label": "Tab hozizoltal" }, { "value": "propanel", "label": "Tab accordion" } ] }, { "type": "checkbox", "id": "product_tab1_enable", "label": "Display Tab Description?", "default": true }, { "type": "text", "id": "product_tab1_title", "label": "Product Description Title", "default": "Product Description" }, { "type": "checkbox", "id": "product_tab2_enable", "label": "Display Custom Tab?" }, { "type": "text", "id": "product_tab2_title", "label": "Custom Tab Title", "default": "Shipping Returns" }, { "type": "textarea", "id": "product_tab2_content", "label": "Custom Tab HTML Code" }, { "type": "checkbox", "id": "product_tab3_enable", "label": "Display Size Chart?" }, { "type": "text", "id": "product_tab3_title", "label": "Custom Size Chart Title", "default": "Size Chart" }, { "type": "image_picker", "id": "custom_size_chart", "label": "Size Chart Image" }, { "type": "checkbox", "id": "product_tab4_enable", "label": "Products Reviews", "default": true }, { "type": "text", "id": "product_tab4_title", "label": "Reviews Title tab", "default": "Reviews" }, { "type": "header", "content": "Related Products" }, { "type": "checkbox", "id": "product_related_enable", "label": "Enable product related" }, { "type": "text", "id": "product_related_title", "placeholder": "Title for nlock", "label": "Block title" }, { "type": "radio", "id": "related_products_type", "label": "Type of related products", "options": [ { "value": "tags", "label": "By Tags" }, { "value": "collection", "label": "By Collection" } ], "default": "collection" }, { "type": "text", "id": "product_related_limit", "placeholder": "Number. Ex: 6", "label": "Limit of Related Product" }, { "type": "checkbox", "id": "navigation", "label": "Show navigation", "default": true }, { "type": "text", "id": "margin-rl", "label": "Margin Item" }, { "type": "select", "id": "column1", "label": "#Column 1", "default": "4", "info": "For Large desktops have screen > 1200px", "options":[ { "value": "1", "label": "1" }, { "value": "2", "label": "2" }, { "value": "3", "label": "3" }, { "value": "4", "label": "4" }, { "value": "5", "label": "5" }, { "value": "6", "label": "6" } ] }, { "type": "select", "id": "column2", "label": "#Column 2", "default": "3", "info": "For Tablets have screen 991px to 1199px.", "options":[ { "value": "1", "label": "1" }, { "value": "2", "label": "2" }, { "value": "3", "label": "3" }, { "value": "4", "label": "4" }, { "value": "5", "label": "5" } ] }, { "type": "select", "id": "column3", "label": "#Column 3", "info": "For Tablets have screen 768px to 991px.", "default": "2", "options":[ { "value": "1", "label": "1" }, { "value": "2", "label": "2" }, { "value": "3", "label": "3" }, { "value": "4", "label": "4" }, { "value": "5", "label": "5" } ] }, { "type": "select", "id": "column4", "label": "#Column 4", "default": "2", "info": "For Smartphones landscape have screen 480px to 767px", "options":[ { "value": "1", "label": "1" }, { "value": "2", "label": "2" }, { "value": "3", "label": "3" }, { "value": "4", "label": "4" }, { "value": "5", "label": "5" } ] }, { "type": "select", "id": "column5", "label": "#Column 5", "default": "1", "info": "For Smartphones have screen 0px to 479px", "options":[ { "value": "1", "label": "1" }, { "value": "2", "label": "2" } ] } ] } {% endschema %}

0 Likes