View Products of a Collection by Type

New Member
2 0 0
Hi all, I'm using this snippet of code to list the available Types within a collection, but upon linking it shows all products associated with that type. I've broken the store down into Men and Women's collections, and would like the ability to view by type within those collections, for example Women's -> Shirts. {% assign type_list = '' %} {% for product in collections.women.all_products %} {% if type_list contains product.type %} {% else %} {{ product.type | link_to_type }} {% capture temp %}{{ vendor_list }}{{ product.type }}{% endcapture %}{% assign type_list = temp %} {% endif %} {% endfor %} Thanks to Caroline for the above (http://forums.shopify.com/categories/1/posts/15586), and thanks in advance to anyone who can help! -nmce
0 Likes