• Resolved karagkiozidou

    (@karagkiozidou)


    Hello,

    I am currently using the Relevanssi plugin on my WordPress website alongside WooCommerce. I’ve encountered an issue specifically with the product search functionality. When I search for a product, the standard WooCommerce ordering options (such as “Order by Price” and “Order by Date”) do not work properly. The results are not ordered as expected. However, I’ve noticed that the shop pages (without using the search) work perfectly fine, and the sorting options there function as intended.

    I would also like to mention that I am overriding the woocommerce_get_catalog hook , which may be affecting the ordering results.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Mikko Saari

    (@msaari)

    Popularity and price sorting don’t work automatically in Relevanssi. You need extra code to support them. See here. Date sorting, on the other hand, should work without issues if the orderby parameter is set to post_date and nothing else overrides it.

    Thread Starter karagkiozidou

    (@karagkiozidou)

    Hi Mikko,
    thank you for your quick response, that fixed the problem.

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