How do i delete one of the options on the SortBy dropdown menu?

Ohh i see, that because of hide proper not work on IOS safari on drop down.

for that need to make custom Js code or by liquid code to manage it cant we do by css. you can follow previous post if that help you for that you need code knowledge

Hi there, that worked, thank you! However, I would love to dismiss also the alphabetical order (both A–>Z Z–>A). What should the code look like in this case? Thanks a lot in advance!

@Satinski add this:

.boost-pfs-filter-top-sorting-select [value="title-ascending"],.boost-pfs-filter-top-sorting-select [value="title-descending"]{display:none;}

Thanks a lot once again. I think I misspoke myself: I would like to dismiss both filters: Date and Alphabetical (4 items in total). By adding your last code I dismissed the alphabetical one but the date stayed there. The same happened when I pasted both codes together. Thanks for your help!

add this line too:

.boost-pfs-filter-top-sorting-select [value="title-ascending"],.boost-pfs-filter-top-sorting-select [value="title-descending"]{display:none;}

Thanks a lot!

The trick was in adding both of the codes:

.boost-pfs-filter-top-sorting-select [value=“title-ascending”],.boost-pfs-filter-top-sorting-select [value=“title-descending”]{display:none;}
.boost-pfs-filter-top-sorting-select [value=“created-ascending”],.boost-pfs-filter-top-sorting-select [value=“created-descending”]{display:none;}

Thank you! :slightly_smiling_face:

Hi, would you be able to help me with removing a few sorty by options? I only want price low to high and best seller. I tried to follow what you have said here but I am having difficulty. We have empire theme. I don’t see where I can change in the language editor. Thanks!

Hi @flybypinay

Send your store url

Hi Thanks for responding. The store id is: stoner-wishlist.shopify.com

Add this css in Asset->theme.scss file at bottom:

#product_grid_sort [value="manual"],#product_grid_sort [value="best-selling"],#product_grid_sort [value="title-ascending"],#product_grid_sort [value="title-descending"],#product_grid_sort [value="price-descending"],#product_grid_sort [value="created-ascending"],#product_grid_sort [value="created-descending"]{display:none;}

Thank you for your response! Unfortunately, it didn’t work.

I have checked and its work fine, but if you are checking on IOS safari then it will not work as for IOS safari not support this, so for that must need custom Js code or liquid code manage.

Hi, i am using debut theme and i have been following your steps and options gone, but there’s old options below sorting box

my shop is retromarche.pl/collections/all


and is it possible to show for example price ascending while i choose price ascending? because it always shows manual when i choose different sorting option

thanks in advance

You have already price low and price height option. what you want to do now?

Hello, I have the same problem “is it possible to show for example price ascending while i choose price ascending? because it always shows manual when i choose different sorting option”?

I used this code:

Could you help me? Thank you and have a nice day!

Hi I am trying to remove these options below from the sort by drop down and I am not sure how to from my code. I have the debut theme.

Alphabetical, A-Z

Alphabetical, Z-A

Date, old to new

Date, new to old

Can someone please assist?

Thanks,

Alana

Send me store url will help

Hi @Jasoliya

Would it be possible to help…

I have the Impulse theme (frontiers-woman.com) - hoping to remove:-

  • Alphabetical, Z-A
  • Best selling
  • Old to new

Many thanks in advance.

Best,

Mark

Follow this

  1. Go to Online Store->Theme->Edit code
  2. Asset->theme.scss Or theme.css-> paste bellow code in bottom of file
#SortBy  [value="title-ascending"],#SortBy  [value="title-descending"],#SortBy  [value="best-selling"]{display: none;}

Fantastic - spot on. Really appreciate this!

On a side note, do you know if it’s possible to change the order? Ideally, I’d have:-

  • Featured
  • Date, new to old
  • Price, low to high
  • Price, high to low
  • Alphabetically, A-Z