Hey!
is there a way i can show the search results by newest first? Right now they appear randomly. Clients can sort them A-Z or Z-A but I’d like the search results to always display the newest items first.
Thanks a lot
SM
A user wants search results to display newest items first instead of appearing in what they perceive as random order.
Current Behavior:
Solution Provided:
sort_by=created-descendingshop-URL/search?q=watch&sort_by=created-descendingImplementation Notes:
The user thanked the responder, suggesting the solution was helpful.
Hey!
is there a way i can show the search results by newest first? Right now they appear randomly. Clients can sort them A-Z or Z-A but I’d like the search results to always display the newest items first.
Thanks a lot
SM
Hello @shireenm ,
Not sure how search results show randomly for you because its default behaviour is New to Old.
btw still you feel its not working as you need please add a query string in your search URL after query string
e.g.
/search?q=watch&sort_by=created-descending
complete URL will be
shop-URL/search?q=watch&sort_by=created-descending
Note: To append a new query string you need to adjust the theme code and make sure your search page is the default of the theme not with an app.
If you are using an app for search then it’s better to ask for their support.
Regards
Guleria
Thank you