I have woocemmerce activated in my plugin, everything works fine like add to cart, cart page, and checkout. But the main product pages seems not working. There is a pagination below but whenever I click the next page or page 2, it shows nothing and no products displayed, btw the url is ...products/page/2.

I added woocommerce support to my current theme so that I can fully customise the products:

add_action( 'after_setup_theme', 'woocommerce_support' );
function woocommerce_support() {
    add_theme_support( 'woocommerce' );

Additionally, I have a category in each product and the pagination is working, the products page pagination is the only one that is not working.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.