Debutify Theme - Product Description Issue On Home Page

Highlighted
New Member
5 0 0

Everything was showing up fine, and then all of a sudden, my production description is only showing up on my product page now and not my home page.

 

I need help getting it to show up on the home page. I am hoping it is something simple that I overlooked. It says full details instead of showing the description. 

 

Please help me as soon as possible. 

 

Thanks,

Kendric

0 Likes
Highlighted
Shopify Partner
2246 488 631

Hey @Kendric37,

Please share your website URL. I will check and provide a solution.

Also, can you check the setting in admin regarding product description showing on the home page if that setting exists with your theme?

 

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
New Member
5 0 0

The setting for that is checked but it only shows up for the product page

My website is https://www.musclereliever.co/

Please let me know if you could provide a solution. 

0 Likes
Highlighted
Shopify Partner
2246 488 631

Hey @Kendric37,

I can see that the product description div is there but description not inside it. Did someone modify your liquid code?

Let me know.

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
New Member
5 0 0

Actually, now that I think about it, I was inside of the code trying to remove the "powered by Shopify" but never did because I didn't want to mess anything up and was not confident. There could be a chance that I accidentally deleted something. 

I don't know exactly how to find that out or if you could help me, but please let me know.

0 Likes
Highlighted
Shopify Partner
2246 488 631

Hey @Kendric37,

Can you please provide the code of sections/featured-product.liquid file.

I would like to check the code.

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
New Member
5 0 0

I believe this is the correct code for the requested file, please let me know if something doesn't look correct and if you can help

 

{%- assign product = all_products[section.settings.featured_product] -%}

{%- assign current_variant = product.selected_or_first_available_variant -%}

 

{%- if product == empty -%}

  {%- assign section_onboarding = true -%}

  {%- assign vendor = 'home_page.onboarding.product_vendor' | t -%}

  {%- assign title = 'home_page.onboarding.product_title' | t -%}

  {%- assign compare_at_price = 2999 -%}

  {%- assign price = 1999 -%}

{%- else -%}

  {%- assign section_onboarding = false -%}

  {%- assign vendor = product.vendor -%}

  {%- assign title = product.title -%}

  {%- assign compare_at_price = current_variant.compare_at_price -%}

  {%- assign price = current_variant.price -%}

{%- endif -%}

 

{% comment %}

  The contents of the product.liquid template can be found in /snippets/product-template.liquid

{% endcomment %}

 

<div itemscope itemtype="http://schema.org/Product" id="section-{{ section.id }}" data-section-id="{{ section.id }}" data-section-type="product-template" data-enable-history-state="false" data-scroll-to-image="{% if section.settings.image_layout == "stacked" %}true{% else %}false{% endif %}">

  {% include 'product-template' %}

</div>

 

{% unless product.empty == empty %}

  <script type="application/json" id="ProductJson-{{ section.id }}">

    {{ product | json }}

  </script>

{% endunless %}

 

{% schema %}

  {

    "name": "Featured product",

                "class": "featured-product-section",

    "settings": [

      {

        "type": "product",

        "id": "featured_product",

        "label": "Product"

      },

      {

        "type": "header",

        "content": "Product photos"

      },

                  {

        "type": "select",

        "id": "image_layout",

        "label": "Image display",

        "default": "stacked",

        "options": [

                                  {

            "value": "stacked",

            "label": "Stacked"

          },

                                                {

            "value": "thumbnail",

            "label": "Thumbnail"

          }

        ]

      },

                  {

        "type": "select",

        "id": "product_photo_alignement",

        "label": "Image alignement",

        "default": "left",

        "options": [

          {

            "value": "left",

            "label": "Left"

          },

          {

            "value": "right",

            "label": "Right"

          }

        ]

      },

      {

        "type": "checkbox",

        "id": "enable_zoom",

        "label": "Enable image zoom",

                                "default": true

      },

                  {

        "type": "header",

        "content": "Product details"

      },

                  {

        "type": "checkbox",

        "id": "product_vendor",

        "label": "Enable vendor",

        "default": false

      },

                  {

        "type": "checkbox",

        "id": "product_title_size",

        "label": "Big product tite",

        "default": false

      },

      {

        "type": "select",

        "id": "product_header_alignement",

        "label": "Alignement",

        "default": "",

        "options": [

          {

            "value": "",

            "label": "Left"

          },

          {

            "value": "text-center",

            "label": "Center"

          }

        ]

      },

      {

        "type": "select",

        "id": "product_selector",

        "label": "Variant picker type",

        "options": [

          {

            "value": "radio",

            "label": "Button"

          },

          {

            "value": "select",

            "label": "Dropdown"

          }

        ]

      },

      {

        "type": "checkbox",

        "id": "quantity_enabled",

        "label": "Show quantity picker"

      },

                  {

        "type": "checkbox",

        "id": "button_cart_icon",

        "label": "Show button cart icon",

        "default": true

      },

                  {

        "type": "checkbox",

        "id": "enable_payment_button",

        "label": "Show dynamic checkout button",

        "info": "Lets customers check out directly using a familiar payment method. [Learn more](https://help.shopify.com/manual/using-themes/change-the-layout/dynamic-checkout)",

        "default": false

      },

                  {

        "type": "checkbox",

        "id": "show_description",

        "label": "Show description",

        "default": false

      },

                  {

        "type": "checkbox",

        "id": "social_sharing_products",

        "label": "Enable product sharing",

        "default": true

      },

      {

        "type": "checkbox",

        "id": "show_product_tags",

        "label": "Show product tags",

        "default": true

      }

    ],

    "presets": [

      {

        "name": "Featured product",

        "category": "Product"

      }

    ]

  }

