error message

bmcgrier330
New Member
1 0 0

In the description area on my site (which is Simple theme) there is an error Liquid error could not find asset snippets/product-description.liquid. 

0 Likes
Speedimize
Shopify Partner
292 47 143

Hi @bmcgrier330 

Aibek is here from Speedimize.io

Welcome to Shopify Community. 

snippets/product-description.liquid - this snippet is not present in your theme files. Maybe someone deleted it.

If anything below is the content of product-description. liquid from the Simple theme:

{% if product.description.size > 0 %}
  {% unless section.settings.show_extra_tab == false or pages[section.settings.extra_tab_content] == empty %}
    {% if section.settings.product_description_position == position %}
      <div class="tabs">
        <ul class="list--inline tab-switch__nav section-header">
          <li>
            <a href="#description" data-link="description" class="tab-switch__trigger section-header__title">{{ 'products.product.description' | t }}</a>
          </li>
          <li>
            <a href="#extra" data-link="extra" class="tab-switch__trigger section-header__title">{{ pages[section.settings.extra_tab_content].title }}</a>
          </li>
        </ul>
        <div id="description" class="tab-switch__content" data-content="description">
          <div class="rte" itemprop="description">
            {{ product.description }}
          </div>
        </div>
        <div id="extra" class="tab-switch__content" data-content="extra">
          <div class="rte">
            {{ pages[section.settings.extra_tab_content].content }}
          </div>
        </div>
      </div>
    {% endif %}
  {% else %}
    {% if product.description contains '<!-- break -->' %}
      {% if position == 'right' %}
        <div class="product-single__description rte" itemprop="description">
          {{ product.description | split: '<!-- break -->' | first }}
        </div>
      {% elsif position == 'below' %}
        <div class="product-single__description rte">
          {{ product.description | split: '<!-- break -->' | last }}
        </div>
      {% endif %}
    {% elsif section.settings.product_description_position == 'right' and position == 'right' %}
      <div class="product-single__description rte" itemprop="description">
        {{ product.description }}
      </div>
    {% elsif section.settings.product_description_position == 'below' and position == 'below' %}
      <div class="product-single__description rte" itemprop="description">
        {{ product.description }}
      </div>
    {% endif %}
  {% endunless %}
{% endif %}

Create this snippet http://joxi.ru/brRL173u7b7xx2

If you don't need this snippet, then look for the product-description.liquid connection in product-template.liquid and delete it.

 

Hope that helps you.

 

We Speedimize your store
Have a problem with speed performance, send me email here: hello@speedimize.io


If our advice was helpful please LIKE or ACCEPT SOLUTION
0 Likes