Viewing 5 replies - 1 through 5 (of 5 total)
  • Hi

    We are having a very similar issue. did you ever figure out how to solve it?

    Thanks

    Hi, Had this problem. Try removing the themes pagination (in my case WooThemes Canvas) and adding the WooCommerce pagination.

    Code here: https://gist.github.com/raisonon/6771672

    Thread Starter zkingdesign

    (@zkingdesign)

    Hi

    @raisonon I’ve tried your solution, added your gist code to functions php,installed wp-pagenavi, now I have 2 navigations (this isn’t a problem I can get rid of the old one), but the issue is that neither one of them is updating upon clicking on the plugins filters.

    I actually figured out why it wasn’t working for me. I was actually using the Ajax product finder plugin- and the issue was the the pagination area was not refreshing after the ajax call. In the documentation it provided an ajax callback where it would target the pagination element and refresh. We included that script in the header – and it started working. Although not quite the same plugin – perhaps it will help shed some light for you.

    Thread Starter zkingdesign

    (@zkingdesign)

    After having a bit of time, I figured out what the issue was

    <script type='text/javascript'>
    /* <![CDATA[ */
    var yith_wcan = {"container":".products","pagination":".pagination","result_count":".woocommerce-result-count"};
    /* ]]> */
    </script>

    Add this in your footer.php, the issue in my case was that I didn’t use the correct class for my pagination, but with the code above you can declare any class and you’d be good to go.

    Anyway thanks guys for the help.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Pagination bug’ is closed to new replies.