• Hi,

    When I search for products I see “Showing 1 – 12 of 14 products”, whenever I click page 2 on the pagination, “No results were found” is shown.

    When I see the no results error message, if I reload the page, the extra 2 products show fine.

    Could this plugin be altering the query being run, if so, how can I diagnose the issue?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author RazyRx

    (@razyrx)

    Hi,

    Please provide your site URL.

    Regards,
    Oleg

    Thread Starter lms94

    (@lms94)

    Hi,

    The site isn’t live just yet.

    I’ve also noticed that when I apply a filter and click page 2 on the pagination, the filtering is removed?

    For example, my pagination url’s are like this: https://local.dev/shop/page/2/?filter_brand=bioa&query_type_brand=or

    When I click this link, all results are returned (until I reload the page), which the correct page 2 items are shown.

    Plugin Author RazyRx

    (@razyrx)

    Hi,

    Which the plugin adds this variable “?filter_brand=bioa&query_type_brand=or” to URL?
    Please disable this plugin, because two plugins for filtering can cause some problem.

    Regards,
    Oleg

    Thread Starter lms94

    (@lms94)

    Hi,

    That was the woocommerce filter adding that so I followed the installation instructions and that fixed the issue. I’m not having an issue where, if I search for a product (?s=product-name), the pagination breaks saying “no products found” – until I reload the page

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Product search pagination breaks wp query’ is closed to new replies.