Hi there, i wondering if it is currently possible to remove some of the shorting option in the collection. For example i want to remove the oldest and newest options.
Thanks in advance
A user wants to remove certain sorting options (specifically “oldest” and “newest”) from their collection pages that are visible to customers on the storefront.
Key Points:
Proposed Solution:
Status: The discussion remains open, as the CSS solution provided may require customization for the user’s specific third-party theme.
Hi there, i wondering if it is currently possible to remove some of the shorting option in the collection. For example i want to remove the oldest and newest options.
Thanks in advance
Hi @mpatsia Are you referring to the option in Collection section in Admin or the option in the collection page in Online store?
If you are referring to the Admin section, then please note that you can’t remove it, and if you don’t want to use it then leave it, it is not necessary too use every option and shopify added this option for admin itself so it’s upon Admin if they want to use it or not.
If you need any assistance then please feel free to ask the same.
Hopefully it will help you. If yes then Please hit Like and Mark it as solution!
Best Regards
Sahil
Hi @mpatsia Got it, for this could you please provide your Store URL and, if applicable, the Password too?
So that I can provide you the exact solution.
Best Regards,
Sahil
Hi @mpatsia Thanks for sharing the store URL.
I have looked into your store and found that you are using 3rd party Theme. I will be unable to provide the code that works well with your theme without looking into the code files. As every theme has different code and different variable.
If needed I can provide the universal code that will works well for the shopify free theme but you need to modify that code according to your theme and theme variables. The code that I will provide may not works well with your theme as I am unable to check what all variable your theme is using and in what all theme files.
If you need any assistance then please feel free to ask the same.
Hopefully it will help you. If yes then Please hit Like and Mark it as solution!
Best Regards
Sahil
Hi @mpatsia
Just to clarify you like to remove the best selling right? Try this one.
#CollectionProductGrid > div.sf__collection-toolbar > div > div.flex.flex-1.items-center.justify-between > div > div > div.select-items > div.same-as-selected {
display: none;
}