WordPress.org

Ready to get started?Download WordPress

Forums

WooCommerce - excelling eCommerce
Product Cagetory - Display more than 5 products on the page? (9 posts)

  1. vtex
    Member
    Posted 1 year ago #

    Hi,

    When I open category page of my products, it only lists out 5 products, how do i show them all or at least set a number?

    Right now it's
    1 2 3 4
    5
    ...[1] [2]... pages..

    It looks like crap, any ideas how can i do that?

    thanks

    http://wordpress.org/extend/plugins/woocommerce/

  2. Roy Ho
    Member
    Posted 1 year ago #

  3. vtex
    Member
    Posted 1 year ago #

    Thanks, I tried adding:
    add_filter( 'loop_shop_per_page', create_function( '$cols', 'return 24;' ), 20 );

    into my themes functions.php right above <?php } but still did not work. Any ideas?

    Thanks

  4. Roy Ho
    Member
    Posted 1 year ago #

    That should work as that is what I use on my themes as well...

  5. vtex
    Member
    Posted 1 year ago #

    splash - does this work for your categories?

  6. Roy Ho
    Member
    Posted 1 year ago #

    That is for category pages...(anywhere where it displays products)

  7. vtex
    Member
    Posted 1 year ago #

    Any idea what else i could try?

  8. Roy Ho
    Member
    Posted 1 year ago #

    That is the proper way to do it...The only other way is a work around and not recommended. You can go to your blog settings and change the number there but that will affect both your blog lists and product lists thus I said it is not recommended...But if you don't use your site with a blog at all, then it won't hurt you...

  9. vtex
    Member
    Posted 1 year ago #

    I finally figured it out, my theme had it's own setting of how many post to display and it was overwriting functions.php and general setting for wp. I'm using elegantthemes and if someone runs into the same issue, the variable is set under theme cpanel > General Settings > General > "Number of Posts displayed on Archive pages" = XXXX

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.