• Resolved waci851031

    (@waci851031)


    the woo pagination dosen’t work in the main product page.

    and I try this on my function.php, but it doesn’t work,either.
    add_filter( ‘woocommerce_pagination_args’, ‘rocket_woo_pagination’ );
    function rocket_woo_pagination( $args ) {
    $args[‘prev_text’] = ‘<i class=”fa fa-angle-left”></i>’;
    $args[‘next_text’] = ‘<i class=”fa fa-angle-right”></i>’;
    return $args;
    }

    how can I do…

    • This topic was modified 2 years, 9 months ago by waci851031.

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hi @waci851031

    Thanks for sharing the details.

    I noticed that the pagination is actually working on https://ehealth466.com/shop/ page, but after the first five rows two things are happening:
    1. The products are showing up one in a row and no longer in sets of three per row
    2. The URL is changing to https://ehealth466.com/shop/page/2/ and further to https://ehealth466.com/shop/page/2/ down below.

    As a first step please check if the same happens when you deactivate all other plugins except WooCommerce, and change the theme to a default WP theme like Twenty Twenty-One or Storefront.

    You can read more here on how to do a conflict test here: https://docs.woocommerce.com/document/how-to-test-for-conflicts/

    If you’re not seeing the same behavior after completing the conflict test, then you know the problem was with the plugins and/or theme you deactivated.

    Reactivate the theme first and check again. Then, go on and reactivate your other plugins one by one, testing after each, until you find the one causing conflict.

    If the above test does not yield a culprit, please share with us a copy of your site’s System Status. You can find it via WooCommerce > Status. Select “Get system report” and then “Copy for support”. Once you’ve done that, paste it here in your response.

    Thread Starter waci851031

    (@waci851031)

    Hi @margaretwporg ,
    I check all the plugins and it still happened. Then I change the theme to storefront, it works…
    But the other site I create “https://yexoxo.com/product-category/all-products/&#8221;, with the same theme “Astra”, the woo-pagination works…

    How can I do :((

    Hi @waci851031!

    I check all the plugins and it still happened. Then I change the theme to storefront, it works…

    When you said you checked all the plugins, do you mean that you disabled all of them, changed your theme to Storefront, and then started to enable all plugins, one by one?

    But the other site I create “https://yexoxo.com/product-category/all-products/”, with the same theme “Astra”, the woo-pagination works…

    Could you please confirm if, on the other site you created, you have all the same plugins installed and set up as your former site? Kindly note that this could play an essential role in understanding what could be happening.

    Thanks!

    We haven’t heard back from you in a while, so I’m going to mark this thread as resolved – we’ll be here if and/or when you are ready to continue.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘woocommerce pagination not work’ is closed to new replies.