Product Descriptions are not showing- Simple Theme

rjpuckett88
New Member
5 0 0

My product descriptions are not showing at all.  Can ya'll help me??  I am using the Simple theme.

0 Likes
g33kgirl
Shopify Partner
255 67 77

Hi @rjpuckett88 what do you mean by 'not showing at all'. Can you share your website url?

If you found my answer helpful, please LIKE and ACCEPT.
buymeacoffee.com/g33kgirl ☕
If you're not comfortable with code, please modify code files at your own risk.
Do NOT give out your passwords unless absolutely necessary.
0 Likes
rjpuckett88
New Member
5 0 0
https://puckettfanshop.com/.

I have product descriptions for every product and a sizing chart for a lot
of them, but they are not showing when you look at my product pages.
0 Likes
rjpuckett88
New Member
5 0 0

https://puckettfanshop.com/

I have product descriptions for every one of my products and sizing charts on many of them, but they are not showing up on my product pages.

0 Likes
g33kgirl
Shopify Partner
255 67 77

@rjpuckett88 did you make any changes to Sections -> product-template.liquid file? Looks like an app must have modified your template and messed it up.

Can you share your Sections -> product-template.liquid code here?

If you found my answer helpful, please LIKE and ACCEPT.
buymeacoffee.com/g33kgirl ☕
If you're not comfortable with code, please modify code files at your own risk.
Do NOT give out your passwords unless absolutely necessary.
0 Likes
rjpuckett88
New Member
5 0 0

Is this what you need?

<!-- /templates/product.liquid -->
<div itemscope itemtype="http://schema.org/Product" id="ProductSection" data-section-id="{{ section.id }}" data-section-type="product-template" data-image-zoom-type="{{ section.settings.product_image_zoom_type }}" data-show-extra-tab="{{ section.settings.show_extra_tab }}" data-extra-tab-content="{{ section.settings.extra_tab_content }}" data-cart-enable-ajax="{{ settings.cart_enable_ajax }}" data-enable-history-state="true">

<meta itemprop="name" content="{{ product.title }}">
<meta itemprop="url" content="{{ shop.url }}{{ product.url }}">
<meta itemprop="image" content="{{ product.featured_image.src | img_url: 'grande' }}">

{% comment %}
Get first variant in stock, or deep linked one
{% endcomment %}
{% assign current_variant = product.selected_or_first_available_variant %}
{%- assign featured_image = current_variant.featured_image | default: product.featured_image -%}

<div class="grid product-single">

<div class="grid__item medium-up--one-half">
{% for image in product.images %}
{% capture img_id %}ProductImage-{{ image.id }}{% endcapture %}
{% capture wrapper_id %}ProductImageWrapper-{{ image.id }}{% endcapture %}
{%- assign img_url = image | img_url: '1x1' | replace: '_1x1.', '_{width}x.' -%}

{% include 'image-style' with image: image, width: 720, height: 600, small_style: true, wrapper_id: wrapper_id, img_id: img_id %}

<div id="{{ wrapper_id }}" class="product-single__featured-image-wrapper supports-js{% unless featured_image == image %} hidden{% endunless %}" data-image-id="{{ image.id }}">
<div class="product-single__photos" data-image-id="{{ image.id }}" style="padding-top:{{ 1 | divided_by: image.aspect_ratio | times: 100}}%;">
<img id="{{ img_id }}"
class="product-single__photo lazyload{% unless featured_image == image %} lazypreload{% endunless %}{% if section.settings.product_image_zoom_type == 'lightbox' %} lightbox{% endif %}"
{% if section.settings.product_image_zoom_type == 'zoom-in' %} data-zoom="{{ image | img_url: '1024x1024' }}"{% endif %}
src="{{ image | img_url: '200x200' }}"
data-src="{{ img_url }}"
data-widths="[180, 360, 470, 600, 750, 940, 1080, 1296, 1512, 1728, 2048]"
data-aspectratio="{{ image.aspect_ratio }}"
data-sizes="auto"
alt="{{ image.alt | escape }}">
</div>
{% if product.compare_at_price_max > product.price %}
<span class="badge badge--sale"><span>{{ 'products.product.on_sale' | t }}</span></span>
{% endif %}
</div>
{% endfor %}

