Support » Plugin: Ajax Search for WooCommerce » How to change sorting for results output?

  • Resolved kleindberg


    I want to show results sorted by popularity (default: by relevance).

    This option enable on results page, but not for live search:

    How can I add ?orderby=popularity query to search form?

    • This topic was modified 5 months, 1 week ago by kleindberg.
Viewing 1 replies (of 1 total)
  • Plugin Author Damian Gora



    I don’t recommend to do that if you have in the search scope more than product title. If you order search suggestions by popularity, your users can be confused.

    Your idea isn’t wrong, but it needs other assumptions. I plan to add custom ordering or add popularity as one of the influencing factors (weight).

    Damian Góra

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.