• Resolved losrack

    (@carlos-jaramillo)


    Hi,

    it is been a long time since this began to happen: Last row in the catalog on the shop page, there is always 3 items not being placed there. So there is this strange gap.

    Any help would be much appreciated.

    • This topic was modified 6 years, 8 months ago by losrack.

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

Viewing 5 replies - 1 through 5 (of 5 total)
  • What are your settings at:
    Dashboard > Appearance > Customize > WooCommerce > Product Catalogue
    have you set 4 products per row and 3 rows per page?

    Thread Starter losrack

    (@carlos-jaramillo)

    Yes those are the settings…

    Is there any code in functions.php for your child theme which might be overriding the setting?
    Look for some code similar to this:

    add_filter( 'loop_shop_per_page', 'new_loop_shop_per_page', 20 );
    function new_loop_shop_per_page( $cols ) {
      return 9;
    }
    Thread Starter losrack

    (@carlos-jaramillo)

    Hi lorro thanks for writing back

    I have to say .. OOPS !

    I really forgot about this on my functions.php now I have changed it to

    add_filter( 'loop_shop_per_page', create_function( '$cols', 'return 12;' ), 20 );

    Thanks

    • This reply was modified 6 years, 8 months ago by losrack.
    • This reply was modified 6 years, 8 months ago by losrack.

    You might not need that at all now because what it does is built into Appearance > Customize > WooCommerce since WooCommerce version 3.3.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘missing items on last row on every page’ is closed to new replies.