Why is my add to cart button not working on mobile devices?

Hey Guys,

I am using Booster Theme and suddenly my add to cart button has stopped working on mobile devices . It works fine on desktop.I am unable to figure out what went wrong .Can someone please help me .

My store- spicystore.in

Thanks in advance

Please helpme

  1. In your Shopify Admin go to online store > themes > actions > edit code
  2. In your theme.liquid file, find the (press CTRL + F or command + F on Mac)
  3. paste this code right above the tag:

2 Likes

Thank you for the response and your code. I tried editing the code as you instructed me to but I am still not able to ADD To Cart. I am attaching screenshot of the code so you can verify if I did it right.

I am also attaching the error it shows when I try to add something to my cart.



Remove from the line 252 and it should work

1 Like

Hello,

Thanks a lot for your valuable suggestion and help.You are a real gem my friend. The add to cart button is working fine now however the dynamic “Buy Now” button still shows the same error but I think I can manage without it unless I find a solution.

Thanks a lot.

i tried your solution, but its not working in my store. please help me

site:

b4bicycles.com

Hi Diego:

“Add to Cart” button does not add to the cart when you click on it. But if you refresh the page after clicking the

button the item appears in the Cart. Can you help me?

URL: deuxbeautesparis.com

Futher to my mail, please find my Product-Template-Liquid

{% for image in product.images %}
{{ image.alt | escape }} {% assign on_sale = false %} {% if product.compare_at_price_min > product.price_min %} {% assign on_sale = true %} {% endif %} {% assign sold_out = true %} {% if product.available %} {% assign sold_out = false %} {% endif %} {% assign new = false %} {% for tag in product.tags %} {% assign tag_handle = tag | handle %} {% if tag_handle contains 'new' %} {% assign new = true %} {% endif %} {% endfor %} {% if on_sale or sold_out or new %}
{% if new %} {% for tag in product.tags %} {% assign tag = t | strip %} {% if tag contains 'new' %} {% include 'multilang' with tag %} {% endif %} {% endfor %} {% endif %} {% if on_sale %} {{ 'products.product.sale' | t }} {% endif %} {% if sold_out %} {{ 'products.product.sold_out' | t }} {% endif %}
{% endif %}
{% endfor %}
{% for image in product.images %} {% endfor %}
{% if section.settings.display_vendor %}

{{ product.vendor | link_to_vendor }}

{% endif %}

{% if settings.enable_multilang %} {{ product.title | split: '|' | first }} {{ product.title | split: '|' | last }} {% else %} {{ product.title | split: '|' | first }} {% endif %}

{% if section.settings.display_prev_next_product and collection %} {% if collection.previous_product %} {{ 'collections.toolbar.previous' | t }} {% endif %} {% if collection.next_product %} {{ 'collections.toolbar.next' | t }} {% endif %} {% endif %}

{% if section.settings.display_product_reviews %}

{% endif %}
{% if product.description contains ‘[countdown]’ %}
{% assign count_down_first = product.description | split:‘[/countdown]’ | first %}
{% assign count_down_final = count_down_first | split:‘[countdown]’ | last %}

{% if settings.enable_multilang %} {{ section.settings.text_countdown | split: '|' | first }} {{ section.settings.text_countdown | split: '|' | last }} {% else %} {{ section.settings.text_countdown | split: '|' | first }} {% endif %}
{% endif %} {% if section.settings.display_availability or section.settings.display_product_type or section.settings.display_vendor %}
{% if section.settings.display_availability %}

{% if section.settings.text_availability != blank %} {% if settings.enable_multilang %} {{ section.settings.text_availability | split: '|' | first }} {{ section.settings.text_availability | split: '|' | last }} {% else %} {{ section.settings.text_availability | split: '|' | first }} {% endif %} {% endif %} {% if product.selected_or_first_available_variant.inventory_management %} {% assign first_inventory = product.selected_or_first_available_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 %} {{ product.type }}

{% endif %} {% 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 }}

{% endif %}
{% endif %}

{% if product.description contains ‘[countdown]’ %}
{% assign des = product.description | split:‘[/countdown]’ | last %}

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

{% if product.description contains ‘

[Description]

’ %}
{% assign des1 = product.description | split:‘

[Description]

’ | last | split:‘

[/Description]

’ | first %}
{% if settings.enable_multilang %}

