Hello everyone,
I want to put a list of my most popular vendors on my 404 page. I've created a collection with 10 vendors and added the following code to my 404.
{% for product_vendor in collections.popular-brands.product_vendor %}
<ul>
<li>{{ product_vendor }}</li>
</ul>
{% endfor %}
I've tried all kinds of tweaks, but I can't seem to get it to work - any suggestions would be much appreciated!
Thanks,
P.J.
Hi Caroline,
Thanks for getting back to me, when I try that I get a long list of just the first brand in my 'popular brands' collection. It seems the system is listing the brand associated with each product in my collection, so if I have multiple products from the same brand, it duplicates the brand in the list. Is there a way that I can get it to only display each brand once?
P.J.
@Caroline_Schnap How can we display all vendors from collection in same sorting order with the way it is setup in the condition of collection?
Is it even possible?
User | Count |
---|---|
850 | |
113 | |
97 | |
95 | |
76 |