Discuss and resolve questions on Liquid, JavaScript, themes, sales channels, and site speed enhancements.
We're moving the community! Starting July 7, the current community will be read-only for approx. 2 weeks. You can browse content, but posting will be temporarily unavailable. Learn more
Hello,
I have a ‘Missing Description’ SEO notification for my Refresh Theme for the following page:
https://website.com/collections/all
I was given the following instructions from a Shopify agent:
Change this:
{% if page_description %} <meta name="description" content="{{ page_description | escape }}"> {% endif %}
To this:
{% if page_description %} {% if template == 'collection-list' %} <meta name="description" content="YOUR META DESCRIPTION HERE."> {% else %} <meta name="description" content="{{ page_description | escape }}"> {% endif %} {% endif %}
This solution does not feel right, as it will affect the description of all of my collections, e.g. Coats, Jackets, Shoes
Does anyone have an opinion?
Thank you