Support » Plugin: WooCommerce Products Per Page » Incompability with MDTF Plugin

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

    (@sormano)

    Hi,

    I haven’t tested / confirmed it, but I do believe it should still be recognised as a shop page, I don’t see reason why it wouldn’t.

    Which setting are you using for the ‘http method’ on the settings are of this plugin? If you’re using ‘GET’ you may want to change it to ‘POST’ instead, that might work.

    Could you confirm it is working properly when not using the filter functionality?

    Let me know!
    Jeroen

    thestonehouseofcampbellville

    (@thestonehouseofcampbellville)

    Hi,

    Thanks for getting back to me. Yes products Per Page works fine when the filter is not active (ie. on “shop/page/2/” like pages). I have tried both GET and POST, no change.

    I think the solution is for me to try and dig into the MDTF documentation and try to figure it out. I’ve run through your plugin code and it should be working but MDTF seems to be the issue (ie. incompatible). My feeling is that MDTF is using a higher priority set of the products per page (or is somehow blocking/neutralizing PPP).

    The results_per_page seem to be captured with this snippet (in views/settings.php).

    <input type=”text” class=”regular-text”
    value=”<?php echo(isset($data[‘results_per_page’]) ?
    $data[‘results_per_page’] : 0) ?>” name=”meta_data_filter_settings[results_per_page]”>

    I will dig into the code further and will see if I can make sense of it. Thank you for your help.
    Jamie

    Plugin Author Jeroen Sormani

    (@sormano)

    Hi Jamie,

    Thanks for testing.

    I didn’t thought of it before the MDTF might change the number of results per page.
    Doing a quick search in their code it indeed is doing that. Not sure if this is it, but search for ‘posts_per_page’ in the ‘shortocdes/meta_data_filter.php’ file, I think that is the one with highest change of interfering.

    If its not that, just do a global search for the term and you’ll see which others might interfere.

    Have a great day!
    Jeroen Sormani

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.