I would like to remove the Best Selling Option from my sort by. In our case is called “Lo más vendido” (in Spanish). I’ve tried a bunch of different ways but I either get an error or no change at all. Please help. Thanks!
Topic summary
A user seeks to remove the “Best Selling” sort option (labeled “Lo más vendido” in Spanish) from their ELLA theme collection pages. Initial attempts using various methods resulted in errors or no changes.
Solutions Proposed:
- Guleria’s approach: Add custom code snippet before
</body>in theme.liquid (code not visible in transcript) - Promer’s suggestions:
- Edit Liquid files (snippets/product-grid.liquid or collection-sorting.liquid) to remove or comment out the sorting option
- Alternative CSS solution: Hide the option using
option[value="best-selling"] { display: none; }
Outcome:
Guleria’s solution successfully resolved the issue. The user now requests additional help to hide another sort option called “Características” using the same method. The discussion remains open as the user awaits guidance on this follow-up request.
Hi @mandarin_bot ,
Thank you for reaching out to the Shopify community. I’d be glad to assist you. Could you kindly share your store URL and
password (if it’s password-protected) so I can review it and provide you with an update?
Hello @mandarin_bot ,
Edit theme.liquid search for and just before to it add this code
Regards
Guleria
You can remove the “Best Selling” (“Lo más vendido”) sort option in the ELLA theme by editing the theme code. Here’s how:
- Go to Shopify Admin > Online Store > Themes.
- Click Actions > Edit Code.
- Locate the file: snippets/product-grid.liquid or snippets/collection-sorting.liquid (the exact file may vary).
- Find the sorting options code, usually inside a
Thank you. However, none of those options worked. I found in snippets
both collection-product-grid and main-collection-product-grid and couldn’t
find either best-selling nor lo-mas-vendido. I also added the code to
base.css. None worked. Would you know why?
Thank you for your help!
Amazing! This worked! Thank you!! Which code should I add to also not show the “Características” option value?
I appreciate it ![]()