Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author Jeroen Sormani

    (@sormano)

    Hi Jeff,

    I haven’t checked recently with the Storefront theme, but there doesn’t seem to be any real issue with it (I saw 2 topics on Storefront, both not related to this).

    Could it be there’s a setting for the number of products per page?

    Thanks!
    Jeroen

    Thread Starter jeff412

    (@jeff412)

    The only setting that affects the number of products displayed is the “blog pages show at most” setting. If I change that to 99, then 99 products are displayed.

    Jeff

    Plugin Author Jeroen Sormani

    (@sormano)

    Hi Jeff,

    I just updated my local install of storefront and WPPP, and it did seem to work over here.

    Are you using a child theme?
    Can you check if you use any other plugin that may affect the number of posts per page?

    I did find a Storefront specific function in the code that wants to change the number of the products per page. Can you try to remove this function directly to see what happens on your side? (its in wp-content/themes/storefront/inc/woocommerce/functions.php called storefront_products_per_page)

    Also, which version of WP / WC are you on?

    Thanks,
    Jeroen

    Thread Starter jeff412

    (@jeff412)

    Here are the answers to your questions.

    1. No I am not using a child theme.
    2. I have many plugins installed, but I’m not aware of any that affect the products per page.
    3. I will take out the function that you referred to and let you know, but if yours is working and that is there, then it probably isn’t the issue.
    4. I am running 4.4.1 of WP and 2.5.1 of WC.

    Jeff

    Thread Starter jeff412

    (@jeff412)

    I took that function out, but the products per page is still being controlled by the number of blog posts per page that are set.

    Jeff

    Plugin Author Jeroen Sormani

    (@sormano)

    Hi Jeff,

    Thanks for verifying / testing that out.

    Can you try using this code snippet to see if that works?
    https://docs.woothemes.com/document/change-number-of-products-displayed-per-page/

    Thanks!
    Jeroen

    Same problem here, also latest versions of WP, Woocommerce and Storefront theme, the code snippet works, which also pointed me to the fix.

    Get rid of the conflicting Storefront loop_shop_per_page filter by adding this code to your functions.php

    remove_filter( 'loop_shop_per_page', 'storefront_products_per_page' );

    Plugin Author Jeroen Sormani

    (@sormano)

    Hi Thomas,

    Glad that you found a fix and that it worked for you ??

    Jeff, you already tried something similar, but in light of Thomas, can you try that solution?

    Thanks,
    Jeroen

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘PPP not working with storefront theme’ is closed to new replies.