<noscript>
<img src="{{ featured_image | img_url: 'grande' }}" alt="{{ featured_image.alt | escape }}">
</noscript>

{% if product.images.size > 1 %}
<ul class="product-single__thumbnails grid grid--uniform" id="ProductThumbs">

{% case product.images.size %}
{% when 2 %}
{% assign thumbnail_width = 'small--one-half medium-up--push-one-sixth medium-up--one-third' %}
{% when 4 %}
{% assign thumbnail_width = 'small--one-half medium-up--one-quarter' %}
{% else %}
{% assign thumbnail_width = 'small--one-third medium-up--one-third' %}
{% endcase %}

{% for image in product.images %}
<li class="grid__item {{ thumbnail_width }}">
<a href="{{ image.src | img_url: 'grande' }}" class="product-single__thumbnail" data-image-id="{{ image.id }}">
<img src="{{ image.src | img_url: 'compact' }}" alt="{{ image.alt | escape }}">
</a>
</li>
{% endfor %}

</ul>
{% endif %}

{% if section.settings.product_image_zoom_type == 'lightbox' %}
<ul class="gallery hidden">
{% for image in product.images %}
<li data-image-id="{{ image.id }}" class="gallery__item" data-mfp-src="{{ image | img_url: '2048x2048' }}"></li>
{% endfor %}
</ul>
{% endif %}
</div>

<div class="grid__item medium-up--one-half{% if product.images.size == 0%} medium-up--push-one-half{% endif %}">
<div class="product-single__meta small--text-center">
<h1 class="product-single__title" itemprop="name">{{ product.title }}</h1>

{% if section.settings.vendor_show %}
<p class="product-single__vendor" itemprop="brand">{{ product.vendor }}</p>
{% endif %}

<div itemprop="offers" itemscope itemtype="http://schema.org/Offer">
<meta itemprop="priceCurrency" content="{{ shop.currency }}">

<link itemprop="availability" href="http://schema.org/{% if current_variant.available %}InStock{% else %}OutOfStock{% endif %}">

<!-- Bold: Memberships (price) -->
{% include 'bold-memberships-price' %}
{% if bold_hide_item == false %}
<p class="product-single__prices">
{% if product.compare_at_price_max > product.price %}
<span id="ComparePriceA11y" class="visually-hidden">{{ 'products.product.sale_price' | t }}</span>
{% else %}
<span class="visually-hidden">{{ 'products.product.regular_price' | t }}</span>
{% endif %}
<span id="ProductPrice" class="product-single__price" itemprop="price" content="{{ current_variant.price | divided_by: 100.00 }}">
{{ current_variant.price | money }}
</span>

{% if product.compare_at_price_max > product.price %}
<span id="PriceA11y" class="visually-hidden">{{ 'products.product.regular_price' | t }}</span>
<s class="product-single__price--compare" id="ComparePrice">
{{ current_variant.compare_at_price | money }}
</s>
{% endif %}
</p>
{% endif %}
<!-- end Bold code -->


<form action="/cart/add" method="post" enctype="multipart/form-data" class="product-form">
<select name="id" id="ProductSelect-{{ section.id }}" class="product-single__variants">
{% for variant in product.variants %}
{% if variant.available %}
<option {% if variant == product.selected_or_first_available_variant %} selected="selected" {% endif %} data-sku="{{ variant.sku }}" value="{{ variant.id }}">{{ variant.title }} - {{ variant.price | money_with_currency }}</option>
{% else %}
<option disabled="disabled">
{{ variant.title }} - {{ 'products.product.sold_out' | t }}
</option>
{% endif %}
{% endfor %}
</select>

{% if section.settings.product_quantity_enable %}
<div class="product-single__quantity">
<label for="Quantity">{{ 'products.product.quantity' | t }}</label>
<input type="number" id="Quantity" name="quantity" value="1" min="1">
</div>
{% endif %}

