How to delete Items from "Sory by" drop down

Hi

I want to delete few options from the “Sort by” drop down.

Not in any particular collection but every collection on the website.

Want to delete these marked items (marked red) from “Sory by”.

Thanks in advance!

Hey @CNDY_123

Share your Store URL and Password if enabled.

Best Regards,

Moeed

Hi @Moeed

Thanks for reply

url: cottoncandybabyshop.com

Test@store123

Hey @CNDY_123

Follow these Steps:

  1. Go to Online Store

  2. Edit Code

  3. Find theme.liquid file

  4. Add the following code in the bottom of the file above tag


RESULT:

If I managed to help you then, don’t forget to Like it and Mark it as Solution!

Best Regards,
Moeed

Hi @Moeed

Code worked perfectly! Thanks a lot!

Thank you for your reply. I’m glad to hear that the solution worked well for you. If you require any more help, please don’t hesitate to reach out. If you find this information useful, a Like would be greatly appreciated.

Hi @Moeed

Facing a small issue..

The code worked perfectly when im checking the website from my system(windows) and phone(android),… but when i tried from my friends Macbook and iphone, the sort by options still showing..

Have any idea why like that??

Hi @Moeed

Facing a small issue..

The code worked perfectly when im checking the website from my system(windows) and phone(android),… but when i tried from my friends Macbook and iphone, the sort by options still showing..