Issue with product description section

Solved
Highlighted
Tourist
7 0 1

Hi guys, I have two product descriptions showing on my product page view here: https://www.thehomebeautyedit.com/products/at_home_salon

Can anybody tell me what part of the liquid file I need to remove?

{% assign enable_history = true %}

<script
  type="application/json"
  data-section-type="page-product"
  data-section-id="{{ section.id }}"
  data-section-data
>
  {% include 'product-json' %}
</script>

<div>
  {% assign productTextStyle = settings.product_text_style %}
  {% assign productImageFlip = settings.product_image_flip %}
  {% assign productsPerRow = section.settings.products_in_row %}
  {% assign productColumnLayout = section.settings.product_column_layout %}
  {% assign selected_variant = product.selected_or_first_available_variant | default: product %}
  {% assign selected_media = selected_variant.featured_media | default: product.featured_media %}

  {% assign variant = product.selected_or_first_available_variant %}
  {% if product.media.size > 0 %}
    {% assign columns = section.settings.product_column_layout %}
  {% else %}
    {% assign columns = "single-column" %}
  {% endif %}

  <div class="product-wrap {{columns}} clearfix" itemscope itemtype="http://schema.org/Product">

    {% assign numModules = 4 %}

    {% for i in (1..numModules) %}
      {% capture moduleNames %}{{ moduleNames }}|product-module-{{i}}{% endcapture %}
    {% endfor %}

    {% assign modules = moduleNames | remove_first: "|" | split: "|" %}
    {% assign moduleOrder = "" %}

    {% for module in modules %}
      {% capture moduleOrder %}{{ moduleOrder }}-{{ settings[module] }}{% endcapture %}
    {% endfor %}

    {% comment %}
      Changing the following will rearrange the module order.
      Must have the prefixed '-'.
    {% endcomment %}
    {% assign moduleOrder = '-A-B-C-D' %}

    {% if productColumnLayout == "two-column" %}
      {% assign moduleOrder = moduleOrder | remove: "A" | prepend: "A-" %}
    {% endif %}
    {% assign modules = moduleOrder | remove_first: "-" | split: "-" %}

    {% for module in modules %}
      {% case module %}
        {% when 'A' %}
          {%
            include 'product-gallery',
            product: product,
            selected_media: selected_media,
            enable_image_zoom: section.settings.enable_zoom,
          %}
        {% when 'B' %}
          {% include 'product-form' %}
        {% when 'C' %}
          {% include 'product-description' %}
        {% when 'D' %}
          {% include 'share-buttons' %}
      {% endcase %}
    {% endfor %}
  </div>
</div>

{% schema %}
{
  "name": "Product pages",
  "class": "page-product",
  "settings": [
    {
      "type": "checkbox",
      "id": "enable_product_quantity",
      "label": "Enable cart quantity box",
      "default": false
    },
    {
      "type": "checkbox",
      "id": "enable_send_to_cart",
      "label": "Enable cart redirection",
      "info": "Automatically send users to the Cart page after adding a product.",
      "default": false
    },
    {
      "type": "checkbox",
      "id": "show_spb",
      "label": "Show dynamic checkout button",
      "info": "Each customer will see their preferred payment method from those available on your store, such as PayPal or Apple Pay. [Learn more](https://help.shopify.com/manual/using-themes/change-the-layout/dynamic-checkout)",
      "default": true
    },
    {
      "type": "select",
      "id": "product_column_layout",
      "label": "Layout",
      "options": [
        {
          "value": "single-column",
          "label": "Single column"
        },
        {
          "value": "two-column",
          "label": "Double column"
        }
      ],
      "default": "single-column"
    },
    {
      "type": "header",
      "content": "Media"
    },
    {
      "type": "paragraph",
      "content": "Learn more about [media types](https://help.shopify.com/en/manual/products/product-media/product-media-types)"
    },
    {
      "type": "checkbox",
      "id": "enable_zoom",
      "label": "Enable image zoom",
      "default": true
    },
    {
      "type": "checkbox",
      "id": "gallery_enable_video_autoplay",
      "label": "Enable video autoplay",
      "default": true
    },
    {
      "type": "checkbox",
      "id": "gallery_enable_video_looping",
      "label": "Enable video looping",
      "default": true
    }
  ]
}

{% endschema %}

 Thanks in advance!

0 Likes
Highlighted
Shopify Partner
2317 504 655

Hey @jamescox1981,

I don't know which description you would like to go with. But you have to edit sections/product-template.liquid.

Your given code is different OR find out sections liquid files related to product description.

Thanks!

If helpful then please Like and Accept Solution.
Do you need custom changes on store ? Hire me.
Feel free to Contact me on dmw.webartisan@gmail.com
Follow us on Instagram @dmw.webartisan
0 Likes
Highlighted
Shopify Partner
1022 211 256

line no. 65

{% include 'product-description' %}

Want to modify or custom changes on store hire me.
My Email: guleriathakur43@gmail.com
Skype: navrocks1
If helpful then please Like and Accept Solution.
If you are happy and want to donate small Click here (Its my paypal)
0 Likes
Highlighted
Tourist
7 0 1

Thank you, but we would like to remove the 1st instance of the description rather than the 2nd. Any ideas?

0 Likes
Highlighted
Shopify Partner
2317 504 655

Hey @jamescox1981,

Find product-description.liquid in sections or snippets folder. From there you can remove the description.

Thanks!

If helpful then please Like and Accept Solution.
Do you need custom changes on store ? Hire me.
Feel free to Contact me on dmw.webartisan@gmail.com
Follow us on Instagram @dmw.webartisan
0 Likes
Highlighted
Shopify Partner
1022 211 256

This is an accepted solution.

Edit product-form.liquid you can find this file under snippets 
Once you reach there search for {{ product.description }} or {% include 'product-description' %} and remove it.



Want to modify or custom changes on store hire me.
My Email: guleriathakur43@gmail.com
Skype: navrocks1
If helpful then please Like and Accept Solution.
If you are happy and want to donate small Click here (Its my paypal)
1 Like
Tourist
7 0 1

Amazing! Thank you

0 Likes