WordPress.org

Support

Support » Plugins and Hacks » [Resolved] Only showing 5 products per page

[Resolved] Only showing 5 products per page

  • littlebizonline
    Participant

    @littlebizonline

    Hi,
    I have set up a Woocommerce store and while the categories are showing up fine, all my product pages are limited to 5 products per page (before pagination). This is a problem because it is 4 products on the top row, and then one underneath product #1. Therefore customers think there are only 5 products in the category and it isn’t obvious to click to the next page. I would love to change this to 8 or 12 per page.
    So far I have tried:
    – changing the number of blogs shown in the Settings>Reading section.
    – changing the wp-content/themes/yourtheme/functions.php to include the below code:

    // Display 24 products per page. Goes in functions.php
    add_filter( 'loop_shop_per_page', create_function( '$cols', 'return 24;' ), 20 );

    So far no success. If anyone can help, it would be greatly appreciated.
    The theme of this site is Modest (Elegant themes) – and it is what the client wants to keep…

    http://www.divineyou.co.nz/shop

    Thanks

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

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

    @splashingpixelscom

    From what I remember Elegant themes have their own post per page thing…Look thoroughly in the theme settings…

    littlebizonline
    Participant

    @littlebizonline

    Thanks for the quick reply.
    Could you please clarify if you mean in the Appearance>Theme Options, or if you are referring to accessing the php files?
    Anything else you can remember to point me in the right direction would be very helpful 🙂

    littlebizonline
    Participant

    @littlebizonline

    ah I found it – legend thank you!!

    For anyone else – it is in the Appearance>Theme Options>General settings tab

    YAY!!!!

    lanhub
    Participant

    @lanhub

    This issue has been bugging me all day. Thanks Roy!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘[Resolved] Only showing 5 products per page’ is closed to new replies.