{% endschema %}

0 Likes
Highlighted
Shopify Partner
2246 488 631

Hey @Kendric37,

I think this is not the correct code.

Please provide the code of sections/featured-product.liquid file.

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
New Member
5 0 0

Okay. How about this code? 

 

{%- assign product = all_products[section.settings.featured_product] -%}
{%- assign current_variant = product.selected_or_first_available_variant -%}
 
{%- if product == empty -%}
  {%- assign section_onboarding = true -%}
  {%- assign vendor = 'home_page.onboarding.product_vendor' | t -%}
  {%- assign title = 'home_page.onboarding.product_title' | t -%}
  {%- assign compare_at_price = 2999 -%}
  {%- assign price = 1999 -%}
{%- else -%}
  {%- assign section_onboarding = false -%}
  {%- assign vendor = product.vendor -%}
  {%- assign title = product.title -%}
  {%- assign compare_at_price = current_variant.compare_at_price -%}
  {%- assign price = current_variant.price -%}
{%- endif -%}
 
{% comment %}
  The contents of the product.liquid template can be found in /snippets/product-template.liquid
{% endcomment %}
 
<div itemscope itemtype="http://schema.org/Product" id="section-{{ section.id }}" data-section-id="{{ section.id }}" data-section-type="product-template" data-enable-history-state="false" data-scroll-to-image="{% if section.settings.image_layout == "stacked" %}true{% else %}false{% endif %}">
  {% include 'product-template' %}
</div>
 
{% unless product.empty == empty %}
  <script type="application/json" id="ProductJson-{{ section.id }}">
    {{ product | json }}
  </script>
{% endunless %}
 
{% schema %}
  {
    "name": "Featured product",
"class": "featured-product-section",
    "settings": [
      {
        "type": "product",
        "id": "featured_product",
        "label": "Product"
      },
      {
        "type": "header",
        "content": "Product photos"
      },
  {
        "type": "select",
        "id": "image_layout",
        "label": "Image display",
        "default": "stacked",
        "options": [
  {
            "value": "stacked",
            "label": "Stacked"
          },
  {
            "value": "thumbnail",
            "label": "Thumbnail"
          }
        ]
      },
  {
        "type": "select",
        "id": "product_photo_alignement",
        "label": "Image alignement",
        "default": "left",
        "options": [
          {
            "value": "left",
            "label": "Left"
          },
          {
            "value": "right",
            "label": "Right"
          }
        ]
      },
      {
        "type": "checkbox",
        "id": "enable_zoom",
        "label": "Enable image zoom",
"default": true
      },
  {
        "type": "header",
        "content": "Product details"
      },
  {
        "type": "checkbox",
        "id": "product_vendor",
        "label": "Enable vendor",
        "default": false
      },
    {
        "type": "checkbox",
        "id": "product_title_size",
        "label": "Big product tite",
        "default": false
      },
      {
        "type": "select",
        "id": "product_header_alignement",
        "label": "Alignement",
        "default": "",
        "options": [
          {
            "value": "",
            "label": "Left"
          },
          {
            "value": "text-center",
            "label": "Center"
          }
        ]
      },
      {
        "type": "select",
        "id": "product_selector",
        "label": "Variant picker type",
        "options": [
          {
            "value": "radio",
            "label": "Button"
          },
          {
            "value": "select",
            "label": "Dropdown"
          }
        ]
      },
      {
        "type": "checkbox",
        "id": "quantity_enabled",
        "label": "Show quantity picker"
      },
  {
        "type": "checkbox",
        "id": "button_cart_icon",
        "label": "Show button cart icon",
        "default": true
      },
  {
        "type": "checkbox",
        "id": "enable_payment_button",
        "label": "Show dynamic checkout button",
        "info": "Lets customers check out directly using a familiar payment method. [Learn more](https://help.shopify.com/manual/using-themes/change-the-layout/dynamic-checkout)",
        "default": false
      },
  {
        "type": "checkbox",
        "id": "show_description",
        "label": "Show description",
        "default": false
      },
  {
        "type": "checkbox",
        "id": "social_sharing_products",
        "label": "Enable product sharing",
        "default": true
      },
      {
        "type": "checkbox",
        "id": "show_product_tags",
        "label": "Show product tags",
        "default": true
      }
    ],
    "presets": [
      {
        "name": "Featured product",
        "category": "Product"
      }
    ]
  }
{% endschema %}

 

This image below is a screenshot of where I am copying the code from. Please let me know whether or not I am going to the right place 

edit code.png

0 Likes