• Resolved sgschossmann

    (@morethemerrier)


    Unfortunately, all my products (currently 3) are on three different pages on my shop page. In the WooCommerce Product Catalog Settings, the products per rows are on 4. I can’t find a products per page setting.

    I’ve tried the following code snippet at the end of my?functions.php:

    // Change the Number of WooCommerce Products Displayed Per Page
    add_filter( 'loop_shop_per_page', 'lw_loop_shop_per_page', 30 );
    
    function lw_loop_shop_per_page( $products ) {
     $products = 12;
     return $products;
    }

    Nothing happend. I don’t know what else to do?

    Can someone help please?

    Thanks in advance!

    Seli

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi @morethemerrier

    Thanks for reaching out!

    Unfortunately, all my products (currently 3) are on three different pages on my shop page. In the WooCommerce Product Catalog Settings, the products per rows are on 4. I can’t find a products per page setting.

    I would be happy to assist you, but I am not quite sure I understand your inquiry. Could you please provide additional details or clarify your question, so I can better assist you?

    If a screenshot would be helpful, I’d recommend using https://snipboard.io. You can share the direct link to the image as a response to this topic.

    Furthermore, for us to investigate your issue further, I’d like to understand your site properly. Please share your System Status Report that you can find via WooCommerce > Status. Select Get system report and then Copy for support. Once you’ve done that, you can paste it into your reply here.

    If you could also provide the fatal error logs (if any) under WooCommerce > Status > Logs.

    You could copy and paste your reply here or paste it via https://gist.github.com/ and send the link here.

    Thanks!

    Thread Starter sgschossmann

    (@morethemerrier)

    Hi and thanks for reply @xue28.

    So the problem is that I can’t bring all my products in the shop page on one single page.

    When I am opening the page in the Editor, I have all three products side by side. When I am opening it on the live page or preview I have all my products on three different pages.

    Here I screenshoted you the editor on the left and the result on the right: https://snipboard.io/Gx9hCe.jpg

    So and here is the System Status Report: https://gist.github.com/cookiesla00/9de084ae53f33d256529262667bd101b

    There’s one error log, but this has nothing to do with my issues I guess: 2023-03-19T05:49:49+00:00 ERROR Automattic\WooCommerce\GoogleListingsAndAds\Notes\NoteInitializer::add_notes Google account is not connected.

    Thanks!

    Hi @morethemerrier

    I have tried the same setting on my test website, and it’s working fine on the front end, you can take a look at these screenshots:

    https://screencast-o-matic.com/i/c0hjF2VzSLH

    https://screencast-o-matic.com/i/c0hjF2VzSL8

    It seems like your theme is overriding the default pagination settings. The best way to determine this is to:

    • Temporarily switch your theme to Storefront
    • Disable all plugins except for WooCommerce
    • Repeat the action that is causing the problem

    If you’re not seeing the same problem after completing the conflict test, then you know the problem was with the plugins and/or theme you deactivated. To figure out which plugin is causing the problem, reactivate your other plugins one by one, testing after each, until you find the one causing conflict. You can find a more detailed explanation on how to do a conflict test here.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Each product in the shop is on an extra page’ is closed to new replies.