Remove / Edit SortBy options (District Theme)

Topic summary

A user is struggling to remove or edit specific sorting options (like “Old to new”, “New to old”, “Alphabetical”) from their Shopify store using the District theme.

Current Situation:

  • The user has access to the theme code but cannot figure out how to omit certain sort options
  • Code snippet provided shows the sorting functionality implementation

Suggested Solution:

  • Another user recommends navigating to: Online theme → Choose theme → Click 3 dots → Search for “sort”
  • This should reveal the sort options configuration area

Status:
The original poster confirms they can see the suggested location but reports they cannot make changes there, indicating the issue remains unresolved. The discussion appears ongoing with no definitive solution yet provided for actually removing the unwanted sorting options.

Summarized with AI on November 9. AI used: claude-sonnet-4-5-20250929.

Why is this so hard!?

I cannot seem to find a way to omit or remove certain sorting options such as “Old to new” , “New to old” , “Alphabetical” etc..

Current theme code:

<label class="collection-sort__label sr-only sm:not-sr-only normal-case p-0" for="SortBy-{{ section.id }}">
<span class="whitespace-nowrap">{{ 'products.facets.sort_by_label' | t }}</span>
</label>
{%- assign sort_by = results.sort_by | default: results.default_sort_by -%}
<select id="{{ id }}" name="sort_by"
class="collection-sort__select sm:text-sm"
aria-describedby="a11y-refresh-page-message">

{%- for option in results.sort_options -%}
<option value="{{ option.value | escape }}"{% if option.value == sort_by %} selected="selected"{% endif %}>{{ option.name | escape }}</option>
{%- endfor -%}
</select>

Please help!

2 Likes

Hi @roorats

If you like to change the Sort by Options.

Go to Online theme > Choose theme > Click the 3 dots > choose this one.

Made4uoRibe_0-1716587975911.png

for easier just search sort and this will come out

And change the options you like or if you like to remove I would need your store URL. Thanks!

Please don’t forget to Like and Mark Solution to the post that helped you. Thanks!

1 Like

Yes I see this, but how may I remove them? I cannot make any changes here.

2 Likes