Shopify themes, liquid, logos, and UX
Hi,
Is there any way to sort products in the collection by tags?
DO NOT filter by product tag, but sort products by whether they contain a particular tag.
Hi,
It discussed before here. please check this url
https://community.shopify.com/c/shopify-discussions/sort-products-on-tag-pages-collection-page-produ...
Hi,
not exactly what I'm looking for.
it is suggested to order using the already filtered collection with the relative tag: /collections/{{ collection.handle }}/{{ tags_for_url }}?sort_by={{ option.value }}
I would like to be able to sort the entire collection and not the already filtered collection with the tag.
Can you explain - how sort going to sorted entire collection? Let's assume => you sorted by tag then what will happen in collection - only tagged items available or how it work?
I think you want filter not sort.
Currently through Shopify you can order products using these ordering methods:
What I would like to do is to be able to add another "custom" sorting that allows you to show products with a certain tag first.
I don't how it work with sort. Because it looks to me the filter => if you want to show only those tag products.
Hey there, were you ever able to figure this out? I've been digging through every .js and .liquid file trying to find where the default sort-options are even to just slightly adjust the logic that's existing. I don't mind creating a new one either but origin of that list begins with:
{%- for option in results.sort_options -%}
And I'm not even sure where to begin with even inserting said new sorting method (by tag) into the results.sort_options.
June brought summer energy to our community. Members jumped in with solutions, clicked ...
By JasonH Jun 5, 2025Learn how to build powerful custom workflows in Shopify Flow with expert guidance from ...
By Jacqui May 7, 2025Did You Know? May is named after Maia, the Roman goddess of growth and flourishing! ...
By JasonH May 2, 2025