and If I go to the page and use inspect I can see the content in the div
Here it is:
{% if product.description contains '<!-- split -->' %}
{{ product.description | split: '<!-- split -->' | first }}
{% else %}
{% include 'product-description-tabs' %}
{% endif %}
So, what's in product-description-tabs Snippet?
Thanks for your reply, there are 2 snippets from the easytabs app
product-description-tabs-bottom.liquid
<!-- DO NOT EDIT THIS SNIPPET - it's generated automatically and may be overwritten at any time -->
{% 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: '<div class="easytabs-container' | first | prepend: ' ' %}
{% if td_pure_text == ' ' %}{% assign td_bottom = td %}{% else %}{% assign td_pure_text = td_pure_text | remove_first: ' ' %}{% assign td_bottom = td | replace: td_pure_text, '' %}{% endif %}
{{ td_bottom }}
product-description-tabs-top.liquid
<!-- DO NOT EDIT THIS SNIPPET - it's generated automatically and may be overwritten at any time -->
{% 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: '<div class="easytabs-container' | first %}
{{ td_pure_text }}
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 %}
<div class="description" itemprop="description">
{{ product.description | split: '<!-- split -->' | first }}
</div>
{% 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 %}
<div class="description bottom" itemprop="description">
{{ product.description | split: '<!-- split -->' | first }}
</div>
{% endif %}
{% endif %}
User | Count |
---|---|
24 | |
20 | |
17 | |
16 | |
13 |