Jerobero on "[Plugin: WooCommerce Products Filter] Products per page allways 12"

ساخت وبلاگ

I've read that the plugin supports "WooCommerce Products Per Page" plugin to handle how many products it can show on results. However I wasn't sucessfull in implementing it in my store. I've read some support posts here and still can't figure it out. So I've tried the demo site.

I've used example: http://www.demo.woocommerce-filter.com/

1. Set "All products per page"
2. Click Clothing(16)
3. It resets back to 12 products per page
4. Set "All products per page"
5. Click T-shirts(8)
6. Again it resets back to "12 products per page"

Is this working as intented, since I would expect it stays on "All products" when I click it?

https://wordpress.org/plugins/woocommerce-products-filter/

pavloborysenko
Member
Posted 1 week ago #

Hello

Set "All products per page" after filter.

This panel runs on ajax. When there is a filter it is redrawn with the products and resets.

I would expect it stays on "All products" when I click it? - after filter click it and the panel work fine

In my case I've hidden the "All products" select box entirely since I don't need to use it. I've set up show all prodcuts in "WooCommerce Products Per Page" and I'm kinda expect that it show all products.

pavloborysenko
Member
Posted 1 week ago #

Hello

Try this please, in Woof settings - http://c2n.me/3AZOeCX.png
If you use shortcode [woof_products] Add attribute to it per_page=-1

Thx for suggestion. It was set to 2000 and I've changed it to -1. Still not working though. WooCommerce Products Filter simply ignores the whole per page setting and resets the settings everytime ajax loads.

Hello

On the demo http://www.demo.woocommerce-filter.com/ was old version of the plugin and I updated it to the latest 2.1.5 - so now "WooCommerce Products Per Page" works fine ...

The same with shortcode [woof_products]: http://www.demo.woocommerce-filter.com/tester/

Set 36 products per page and select clothing(16) in products categories

Be sure that you has the latest version of WOOF + reset cache after setting '-1' to 'Products per page' option

Filter simply ignores the whole per page setting and resets the settings everytime ajax loads. - try it without AJAX please ...

Jerobero
Member
Posted 4 minutes ago #

Fixed. I've disabled "Try to ajaxify the shop" in Woocommerce -> Settings -> Products filter -> Options. Thx all for support.

WordPress ...
ما را در سایت WordPress دنبال می کنید

برچسب : نویسنده : استخدام کار wpss بازدید : 437 تاريخ : پنجشنبه 28 مرداد 1395 ساعت: 19:38