Title: Wrong behaviour
Last modified: August 30, 2016

---

# Wrong behaviour

 *  Resolved [Rupert121](https://wordpress.org/support/users/rupert121/)
 * (@rupert121)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/wrong-behaviour/)
 * Hi!
 * When I install your plugin it changes the default number of product per page 
   to 10 – when I deactivate plugin the number come back to 20, as it should be.
 * Also, **more important error **– when I use filter, it changes data on page, 
   but it do something with product number and ordering dropdown. Plugin delete 
   originals, but then put duplicates to wrong location, outside my original DIV
   container (wd-meta-loop-box).
 * And it is loading whole page, rather than only product part, and loading icon
   is way to low.
 * I needed to change original “Products selector” to div.products because if I 
   use selector ul.product, plugin duplicates original DIV container (products tab-
   product-content) as many times as I use filter.
 * The testing page:
    [http://buy-cd-keys.com/product-category/playstation-3/](http://buy-cd-keys.com/product-category/playstation-3/)
 * [https://wordpress.org/plugins/woocommerce-ajax-filters/](https://wordpress.org/plugins/woocommerce-ajax-filters/)

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

 *  Thread Starter [Rupert121](https://wordpress.org/support/users/rupert121/)
 * (@rupert121)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/wrong-behaviour/#post-6778530)
 * Now I found out that same duplication problem is with page numbering.
 * Btw… if filter changes number of pages that doesn’t show in page numbering – 
   it shows same number of pages and break filter.
 * I use WP PageNavi.
 *  Plugin Author [RazyRx](https://wordpress.org/support/users/razyrx/)
 * (@razyrx)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/wrong-behaviour/#post-6778554)
 * Hi,
 * We will fix problem with products per page.
    Full compatibility with custom pagination,
   product number and ordering dropdown have only paid version of plugin.
 * Free version of plugin does not loads whole page. In paid version we have option
   for loads whole page.
 * Regards,
    Oleg
 *  Thread Starter [Rupert121](https://wordpress.org/support/users/rupert121/)
 * (@rupert121)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/wrong-behaviour/#post-6778631)
 * I don’t understand your answer – what will you fix and what is in paid version?
 * I hope that I don’t need to pay to have ajax price slider filter which will not
   break my page design?
 * And why are you changing my woocommerce settings and display only 10 product 
   per page? I think that we don’t need to pay for that you alow us to have desired
   number of product on page. You may ask to pay for plugin functionality, not woocommerce
   settings.
 * Regards,
    Rupert
 *  Plugin Author [RazyRx](https://wordpress.org/support/users/razyrx/)
 * (@razyrx)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/wrong-behaviour/#post-6778680)
 * We will fix problem with changes number of product per page to 10 in next plugin
   release.
 * Free version of plugin full compatible only with default WooCommerce pagination
   and default WooCommerce ordering dropdown menu.
 * Regards,
    Oleg
 *  Thread Starter [Rupert121](https://wordpress.org/support/users/rupert121/)
 * (@rupert121)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/wrong-behaviour/#post-6778739)
 * WP PageNavi just released update where you can change the name of container (
   you could put option to change the name of container your script was looking 
   for to WP PageNavi), and now the only thing to do is change that setting from“
   WPPageNavi” to “woocommerce-pagination”.
 * And with number of product per page – your script is looking at number of Blog
   posts per page, which is wrong. I don’t want to have 20 blog posts, but I want
   to have 20 products on page.
 * So you should look for number of products in filter
    add_filter( ‘loop_shop_per_page’,
   create_function( ‘$cols’, ‘return 24;’ ), 20 ); or install your own page dropdown
   with that filter.
 * I hope that I helped.

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

The topic ‘Wrong behaviour’ is closed to new replies.

 * ![](https://ps.w.org/woocommerce-ajax-filters/assets/icon-256x256.gif?rev=2770304)
 * [Advanced AJAX Product Filters](https://wordpress.org/plugins/woocommerce-ajax-filters/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woocommerce-ajax-filters/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woocommerce-ajax-filters/)
 * [Active Topics](https://wordpress.org/support/plugin/woocommerce-ajax-filters/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woocommerce-ajax-filters/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woocommerce-ajax-filters/reviews/)

 * 5 replies
 * 2 participants
 * Last reply from: [Rupert121](https://wordpress.org/support/users/rupert121/)
 * Last activity: [10 years, 6 months ago](https://wordpress.org/support/topic/wrong-behaviour/#post-6778739)
 * Status: resolved