{{ des1 | split: '[lang2]' | first }}
{{ des1 | split: '[lang2]' | last }}
{% else %}
{{ des1 | split: '[lang2]' | first }}
{% endif %} {% else %} {% if settings.enable_multilang %}
{{ des | split: '[lang2]' | first | strip_html | truncatewords: 50 }}
{{ des | split: '[lang2]' | last | strip_html | truncatewords: 50 }}
{% else %}
{{ des | split: '[lang2]' | first | strip_html | truncatewords: 50 }}
{% endif %}

{% endif %}

{% elsif section.settings.show_desc == ‘full’ %}
{% if settings.enable_multilang %}

{{ des | split: '[lang2]' | first }}
{{ des | split: '[lang2]' | last }}
{% else %}
{{ des | split: '[lang2]' | first }}
{% endif %} {% endif %} {% else %} {% if section.settings.show_desc == 'short' %} {% if product.description contains '

[Description]

' %} {% assign des1 = product.description | split:'

[Description]

' | last | split:'

[/Description]

' | first %} {% if settings.enable_multilang %}
{{ des1 | split: '[lang2]' | first }}
{{ des1 | split: '[lang2]' | last }}
{% else %}
{{ des1 | split: '[lang2]' | first }}
{% endif %} {% else %} {% if settings.enable_multilang %}
{{ des | split: '[lang2]' | first | strip_html | truncatewords: 50 }}
{{ des | split: '[lang2]' | last | strip_html | truncatewords: 50 }}
{% else %}
{{ des | split: '[lang2]' | first | strip_html | truncatewords: 50 }}
{% endif %} {% endif %} {% elsif section.settings.show_desc == 'full' %} {% if settings.enable_multilang %}
{{ product.description | split: '[lang2]' | first }}
{{ product.description | split: '[lang2]' | last }}
{% else %}
{{ product.description | split: '[lang2]' | first }}
{% endif %} {% endif %} {% endif %}
[data-app="eastsideco_sizeGuides"] a { text-decoration: underline; } <form action="/cart/add" method="post" enctype="multipart/form-data" id="add-to-cart-form"

{% comment %}

{% if section.settings.display_size_chart %}

{% include ‘multilang’ with section.settings.custom_size_chart_title %}

{{ section.settings.custom_size_chart_title }}

{% endif %}

{% endcomment %}

{% assign variantCount = product.variants | size %}
{% if product.available %}
{% if variantCount > 1 %}
{% if settings.use_color_swatch %}
{% for option in product.options %}
{% include ‘swatch’ with option %}
{% endfor %}
{% endif %}

{% else %}

{% 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.available %}
<label for=“quantity” {% if settings.enable_multilang %}data-translate=“cart.label.quantity”{%endif%}>{{ ‘cart.label.quantity’ | t }}:

{% if section.settings.display_subtotal and product.available %}

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

<input type=“submit” name=“add” class=“btn” {% if settings.enable_multilang %}data-translate=“products.product.add_to_cart”{%endif%} id=“product-add-to-cart” value=“{{ ‘products.product.add_to_cart’ | t }}”>
{% else %}
<input type=“submit” name=“add” class=“btn” {% if settings.enable_multilang %}data-translate=“products.product.unavailable”{%endif%} id=“product-add-to-cart” disabled value=“{{ ‘products.product.unavailable’ | t }}”>
{% endif %}

{% include ‘wishlist-product’ %}

{% if section.settings.display_product_detail_tag %}

{{ 'blogs.article.tags' | t }} {% for tag in product.tags %} / {{ tag }} {% endfor %}
{% endif %}

{% if section.settings.display_product_detail_share %}
{% comment %}
{% include ‘share’ with product %}
{% endcomment %}

{% if settings.enable_multilang %}

{{ section.settings.text_share | split: '|' | first }}

{{ section.settings.text_share | split: '|' | last }}

{% else %}

{{ section.settings.text_share | split: '|' | first }}

{% endif %}
{% endif %}

{% if section.settings.show_tab == ‘vertical’ %}

{% if section.settings.display_product_detail_description %}

{% if product.description contains ‘[countdown]’ %}
{% assign des = product.description | split:‘[/countdown]

’ | last %}

{% if des contains ‘

[Description]

’%}
{% assign des = des | split:‘

[Description]

’ | first %}
{% endif %}
{% else %}
{% assign des = product.description %}

{% if des contains ‘

[/Description]

’%}
{% assign des = des | split:‘

[Description]

’ | first %}
{% endif %}
{% endif %}

{% if settings.enable_multilang %}

{{ des | split: '[lang2]' | first }}
{{ des | split: '[lang2]' | last }}
{% else %}
{{ des | split: '[lang2]' | first }}
{% endif %} {% if section.settings.download_file !=blank %} {% if section.settings.download_icon != blank %} Download User Guide {% endif %} {% endif %}
{% endif %}

{% if section.settings.display_custom_tab %}

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

{% if section.settings.display_custom_video %}

{% endif %}

{% if section.settings.display_product_reviews %}

{% comment %} Add product review widget, must install Product Review App: [https://apps.shopify.com/product-reviews](https://apps.shopify.com/product-reviews) {% endcomment %}
{{ product.metafields.spr.reviews }}
{% endif %}
{% endif %}

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

{% if section.settings.display_product_detail_description %}

{% if product.description contains ‘[countdown]’ %}
{% assign des = product.description | split:‘[/countdown]

’ | last %}

{% if des contains ‘

[Description]

’%}
{% assign des = des | split:‘

[Description]

’ | first %}
{% endif %}
{% else %}
{% assign des = product.description %}

{% if des contains ‘

[Description]

’%}
{% assign des = des | split:‘

[Description]

’ | first %}
{% endif %}
{% endif %}

{% if settings.enable_multilang %}
{{ des | split: '[lang2]' | first }}
{{ des | split: '[lang2]' | last }}
{% else %}
{{ des | split: '[lang2]' | first }}
{% endif %}
{% endif %}

{% if section.settings.display_custom_tab %}

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

{% if section.settings.display_custom_video %}

{{ section.settings.custom_tab_video }}
{% endif %} {% if section.settings.display_product_reviews %}
{% comment %} Add product review widget, must install Product Review App: [https://apps.shopify.com/product-reviews](https://apps.shopify.com/product-reviews) {% endcomment %}
{{ product.metafields.spr.reviews }}
{% endif %}
{% endif %}

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

{% schema %}
{
“name”: “Product Detail”,
“settings”: [
{
“type”: “radio”,
“id”: “style_moreview”,
“label”: “Horizontal Moreview or Vertical Moreview”,
“options”: [
{
“value”: “horizontal”,
“label”: “Horizontal Moreview”
},
{
“value”: “vertical”,
“label”: “Vertical Moreview”
}
],
“default”: “vertical”
},
{
“type”: “checkbox”,
“id”: “display_prev_next_product”,
“label”: “Display Prev/Next Product?”,
“default”: true
},

{
“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”: “checkbox”,
“id”: “display_vendor”,
“label”: “Display Vendor?”,
“default”: true
},
{
“type”: “text”,
“id”: “text_vendor”,
“label”: “Text Vendor”,
“default”: “Vendor”
},
{
“type”: “text”,
“id”: “text_countdown”,
“label”: “Text Countdown”,
“default”: “Limited-Time Offers, End in:”
},
{
“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”: “display_subtotal”,
“label”: “Display Subtotal?”,
“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”: “text_share”,
“label”: “Text Share”
},
{
“type”: “radio”,
“id”: “show_tab”,
“label”: “Horizontal Tab or Vertical Tab”,
“options”: [
{
“value”: “horizontal”,
“label”: “Horizontal 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”: “Product 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”: “checkbox”,
“id”: “display_custom_tab”,
“label”: “Display Custom Tab?”,
“default”: true
},
{
“type”: “text”,
“id”: “custom_tab_title”,
“label”: “Custom Tab Title”,
“default”: “Shipping & Returns”
},
{
“type”: “textarea”,
“id”: “custom_tab_content”,
“label”: “Custom Tab HTML Code”
},
{
“type” : “header”,
“content” : “Tab Video”
},
{
“type”: “checkbox”,
“id”: “display_custom_video”,
“label”: “Display Custom Video?”,
“default”: true
},
{
“type”: “text”,
“id”: “video_tab_title”,
“label”: “Video Tab Title”,
“default”: “Video”
},

{
“type”: “textarea”,
“id”: “custom_tab_video”,
“label”: “iframe Youtube”
},
{
“type”: “checkbox”,
“id”: “display_size_chart”,
“label”: “Display Size Chart?”,
“default”: true
},

{
“type”: “text”,
“id”: “custom_size_chart_title”,
“label”: “Custom Size Chart Title”,
“default”: “Size Chart”
},
{
“type”: “image_picker”,
“id”: “custom_size_chart”,
“label”: “Size Chart Image”
}
]
}
{% endschema %}

Furthe to my mail, please find my product-template.liquid

{% for image in product.images %}
{{ image.alt | escape }} {% assign on_sale = false %} {% if product.compare_at_price_min > product.price_min %} {% assign on_sale = true %} {% endif %} {% assign sold_out = true %} {% if product.available %} {% assign sold_out = false %} {% endif %} {% assign new = false %} {% for tag in product.tags %} {% assign tag_handle = tag | handle %} {% if tag_handle contains 'new' %} {% assign new = true %} {% endif %} {% endfor %} {% if on_sale or sold_out or new %}
{% if new %} {% for tag in product.tags %} {% assign tag = t | strip %} {% if tag contains 'new' %} {% include 'multilang' with tag %} {% endif %} {% endfor %} {% endif %} {% if on_sale %} {{ 'products.product.sale' | t }} {% endif %} {% if sold_out %} {{ 'products.product.sold_out' | t }} {% endif %}
{% endif %}
{% endfor %}
{% for image in product.images %} {% endfor %}
{% if section.settings.display_vendor %}

{{ product.vendor | link_to_vendor }}

{% endif %}

{% if settings.enable_multilang %} {{ product.title | split: '|' | first }} {{ product.title | split: '|' | last }} {% else %} {{ product.title | split: '|' | first }} {% endif %}

{% if section.settings.display_prev_next_product and collection %} {% if collection.previous_product %} {{ 'collections.toolbar.previous' | t }} {% endif %} {% if collection.next_product %} {{ 'collections.toolbar.next' | t }} {% endif %} {% endif %}

{% if section.settings.display_product_reviews %}

{% endif %}
{% if product.description contains ‘[countdown]’ %}
{% assign count_down_first = product.description | split:‘[/countdown]’ | first %}
{% assign count_down_final = count_down_first | split:‘[countdown]’ | last %}

{% if settings.enable_multilang %} {{ section.settings.text_countdown | split: '|' | first }} {{ section.settings.text_countdown | split: '|' | last }} {% else %} {{ section.settings.text_countdown | split: '|' | first }} {% endif %}
{% endif %} {% if section.settings.display_availability or section.settings.display_product_type or section.settings.display_vendor %}
{% if section.settings.display_availability %}

{% if section.settings.text_availability != blank %} {% if settings.enable_multilang %} {{ section.settings.text_availability | split: '|' | first }} {{ section.settings.text_availability | split: '|' | last }} {% else %} {{ section.settings.text_availability | split: '|' | first }} {% endif %} {% endif %} {% if product.selected_or_first_available_variant.inventory_management %} {% assign first_inventory = product.selected_or_first_available_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 %} {{ product.type }}

{% endif %} {% 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 }}

{% endif %}
{% endif %}

{% if product.description contains ‘[countdown]’ %}
{% assign des = product.description | split:‘[/countdown]’ | last %}

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

{% if product.description contains ‘

[Description]

’ %}
{% assign des1 = product.description | split:‘

[Description]

’ | last | split:‘

[/Description]

’ | first %}
{% if settings.enable_multilang %}

{{ des1 | split: '[lang2]' | first }}
{{ des1 | split: '[lang2]' | last }}
{% else %}
{{ des1 | split: '[lang2]' | first }}
{% endif %} {% else %} {% if settings.enable_multilang %}
{{ des | split: '[lang2]' | first | strip_html | truncatewords: 50 }}
{{ des | split: '[lang2]' | last | strip_html | truncatewords: 50 }}
{% else %}
{{ des | split: '[lang2]' | first | strip_html | truncatewords: 50 }}
{% endif %}

{% endif %}

{% elsif section.settings.show_desc == ‘full’ %}
{% if settings.enable_multilang %}

{{ des | split: '[lang2]' | first }}
{{ des | split: '[lang2]' | last }}
{% else %}
{{ des | split: '[lang2]' | first }}
{% endif %} {% endif %} {% else %} {% if section.settings.show_desc == 'short' %} {% if product.description contains '

[Description]

' %} {% assign des1 = product.description | split:'

[Description]

' | last | split:'

[/Description]

' | first %} {% if settings.enable_multilang %}
{{ des1 | split: '[lang2]' | first }}
{{ des1 | split: '[lang2]' | last }}
{% else %}
{{ des1 | split: '[lang2]' | first }}
{% endif %} {% else %} {% if settings.enable_multilang %}
{{ des | split: '[lang2]' | first | strip_html | truncatewords: 50 }}
{{ des | split: '[lang2]' | last | strip_html | truncatewords: 50 }}
{% else %}
{{ des | split: '[lang2]' | first | strip_html | truncatewords: 50 }}
{% endif %} {% endif %} {% elsif section.settings.show_desc == 'full' %} {% if settings.enable_multilang %}
{{ product.description | split: '[lang2]' | first }}
{{ product.description | split: '[lang2]' | last }}
{% else %}
{{ product.description | split: '[lang2]' | first }}
{% endif %} {% endif %} {% endif %}
[data-app="eastsideco_sizeGuides"] a { text-decoration: underline; } <form action="/cart/add" method="post" enctype="multipart/form-data" id="add-to-cart-form"

{% comment %}

{% if section.settings.display_size_chart %}

{% include ‘multilang’ with section.settings.custom_size_chart_title %}

{{ section.settings.custom_size_chart_title }}

{% endif %}

{% endcomment %}

{% assign variantCount = product.variants | size %}
{% if product.available %}
{% if variantCount > 1 %}
{% if settings.use_color_swatch %}
{% for option in product.options %}
{% include ‘swatch’ with option %}
{% endfor %}
{% endif %}

{% else %}

{% 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.available %}
<label for=“quantity” {% if settings.enable_multilang %}data-translate=“cart.label.quantity”{%endif%}>{{ ‘cart.label.quantity’ | t }}:

{% if section.settings.display_subtotal and product.available %}

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

<input type=“submit” name=“add” class=“btn” {% if settings.enable_multilang %}data-translate=“products.product.add_to_cart”{%endif%} id=“product-add-to-cart” value=“{{ ‘products.product.add_to_cart’ | t }}”>
{% else %}
<input type=“submit” name=“add” class=“btn” {% if settings.enable_multilang %}data-translate=“products.product.unavailable”{%endif%} id=“product-add-to-cart” disabled value=“{{ ‘products.product.unavailable’ | t }}”>
{% endif %}

{% include ‘wishlist-product’ %}

{% if section.settings.display_product_detail_tag %}

{{ 'blogs.article.tags' | t }} {% for tag in product.tags %} / {{ tag }} {% endfor %}
{% endif %}

{% if section.settings.display_product_detail_share %}
{% comment %}
{% include ‘share’ with product %}
{% endcomment %}

{% if settings.enable_multilang %}

{{ section.settings.text_share | split: '|' | first }}

{{ section.settings.text_share | split: '|' | last }}

{% else %}

{{ section.settings.text_share | split: '|' | first }}

{% endif %}
{% endif %}

{% if section.settings.show_tab == ‘vertical’ %}

{% if section.settings.display_product_detail_description %}

{% if product.description contains ‘[countdown]’ %}
{% assign des = product.description | split:‘[/countdown]

’ | last %}

{% if des contains ‘

[Description]

’%}
{% assign des = des | split:‘

[Description]

’ | first %}
{% endif %}
{% else %}
{% assign des = product.description %}

{% if des contains ‘

[/Description]

’%}
{% assign des = des | split:‘

[Description]

’ | first %}
{% endif %}
{% endif %}

{% if settings.enable_multilang %}

{{ des | split: '[lang2]' | first }}
{{ des | split: '[lang2]' | last }}
{% else %}
{{ des | split: '[lang2]' | first }}
{% endif %} {% if section.settings.download_file !=blank %} {% if section.settings.download_icon != blank %} Download User Guide {% endif %} {% endif %}
{% endif %}

{% if section.settings.display_custom_tab %}

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

{% if section.settings.display_custom_video %}

{% endif %}

{% if section.settings.display_product_reviews %}

{% comment %} Add product review widget, must install Product Review App: [https://apps.shopify.com/product-reviews](https://apps.shopify.com/product-reviews) {% endcomment %}
{{ product.metafields.spr.reviews }}
{% endif %}
{% endif %}

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

{% if section.settings.display_product_detail_description %}

{% if product.description contains ‘[countdown]’ %}
{% assign des = product.description | split:‘[/countdown]

’ | last %}

{% if des contains ‘

[Description]

’%}
{% assign des = des | split:‘

[Description]

’ | first %}
{% endif %}
{% else %}
{% assign des = product.description %}

{% if des contains ‘

[Description]

’%}
{% assign des = des | split:‘

[Description]

’ | first %}
{% endif %}
{% endif %}

{% if settings.enable_multilang %}
{{ des | split: '[lang2]' | first }}
{{ des | split: '[lang2]' | last }}
{% else %}
{{ des | split: '[lang2]' | first }}
{% endif %}
{% endif %}

{% if section.settings.display_custom_tab %}

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

{% if section.settings.display_custom_video %}

{{ section.settings.custom_tab_video }}
{% endif %} {% if section.settings.display_product_reviews %}
{% comment %} Add product review widget, must install Product Review App: [https://apps.shopify.com/product-reviews](https://apps.shopify.com/product-reviews) {% endcomment %}
{{ product.metafields.spr.reviews }}
{% endif %}
{% endif %}

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

{% schema %}
{
“name”: “Product Detail”,
“settings”: [
{
“type”: “radio”,
“id”: “style_moreview”,
“label”: “Horizontal Moreview or Vertical Moreview”,
“options”: [
{
“value”: “horizontal”,
“label”: “Horizontal Moreview”
},
{
“value”: “vertical”,
“label”: “Vertical Moreview”
}
],
“default”: “vertical”
},
{
“type”: “checkbox”,
“id”: “display_prev_next_product”,
“label”: “Display Prev/Next Product?”,
“default”: true
},

{
“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”: “checkbox”,
“id”: “display_vendor”,
“label”: “Display Vendor?”,
“default”: true
},
{
“type”: “text”,
“id”: “text_vendor”,
“label”: “Text Vendor”,
“default”: “Vendor”
},
{
“type”: “text”,
“id”: “text_countdown”,
“label”: “Text Countdown”,
“default”: “Limited-Time Offers, End in:”
},
{
“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”: “display_subtotal”,
“label”: “Display Subtotal?”,
“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”: “text_share”,
“label”: “Text Share”
},
{
“type”: “radio”,
“id”: “show_tab”,
“label”: “Horizontal Tab or Vertical Tab”,
“options”: [
{
“value”: “horizontal”,
“label”: “Horizontal 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”: “Product 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”: “checkbox”,
“id”: “display_custom_tab”,
“label”: “Display Custom Tab?”,
“default”: true
},
{
“type”: “text”,
“id”: “custom_tab_title”,
“label”: “Custom Tab Title”,
“default”: “Shipping & Returns”
},
{
“type”: “textarea”,
“id”: “custom_tab_content”,
“label”: “Custom Tab HTML Code”
},
{
“type” : “header”,
“content” : “Tab Video”
},
{
“type”: “checkbox”,
“id”: “display_custom_video”,
“label”: “Display Custom Video?”,
“default”: true
},
{
“type”: “text”,
“id”: “video_tab_title”,
“label”: “Video Tab Title”,
“default”: “Video”
},

{
“type”: “textarea”,
“id”: “custom_tab_video”,
“label”: “iframe Youtube”
},
{
“type”: “checkbox”,
“id”: “display_size_chart”,
“label”: “Display Size Chart?”,
“default”: true
},

{
“type”: “text”,
“id”: “custom_size_chart_title”,
“label”: “Custom Size Chart Title”,
“default”: “Size Chart”
},
{
“type”: “image_picker”,
“id”: “custom_size_chart”,
“label”: “Size Chart Image”
}
]
}
{% endschema %}

Hi,

My cart is not working properly, it just keeps on loading please help.

My website is live http://highheelhierarchy.com/

My add to cart is only working on some products can anyone explain why?

maxaan ka caawiyaa

Is this something that already would come with the app or is this something that needs to be added additionally?