Title: Incompability with MDTF Plugin
Last modified: April 25, 2017

---

# Incompability with MDTF Plugin

 *  [thestonehouseofcampbellville](https://wordpress.org/support/users/thestonehouseofcampbellville/)
 * (@thestonehouseofcampbellville)
 * [9 years, 1 month ago](https://wordpress.org/support/topic/incompability-with-mdtf-plugin/)
 * Hi,
 * I have an compatibility issue between this plugin and MDTF ([Meta Data and Taxonomy Filter](https://wordpress.org/plugins/wp-meta-data-filter-and-taxonomy-filter/)).
   MDTF, when having an active filter, resets the products per page to WooCommerce
   default value. Changing the Product Per Page dropdown while MDTF is active does
   not change the products per page.
 * The active filter changes the url from “shop/” to something like “shop/?slg=product&
   mdf_cat=686&page_mdf=bf0dc27f3a410f34ddb870977d9df8cd”; does the plugin recognize
   this as a shop page still? I’ve tried increasing the priority on the hook setting
   the products per page but no luck.
 * Any help would be appreciated. Thanks.

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Author [Jeroen Sormani](https://wordpress.org/support/users/sormano/)
 * (@sormano)
 * [9 years, 1 month ago](https://wordpress.org/support/topic/incompability-with-mdtf-plugin/#post-9068757)
 * 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
 *  Thread Starter [thestonehouseofcampbellville](https://wordpress.org/support/users/thestonehouseofcampbellville/)
 * (@thestonehouseofcampbellville)
 * [9 years, 1 month ago](https://wordpress.org/support/topic/incompability-with-mdtf-plugin/#post-9074220)
 * 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](https://wordpress.org/support/users/sormano/)
 * (@sormano)
 * [9 years, 1 month ago](https://wordpress.org/support/topic/incompability-with-mdtf-plugin/#post-9075575)
 * 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)

The topic ‘Incompability with MDTF Plugin’ is closed to new replies.

 * ![](https://ps.w.org/woocommerce-products-per-page/assets/icon-256x256.jpg?rev
   =1090359)
 * [Products Per Page for WooCommerce](https://wordpress.org/plugins/woocommerce-products-per-page/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woocommerce-products-per-page/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woocommerce-products-per-page/)
 * [Active Topics](https://wordpress.org/support/plugin/woocommerce-products-per-page/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woocommerce-products-per-page/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woocommerce-products-per-page/reviews/)

## Tags

 * [MDTF](https://wordpress.org/support/topic-tag/mdtf/)

 * 3 replies
 * 2 participants
 * Last reply from: [Jeroen Sormani](https://wordpress.org/support/users/sormano/)
 * Last activity: [9 years, 1 month ago](https://wordpress.org/support/topic/incompability-with-mdtf-plugin/#post-9075575)
 * Status: not resolved