Support » Plugin: WooCommerce » Woocommerce – Display multiple pages for one category

  • Resolved servicewordpress


    How to display multiple products of one category, on multiple pages, using a navigation bar at the bottom:

    I would like to display 20 products per page of one category, but this category may have 60 products. So I would like to display the products in 3 pages for this category. example Page 1 – 2 – 3, with 20 products on each. Is it possible to do it?

    My site contains more than 500 products, I have more than 25 categories with multiple products for each. What is the best approach.

    Thank you!

Viewing 13 replies - 1 through 13 (of 13 total)
  • Roy Ho


    Are you saying your category pages are not showing a pagination nav for you to navigate from page to page?

    yes, that’s it, thanks for reply 🙂

    Roy Ho


    HMmm by default it should show if you indeed have products to paginate. Try this and see what you get. Add this in your functions.php of your theme file.

    remove_action( 'woocommerce_pagination', 'woocommerce_pagination', 10 );
    add_action( 'woocommerce_pagination', 'woocommerce_pagination', 10);
    function woocommerce_pagination() {
    echo 'this is working';

    This is working for the root page of the shop, but not in my sub-pages of the shop.

    Shop –> CATEGORY PAGE X –> PAGE X:

    In this page, I add the shortcode :

    [product_category category=”nameofmycategory” per_page=”20″ columns=”4″ orderby=”date” order=”desc”]

    I see the page, the products on it, but no pagination at the bottom.


    Roy Ho


    Instead of using shortcode, why not just let the page in your menu and see if the system can handle your pagination?

    it doesn’t work, if i do not use shortcode, how does the page will know which category to display?

    Roy Ho


    Because you’re using the menu system. Assuming you have a list of categories in your menu to let customers choose. Those categories are added via the menu settings and they do not require you to put shortcodes.

    ok it work if i use the widget product categories in the sidebar, but my site require to put those page in the main nav. and not in the sidebar, how can put it there? thanks 🙂

    Roy Ho


    It works just like any page/category in the menu…drag and drop the items you want. If you don’t see the category, go to top right screen options and pull down the tab and then select all the items you want show.

    I didn’t have a register sidebar in the header.. maybe it is why it doesn’t work for category widget..? I use Woostore theme. I look further about how to replace the main menu for the sidebar header.

    Roy Ho


    ?? I was not talking about widgets…I am talking about Native WordPress Menu. It is in the appearance section.

    Yes It work! I had this menu before, but instead of using product categories, I used simple pages, that’s why.. Now I clicked on “product categories” in the screen option tab (at top) and that’s it. I have my nav bar in the bottom too:)

    Thank you very much! Great support 🙂


Viewing 13 replies - 1 through 13 (of 13 total)
  • The topic ‘Woocommerce – Display multiple pages for one category’ is closed to new replies.