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
(@razyrx)
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
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
(@razyrx)
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
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.