Why is my Thalia theme duplicating product descriptions?

Hello All,

I am using Thalia as my main theme and for the most part it has worked great. However, I am having problems with my description being copied over twice. Once to the right of the main product pictures and then again down below. Is there a problem with the coding or is there a way I can create two separate descriptions one short one lengthy?

My store link is:

https://coziheat.com/

Hello @CoziHeat ,
Please share your theme product-template.liquid code.

@CoziHeat

Please share your theme sections/product-template.liquid OR sections/main-product-template.liquid code.

Thanks!

{% assign current_variant = product.selected_or_first_available_variant %}
{% assign enable_zoom = true %}
{% assign product_img_size = settings.img_size_product %}
{% assign productDescription = product.description | split:“”%}

.mobile { display:none; } .pc { display:flex; } @media only screen and (max-width: 800px) { .mobile { display:flex; } .pc { display:none; } #button-cart { position: fixed; bottom: 0; height: 60px; left: 0; z-index:150; } }
{% for image in product.images %}
{{ image.alt | escape }}
{% endfor %}
{% for image in product.images %}
{{ image.alt | escape }}
{% endfor %}

{{ product.title }}

{% if product.selected_or_first_available_variant.price < product.selected_or_first_available_variant.compare_at_price %}

{{ product.selected_or_first_available_variant.compare_at_price | money }}


{{ product.selected_or_first_available_variant.price | money }}

{% else %}

{{ product.selected_or_first_available_variant.price | money }}

{% endif %}

{{ productDescription | first }}

{% if product.available and product.variants.size > 1 %} {% for option in product.options %} {% include 'swatch' with option %} {% endfor %} {% endif %}
{% if section.settings.product_quantity_enable %}
{% if product.available %}
{% endif %}
{% unless current_variant.available %} {{ 'products.product.sold_out' | t }} {% else %} {{ 'products.product.add_to_cart' | t }} {% endunless %}
{% endif %} {% if section.settings.product_quantity_message %} {% endif %}
{{ 'products.product.sku' | t }}: {{ current_variant.sku }} {% if section.settings.product_vendor_enable %} {{ 'products.product.brand' | t }}: {{ product.type }} {% endif %} {{ 'products.product.tags' | t }}: {% for tag in product.tags %} {% unless tag contains '_' %} {{ tag }} {% unless forloop.last %}, {% endunless %} {% endunless %} {% endfor %} {% assign current_variant = product.selected_or_first_available_variant %}
{% comment %}
{{ 'products.product.description' | t }}

{{ productDescription | last }}

{% if section.settings.show_third_tab %}
{{ section.settings.third_tab_title }}

{{ section.settings.third_tab_text }}

{% endif %} {% if section.settings.product_reviews_enable %}
{{ 'products.product.reviews' | t }}

{% include 'product-review' %}

{% endif %} {% endcomment %}
{{ 'products.product.description' | t }} {% if section.settings.product_reviews_enable %} {{ 'products.product.reviews' | t }} {% endif %} {% if section.settings.show_third_tab %} {{ section.settings.third_tab_title }} {% endif %}
{{ productDescription | last }}

{% if section.settings.product_reviews_enable %}

{% include 'product-review' %}
{% endif %} {% if section.settings.show_third_tab %}
{{ section.settings.third_tab_text }}
{% endif %}
{% include 'related-products' %} {{ 'option_selection.js' | shopify_asset_url | script_tag }}
{% schema %}
{
“name”: “Product page”,
“settings”: [
{
“type”: “checkbox”,
“id”: “show_third_tab”,
“label”: “Show Extra Tab”,
“default”:true
},
{
“type”: “text”,
“id”: “third_tab_title”,
“label”: “Extra Tab Title”
},
{
“type”: “textarea”,
“id”: “third_tab_text”,
“label”: “Third Tab Text”,
“info”: “Use basic HTML to format text”
},
{
“type”: “checkbox”,
“id”: “product_vertical_related”,
“label”: “Show related products Vertically?”,
“default”: true
},
{
“type”: “checkbox”,
“id”: “product_quantity_enable”,
“label”: “Show quantity selector”
},
{
“type”: “checkbox”,
“id”: “product_quantity_message”,
“label”: “Show remaining quantity message”,
“info”: “Shown when less than 10 items are in stock”
},
{
“type”: “checkbox”,
“id”: “product_vendor_enable”,
“label”: “Show product vendor”,
“default”: true
},
{
“type”: “checkbox”,
“id”: “product_show_saved_amount”,
“label”: “Show saved amount”,
“default”: true
},
{
“type”: “checkbox”,
“id”: “product_show_compare_at_price”,
“label”: “Show compare at price”,
“default”: false
},
{
“type”: “checkbox”,
“id”: “related_products_enable”,
“label”: “Show related products”
},
{
“type”: “checkbox”,
“id”: “product_reviews_enable”,
“label”: “Enable product reviews”,
“info”: “Install the free Shopify Product Reviews app to add product reviews.”
}
]
}
{% endschema %}

{% stylesheet %}
{% endstylesheet %}

{% javascript %}
{% endjavascript %}

Hi @CoziHeat ,

You can remove description on the top right by removing this code

Awesome. I’ll try that.

1 Like