Sorry, I missed this message @dmwwebartisan , Section + Snippets code below:
I have removed the solution you suggested from our store for the moment.
{%- include 'product' -%}
{%- if section.settings.show_cart_bar -%}
{%- include 'cart-bar' -%}
{%- endif -%}
{%- if section.settings.show_recently_viewed -%}
{%- include 'products-recently-viewed' -%}
{%- endif -%}
{% schema %}
{
"name": "Product pages",
"settings": [
{
"type": "select",
"id": "image_layout",
"label": "Image display",
"default": "stacked",
"options": [
{ "value": "thumbnails", "label": "Thumbnails" },
{ "value": "stacked", "label": "Stacked" }
]
},
{
"type": "checkbox",
"id": "product_sticky_enable",
"label": "Enable sticky description",
"info": "Works best with shorter descriptions.",
"default": true
},
{
"type": "checkbox",
"id": "show_breadcrumbs",
"label": "Show breadcrumbs",
"default": true
},
{
"type": "checkbox",
"id": "show_share_buttons",
"label": "Show social sharing buttons",
"default": true
},
{
"type": "checkbox",
"id": "product_show_vendor",
"label": "Show vendor",
"default": false
},
{
"type": "checkbox",
"id": "show_payment_button",
"label": "Show smart checkout button",
"info": "Customers will see their preferred accelerated checkout method.",
"default": true
},
{
"type": "header",
"content": "Cart bar"
},
{
"type": "checkbox",
"id": "show_cart_bar",
"label": "Show Cart bar",
"default": true,
"info": "Visible on larger than 1280px screens only"
},
{
"type": "select",
"id": "cart_bar_position",
"label": "Position",
"default": "bottom",
"options": [
{ "value": "top", "label": "Top" },
{ "value": "bottom", "label": "Bottom" }
]
},
{
"type": "header",
"content": "Product info tabs"
},
{
"type": "checkbox",
"id": "tabs_enable",
"label": "Enable tabs",
"default": false
}
],
"blocks": [
{
"type": "tab_description",
"name": "Description H6",
"limit": 1,
"settings": [
{
"type": "paragraph",
"content": "Heading 6 titles will be converted to tab headings, tab content will be everything between the Heading 6 titles. [Product Tabs Documentation](https://help.invisiblethemes.com/article/11-tabs)."
}
]
},
{
"type": "tab_richtext",
"name": "Text",
"settings": [
{
"type": "text",
"id": "title",
"label": "Label",
"default": "Text tab",
"info": "Example: Warranty policy"
},
{
"type": "richtext",
"id": "raw_content",
"label": "Tab content",
"default": "
This tab content type will accept **rich text** to help with adding styles and links to additional pages or content. Use this to add supplementary information to help your buyers.
"
}
]
},
{
"type": "tab_html",
"name": "HTML",
"settings": [
{
"type": "text",
"id": "title",
"label": "Label",
"default": "HTML tab",
"info": "Example: Sizing video"
},
{
"type": "html",
"id": "raw_content",
"label": "Tab content",
"default": "
This tab content type will accept HTML code for advanced styling. Use this to add video embeds, or other advanced HTML content.
"
}
]
},
{
"type": "tab_page",
"name": "Page",
"settings": [
{
"type": "text",
"id": "title",
"label": "Label",
"default": "Page tab",
"info": "Example: Size chart"
},
{
"type": "page",
"id": "raw_content",
"label": "Tab content"
}
]
},
{
"type": "product_logos",
"name": "Product Logos",
"settings": [
{
"type": "product",
"id": "product",
"label": "Product"
},
{
"type": "header",
"content": "Select Logos"
},
{
"type": "checkbox",
"id": "you_magazine",
"label": "You Magazine"
},
{
"type": "checkbox",
"id": "independent",
"label": "Independent"
},
{
"type": "checkbox",
"id": "gq",
"label": "GQ"
},
{
"type": "checkbox",
"id": "mail_online",
"label": "Mail Online"
},
{
"type": "checkbox",
"id": "top_sante",
"label": "Top Sante"
},
{
"type": "checkbox",
"id": "bbbronze_awards",
"label": "BBBronze Awards"
}
]
}
]
}
{% endschema %}
{%- assign current_variant = product.selected_or_first_available_variant -%}
{%- assign featured_image = current_variant.featured_image | default: product.featured_image -%}
{%- if section.settings.show_breadcrumbs -%}
{%- endif -%}
{%- assign featured_image = current_variant.featured_image | default: product.featured_image -%}
{%- assign img_api = featured_image | img_url: '1x1' | replace: '_1x1.', '_{width}x.' -%}
{% if featured_image.alt contains 'youtube.com' or featured_image.alt contains 'vimeo.com' %}
{% include 'icon-play' %}
►
{% endif %}
{% for image in product.images %}
{% unless image contains featured_image %}
{%- assign img_api = image | img_url: '1x1' | replace: '_1x1.', '_{width}x.' -%}
{% if image.alt contains 'youtube.com' or image.alt contains 'vimeo.com' %}
{% include 'icon-play' %}
►
{% endif %}
{% endunless %}
{% endfor %}
# {{ product.title }}
current_variant.price %} class="product__price--sale"{% endif %}>
{{ current_variant.price | money }}
{% if product.compare_at_price_max > product.price %}
{{ 'products.product.regular_price' | t }}
<s>
{% if current_variant.compare_at_price > current_variant.price %}
{{ current_variant.compare_at_price | money }}
{% endif %}
</s>
{% endif %}
{%- if settings.enable_product_reviews -%}
{%- if settings.enable_yotpo and settings.yotpo_ID != '' -%}
{%- else -%}
{{ 'products.product.reviews_link' | t }}
{%- endif -%}
{%- endif -%}
{% include 'product-form', buybutton_setting: section.settings.show_payment_button %}
{%- assign description_position = '' -%}
{%- assign product_description_content = product.description -%}
{%- assign has_tabs = false -%}
{%- for block in section.blocks -%}
{%- if block.type == "tab_description" -%}
{%- assign has_tabs = true -%}
{%- endif -%}
{%- endfor -%}
{%-if has_tabs -%}
{%- assign product_description_content = product_description_content | split: '###### ' | first -%}
{%- endif -%}
{{ product_description_content }}
{%- if section.blocks.size > 0 and section.settings.tabs_enable -%}
{% include 'product-tabs' %}
{%- endif -%}
{% if section.settings.product_show_vendor and product.vendor %}
{{ 'products.product.vendor' | t }}: {{ product.vendor }}
{%- endif -%}
{% assign productFound = false %}
{%- if section.blocks.size > 0 -%}
{%- for block in section.blocks -%}
{%- if block.type == "product_logos" -%}
{% if product.handle == block.settings.product %}
{% assign productFound = true %}
{% endif %}
{% endif %}
{% endfor %}
{% if productFound %}
## As Featured In:
{%- for block in section.blocks -%}
{%- if block.type == "product_logos" -%}
{% if product.handle == block.settings.product %}
{% if block.settings.you_magazine %}
-
{% endif %}
{% if block.settings.independent %}
-
{% endif %}
{% if block.settings.gq %}
-
{% endif %}
{% if block.settings.mail_online %}
-
{% endif %}
{% if block.settings.top_sante %}
-
{% endif %}
{% if block.settings.bbbronze_awards %}
-
{% endif %}
{% break %}
{% endif %}
{% endif %}
{% endfor %}
{% comment %}
- 
- 
- 
- 
{% endcomment %}
{% endif %}
{% endif %}
- 
- 
- 
- 
{% if section.settings.show_share_buttons %}
{% include 'social-sharing', share_title: product.title, share_permalink: product.url, share_image: featured_image %}
{% endif %}
{%- if settings.enable_product_reviews -%}
{{ product.metafields.spr.reviews }}
{%- endif -%}
{% unless product == empty %}
{% endunless %}