Viewing 10 replies - 16 through 25 (of 25 total)
  • Hey Somarno and John,

    Did you guys find a solution?
    If so… could you post it here?

    I’m also using the Divi Theme and have the same problem.

    Thanks in advance!

    Plugin Author Jeroen Sormani

    (@sormano)

    For those who might read this;

    Some themes override the plugin, for this there’s a simple fix, but this fix is different for every theme.

    If you’re experiencing the same, please contact me.

    Thread Starter gasto

    (@gasto)

    Hi, thanks for the update.
    I’m using Superstore theme 1.1.1.

    Is there any special fix for it?

    Hi Jeroen, I am also using the Divi theme from Elegant themes. This is the same theme John was having trouble with. Could you please kindly share the solution getting your plugin to work on this theme? Thank you and have a nice day.

    Jack

    Plugin Author Jeroen Sormani

    (@sormano)

    Hi Jack,

    Paste the code below in you themes functions.php

    /*
     * Override theme posts per page.
     *
     * Added by Jeroen Sormani (https://www.jeroensormani.com/)
     */
    add_action( 'pre_get_posts', 'wppp_divi_override', 9  );
    function wppp_divi_override() {
    
    	if ( woocommerce_products_will_display() ) :
    		remove_action( 'pre_get_posts', 'et_custom_posts_per_page', 10 );
    	endif;
    
    }

    Let me know if this worked for you!

    Thanks, Jeroen

    Hello Jeroen,

    Thanks for the prompt assistance. The code you provided works. Thank you.
    I will report back once I have a more extensive testing.

    Thank you again for your prompt and generous assistance.

    Cheers,

    Jack

    Plugin Author Jeroen Sormani

    (@sormano)

    Sweet ??

    You can always leave a review :wink; :wink;

    If you run into anything else, just let me know!

    Jeroen

    Hi! I’m so glad I found this post. I’ve been having all of these same issues. I’m using the Divi Template and my woocommerce store is giving me a lot of trouble. I’m very new to all of this and my skills are very limited. The code that you provided two days ago, will that fix my issue with getting my store to display correctly?

    Thank you!!

    Plugin Author Jeroen Sormani

    (@sormano)

    Hi ABPR,

    The code provided will fix the issue when the products per page dropdown is showing, but the number of products won’t change when one selects an different number.

    The code doesn’t do anything else but that.

    If you need any other help, you can always contact me through my website.

    Thanks! Jeroen

    Just to help anyone else, I had the problem where the the dropdown menu wouldn’t trigger. The 1st post from Jeroen helped

    “Strange it does not work. I see that the .products class is falling over the dropdown, you can fix this by adding .products { float: left } to your css”

Viewing 10 replies - 16 through 25 (of 25 total)
  • The topic ‘Can't get it working!’ is closed to new replies.