Type, Vendor, and Tag lists for collections #69
Conversation
@carolineschnapp What do you think about this addition? Adds lists based on type and vendor to the collections page sidebar. I'm torn because the usability is a bit strange. If you navigate into a type, for example, then click on a vendor, you go to just the vendor page and completely ignore the fact you were in a type before. |
It's indeed strange. You cannot stay within a collection, or a product type, when looking at items from a vendor. In the same way, you cannot stay within a collection, or vendor, when looking at items of a product.type. It would seem that Shopify would give you a way to 'drill down' because of collection.all_vendors and collection.all_types but it really doesn't. |
I think it's handy to have this code in there for reference, as long as the comments make it clear of its limitations and actual functionality. I'll make some slight modifications and merge it in. |
I agree! On Tue, May 20, 2014 at 9:44 AM, Carson Shold notifications@github.comwrote:
|
Going to go with this explanation:
|
You cannot actually filter by type or vendor, not the way you filter with a product tag. If you select a vendor, or type, you'll jump out of the collection you are looking at, and go to a special collection page, an automatic one. When you filter with a tag, you do filter: you stay within the current collection and look at products in it that have a specific tag. Also, you would not want to filter — if you could — using more than 1 type or 1 vendor — because a product can only have 1 type and 1 vendor. Filtering in Shopify when using tags uses an exclusive AND, not an inclusive OR. Not sure how to properly relay that information ^ but it's important to mention. Regarding this:
Filtering with more than 1 tag may seem like a good idea, but 99% of customers don't like that. They end up quickly with a page with no products because of the exclusive AND business. Over the years, all themes have been modified to not use link_to_add_tag. This is FYI only. The choice is yours. You may want to add a comment about the alternate. |
Makes sense to me. The 99% tag stat is likely because many customers have few products, so it would be the ones with a huge inventory that could get use out of that. I'll revert to your recommendation and make a note about the alternate use. My note clearly isn't enough to get the message across, but don't want to get a whole paragraph in there. I'll try and revise it and see what I can come up with based on your notes. Thanks. |
Type, Vendor, and Tag lists for collections
Type, Vendor, and Tag lists for collections
Work in progress: adding type and vendor to the existing tag list on collections.liquid.
collection-tags.liquid
to.collection-sidebar.liquid