Skip to content
Rubin Shrestha
  • Rubin Shrestha
  • Profile
  • Blog
  • Nepali Typing
  • Contact
  • Search
Rubin Shrestha
  • Search
  • Rubin Shrestha
  • Profile
  • Blog
  • Nepali Typing
  • Contact
Home » Blog » Magento 2 | Change sort order for search results
Blog

Magento 2 | Change sort order for search results

by Rubin|Published March 29, 2026

I would like to set as the default order in the search results page “relevance” in descending order.

How can i do?

Thanks

  • Magento
  • Magento1
  • Magento2

You may also like

Published December 7, 2024

Magento 2 – Logout not possible, because controller request is cached on client

I am unable to logout on one of my projects. The customer/account/logout/ controller request, is getting cached. The image showing that the […]

Magento 2 Issue changing items base price in order rest API
Published July 12, 2023

Magento 2 Issue changing items base price in order rest API

We are using uni commerce for ship products. our magento all price calculation are working correctly without any issue. but in magento […]

Magento 2.4.5 unable to access Sales Orders page on backend admin – main.ERROR: Unable to unserialize value. Error: Syntax error
Published February 27, 2025

Magento 2.4.5 unable to access Sales Orders page on backend admin – main.ERROR: Unable to unserialize value. Error: Syntax error

I’ve not installed any new plugins or made any version updates recently. But today I tried to open the Sales > Orders […]

Asterisk: how to end frozen calls
Published July 3, 2021

Asterisk: how to end frozen calls

Sometimes my voip provider shuts down service without ending calls which are in progress (these calls are incoming to my server and […]

Interesting

  • Magento 2 Not Loading Properly Here Is What You Should Check First
  • Magento 2 Not Loading Properly Here Is What You Should Check First
  • Magento Website Development Cost What Businesses Should Expect
  • Magento Website Development Cost What Businesses Should Expect
  • Magento 2 How to create CMS block with HTML content programmatically
  • Magento 2 How to create CMS block with HTML content programmatically
  • Magento 2 | Change sort order for search results
  • Magento 2 | Change sort order for search results

Post navigation

  • Previous post Magento 2 | Change sort order for search results
  • Back to post list
  • Next post Magento 2 How to create CMS block with HTML content programmatically
——————-
  • Magento 2 Not Loading Properly Here Is What You Should Check First
  • Magento 2 Not Loading Properly Here Is What You Should Check First
  • Magento Website Development Cost What Businesses Should Expect
  • Magento Website Development Cost What Businesses Should Expect
  • Magento 2 How to create CMS block with HTML content programmatically
——————-
  • Rubin Shrestha
  • Profile
  • Blog
  • Nepali Typing
  • Contact
——————-
  • Blog
  • Contact
  • Nepali Typing | Nepali Unicode | English to Nepali | English Conversion | English Translate | नेपाली to English | नेपाली टाईपिङ
  • Occasional Photography
    • The desert that everybody loves in pictures
  • Photography
  • Rubin Shrestha

© 2026 Rubin Shrestha – All rights reserved

Powered by WP – Designed with the Customizr theme