Access a community of over 900,000 Shopify Merchants and Partners and engage in meaningful conversations with your peers.
Is it possible to use the handle {{ collection.description }} in a way that I can specify a particular collection from my site? Say I have a "spoons" collection. How can I change the snippet so that it specifically references the spoons collection?
Hey @Ruben__Nunez
You can try filtering it by name using the collection.title tag
https://shopify.dev/api/liquid/objects/collection#collection-title
So would it be something like (if my collection is "spoons"):
{% if collection.title_spoons %}
{{ collection.description }}
{% endif %}
?
User | RANK |
---|---|
149 | |
94 | |
64 | |
58 | |
57 |
Connect your PayPal account to allow your customers to checkout using the PayPal gateway a...
ByYour online store speed can enhance your store’s discoverability, boost conversion rates a...
ByShopping is at our fingertips with mobile devices. Is your theme optimized to be user-frie...
By