Steps to reproduce:

  1. Search for a term and the results are displayed by default sorted by Relevance.
  2. Change the sort by parameter to Price and change the sort to ascending order.
  3. Results are not sorted in the ascending order.

Error in console:

loader.js:210 Expected to start loader but did not find one in the dom

Looks like the query string parameter product_list_dir is missing. when I manually add it in the URL, it sorts fine.

  • Can you please specify magento version? – Abhishek Panchal Jan 11 at 19:14
  • Magento version 2.2.5 – Balram Jan 11 at 20:00

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Browse other questions tagged or ask your own question.