I want to add custom option to the sort option on the collection page help me with. my store theme is impact.
Topic summary
A user seeks to add a custom sorting option to their collection page using the Impact theme.
Proposed Solution:
- Access theme code via Online Store > Themes > Edit code
- Locate
main-collection.liquidorcollection.liquidin the sections folder - Find the
<select name="sort_by">block and insert a custom<option>element
Implementation Limitations:
Shopify doesn’t natively support fully custom frontend sorting logic. Three workarounds are suggested:
- Tag-based sorting: Use product tags or collections to simulate custom ordering
- Manual ordering: Arrange products manually within a custom collection via Shopify admin
- Third-party apps: Install apps like Search & Discovery or Boost Product Filter & Search for advanced sorting capabilities
Status: The discussion remains open with no confirmation from the original poster whether the solution was implemented or successful.
Hi @ryan29 ,
Since you’re using the Impact theme, here’s how you can add a custom sorting option to your collection page. Shopify themes come with built-in sort options like “Best Selling”, “Price Low to High”, etc., but adding a custom one (like “Sort by Popularity” or “Sort by Custom Tag”) requires a bit of theme code editing.
Step-by-step guide:
- Access your theme code:
- Go to Online Store > Themes in your Shopify admin.
- Click Actions > Edit code on the Impact theme.
- Find the file that controls sorting:
- Open main-collection.liquid or collection.liquid (sometimes inside the sections folder, depending on your version).
- Look for this block: