Shopify themes, liquid, logos, and UX
Hi, i am trying to show route/path way of collection so that the costumers can navigate the product in the collection.
Today i just do a "for" loop of collections to get a list of the collection the product is in. Like this:
{% for collection in product.collections %} <li><a href="{{collection.url}}">{{collection.title}}</a></li> {% endfor %}
This gives me:
BUT WHAT I AM TRYING TO DO:
is to get it in this format: Collection 1 / Collection2 / Collection 3
Like this:
Thank you in advance
the link to my page is
Solved! Go to the solution
This is an accepted solution.
Hey @Nordiccomfort,
You could use a span instead of li.
<span><a href="{{collection.url}}">{{collection.title}}</a></span>
This is an accepted solution.
Hey @Nordiccomfort,
You could use a span instead of li.
<span><a href="{{collection.url}}">{{collection.title}}</a></span>
can you advise where to add this code?
Hey Community! As we jump into 2025, we want to give a big shout-out to all of you wh...
By JasonH Jan 7, 2025Hey 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, 2024