I want to delete part of the sort by option, like:
“Alphabetically, A-Z”
Alphabetically, Z-A"
“Featured” options.
But I can’t find where to do this in the code.
My website: https://www.atiqot.com/collections/living-room
A user wants to remove specific sorting options (\
I want to delete part of the sort by option, like:
“Alphabetically, A-Z”
Alphabetically, Z-A"
“Featured” options.
But I can’t find where to do this in the code.
My website: https://www.atiqot.com/collections/living-room
Hi @Atiqot
Try this one.
button#option-e68e054f-b2b8-49a5-bfeb-53c397dc8161,
button#option-cde2edb0-a8ba-48b8-822c-5e06751841ee,
button#option-c920c52c-519b-48cb-bc70-616bb6d14a63 {
display: none;
}
Your Feedback Matters! Please mark the solution and give likes to posts that helped you. Your appreciation fuels our motivation to assist you better!
Hi @Atiqot
To complete your requests, please follow these steps:
.collection-toolbar__button-container > button[aria-controls="sort-by-popover"] + facets-sort-popover x-listbox.popover__value-list > button:nth-child(3), .collection-toolbar__button-container > button[aria-controls="sort-by-popover"] + facets-sort-popover x-listbox.popover__value-list > button:nth-child(4) {
display: none !important;
}
Here is the result: https://prnt.sc/dDbTGsE3rf9v
I hope this helps
Best,
Daisy
Hello @Atiqot
Hello There,
button#option-69acc1de-b001-4a7b-8cb7-5b9e6481e8d7,button#option-61f396fd-bfa5-4187-9c7b-11117766e920, button#option-cab56ee5-b827-4e05-a57d-e47619302b6f {
display: none;
}
Perfect ! ![]()
Thank you Daisy ![]()
Dear Daisy,
I noticed that it only works great on desktop but not on mobile. On mobile its include all sort options.
Maybe you have an idea how to update it on mobile as well?