<div class="product-single__cart-submit-wrapper">
<!-- Bold: Memberships (add to cart) -->
{% include 'bold-memberships-addtocart' %}
{% if bold_hide_item == false %}
<button type="submit" name="add" id="AddToCart" class="btn product-single__cart-submit btn--secondary{% if section.settings.add_to_cart_width == 'full_width' %} btn--full{% endif %}">
<span id="AddToCartText">{{ 'products.product.add_to_cart' | t }}</span>
<onclick="pintrk('track', 'addtocart');">
{% endif %}
<!-- end Bold code -->

</div>

</form>

</div>

{% if section.settings.product_description_position == 'right' %}
{%- assign position = 'right' -%}
{% include 'product-description' %}
{% endif %}

{% if section.settings.social_sharing_products %}
{% include 'social-sharing', share_title: product.title, share_permalink: product.url, share_image: product %}
{% endif %}
</div>
</div>

</div>

{% if section.settings.product_description_position == 'below' %}
{%- assign position = 'below' -%}
{% include 'product-description' %}
{% endif %}

{% include 'related-products' %}
</div>

{% unless product == empty %}
<script type="application/json" id="ProductJson-{{ section.id }}">
{{ product | json }}
</script>
{% endunless %}

<script>
// Override default values of shop.strings for each template.
// Alternate product templates can change values of
// add to cart button, sold out, and unavailable states here.
window.productStrings = {
addToCart: {{ 'products.product.add_to_cart' | t | json }},
soldOut: {{ 'products.product.sold_out' | t | json }},
unavailable: {{ 'products.product.unavailable' | t | json }}
}
</script>

{% schema %}
{
"name": "Product pages",
"settings": [
{
"type": "checkbox",
"id": "product_quantity_enable",
"label": "Show quantity selector"
},
{
"type": "checkbox",
"id": "vendor_show",
"label": "Show product vendor"
},
{
"type": "checkbox",
"id": "social_sharing_products",
"label": "Enable sharing for products",
"default": true
},
{
"type": "header",
"content": "Description"
},
{
"type": "select",
"id": "product_description_position",
"label": "Position",
"default": "below",
"options": [
{
"value": "right",
"label": "Right of images"
},
{
"value": "below",
"label": "Below images"
}
]
},
{
"type": "checkbox",
"id": "show_extra_tab",
"label": "Show a tab next to your product description",
"default": false
},
{
"type": "page",
"id": "extra_tab_content",
"label": "Tab content",
"info": "This page content will appear in the extra tab."
},
{
"type": "header",
"content": "Featured image"
},
{
"type": "select",
"id": "product_image_zoom_type",
"label": "Zoom type",
"options": [
{
"value": "lightbox",
"label": "Lightbox"
},
{
"value": "zoom-in",
"label": "Zoom-in"
},
{
"value": "",
"label": "No zoom"
}
]
},
{
"type": "header",
"content": "Add to cart button"
},
{
"type": "select",
"id": "add_to_cart_width",
"label": "Button size",
"options": [
{
"value": "regular",
"label": "Regular"
},
{
"value": "full_width",
"label": "Full width"
}
]
}
]
}
{% endschema %}

0 Likes
g33kgirl
Shopify Partner
255 67 77

Yes, thanks. I can see the product-description code in the template file. I don't see anything wrong with the code. It is possible that apps could be conflicting with the code. Without checking the complete code base, it'd be difficult to tell what's happening. 

 

 

If you found my answer helpful, please LIKE and ACCEPT.
buymeacoffee.com/g33kgirl ☕
If you're not comfortable with code, please modify code files at your own risk.
Do NOT give out your passwords unless absolutely necessary.
0 Likes
rjpuckett88
New Member
5 0 0

What should I do?

0 Likes
suyash1
Shopify Partner
2855 306 472

@rjpuckett88 - you have this condition , so make sure it is assigned to right side by opening a product page in the customizer, you will have all settings i it, if you find if dificult then I request please add me to staff, I will check it. You have my email below, if you want you can contact on it as well.

{% if section.settings.product_description_position == 'right' %}
{%- assign position = 'right' -%}
{% include 'product-description' %}
{% endif %}

 

You are welcome to contact me, my email - suyash.patankar@gmail.com
Free Shopify solutions/tutorials on youtube
#1 page builder app on Shopify - for FREE! PageFly
0 Likes