Discuss and resolve questions on Liquid, JavaScript, themes, sales channels, and site speed enhancements.
Hi,
I have searched the forum and found this question asked in several different ways, but never found a solution on any of the threads.
Hi,
I am trying to change the meta title and meta description on my main collections page (rosagilberto.com/collections) -- without changing anything on the homepage or any other collection.
Using Shopify 2.0 Prestige Theme
Any ideas?
Thanks,
Afwan
Hi @afwanfhaider ,
You can try using liquid code to check /collections
{% if template == 'list-collections' %}
{% else %}
{% endif %}
Hope my solution works perfectly for you!
Best regards,
Oliver | PageFly
Please let me know if it works by giving it a Like or marking it as a solution!
PageFly - #1 Page Builder for Shopify merchants.
All features are available from Free plan. Live Chat Support is available 24/7.
Hi Afwan -
I had the same issue and I found this discussion that had several solutions.
I have implemented the following on my website using the Expanse theme from Shqipdonselmani
Check your theme for the correct reference to the collections list in your theme and modify it if needed to match your template name.
Hello guys,
I came up with a way around and a good solution
Add this code to settings_schema.json file
{
"name": "Collections Meta",
"settings": [
{
"type": "text",
"label": "Meta Description",
"id": "metadescriptioncollections"
}
]
},
It will create a section to the THEME SETTINGS for you to change it
And then on the theme.liquid file change this
Hey Community! As the holiday season unfolds, we want to extend heartfelt thanks to a...
By JasonH Dec 6, 2024Dropshipping, a high-growth, $226 billion-dollar industry, remains a highly dynamic bus...
By JasonH Nov 27, 2024Hey Community! It’s time to share some appreciation and celebrate what we have accomplis...
By JasonH Nov 14, 2024