For no apparent reason (no change in code or new app install), the product description on my product pages disappeared. It was working fine for weeks
Any suggestions?
https://www.sow.bio/collections/oil/products/chia-oil
The product description is visible in Shopify
and If I go to the page and use inspect I can see the content in the div
class="clearfix product_form …
below that is the div class=“description bottom” but with no content, I am not sure if that is normal…
I have tried in Shopify > themes > customize to move the description to the top to see if anything changes, but no results
also, I have checked the product-template.liquid …
{% if section.settings.product_description_position == “top” %}
{% if product.description != blank %}
{% if product.description contains '' %}{{ product.description | split: '' | first }}{% else %}{% include 'product-description-tabs' %}{% endif %}
{% endif %}
{% endif %}
{% unless collection_handles contains ‘coming-soon’ %}
{% include ‘product-form’ with ‘product’ %}
{% endunless %}
{% if section.settings.product_description_position == “bottom” %}
{% if product.description != blank %}
{% if product.description contains '' %}{{ product.description | split: '' | first }}{% else %}{% include 'product-description-tabs' %}{% endif %}
{% endif %}
{% endif %}
tim_1
2
Here it is:
{% if product.description contains '' %}
{{ product.description | split: '' | first }}
{% else %}
{% include 'product-description-tabs' %}
{% endif %}
So, what’s in product-description-tabs Snippet?
1 Like
Thanks for your reply, there are 2 snippets from the easytabs app
product-description-tabs-bottom.liquid
{% if product-description-tabs-bottom %}{% assign desc = product-description-tabs-bottom %}{% else %}{% assign desc = product.description %}{% endif %}
{% capture td %}{% include "product-description-tabs" with desc %}{% endcapture %}
{% assign td_pure_text = td | split: '
**product-description-tabs-top.liquid**
```markup
{% if product-description-tabs-top %}{% assign desc = product-description-tabs-top %}{% else %}{% assign desc = product.description %}{% endif %}
{% capture td %}{% include "product-description-tabs" with desc %}{% endcapture %}
{% assign td_pure_text = td | split: '
Hi again,
I was not using easytabs so I just deleted the if…else and it worked, no idea why all of a sudden it stopped working, but thanks for helping out!
{% if section.settings.product_description_position == "top" %}
{% if product.description != blank %}
{{ product.description | split: '' | first }}
{% endif %}
{% endif %}
{% unless collection_handles contains 'coming-soon' %}
{% include 'product-form' with 'product' %}
{% endunless %}
{% if section.settings.product_description_position == "bottom" %}
{% if product.description != blank %}
{{ product.description | split: '' | first }}
{% endif %}
{% endif %}