Forums › Forums › Search & Filter Pro › Woocommerce – too many categories
Tagged: categories, woo commerce
- This topic has 7 replies, 2 voices, and was last updated 3 years, 11 months ago by Trevor.
-
Anonymous(Private) December 10, 2020 at 10:29 pm #269499
Hi there – we are using Search and Filter on a woocommerce site.
Wordpress 5.5.3, Woo 4.7.1, S&F Pro 2.5.2
The site has a little over 8,000 products.
All of the filtering menus that we have – and we have a lot – are working great except for categories/taxonomies that have a lot of items. I have tried some combinations and it looks like items with over 1000 results just will not display. I do not know the exact breaking point, but 812 displays fine, when 1202 or more does not display at all so I am making a guess.
It is working in the sense that the menus do reset to show the proper results – if i start with a category with 3900 items, i see the screen refresh and the menus do change to filter it down. It just does not show any products, and it just *looks* to our client/their customers like it didn’t work.
I am wondering – if there is in fact a cap on how many items per category it will show – can that number get edited – or can we show a message or – something – to indicate that yes, something did happen, that they need to narrow your choice further?
Trevor(Private) December 11, 2020 at 10:08 am #269529Are you trying to display all products on one page, or using pagination?
I am not sure, but I think WordPress has a limit of around 990 results per page.
Are you able to send me a live link/URL to your search page so I can take a look?
Can you let me know a couple of searches I can do to see what you describe?
Trevor(Private) December 11, 2020 at 9:10 pm #269625As you are using WP Engine for hosting, can you edit the WordPress site wp-config.php file and add this line towards the start of the file (after the php tag line):
define('WPE_GOVERNOR', false);
Copy this from the forum post, and not the email, as email software will replace the quote marks with the wrong ones.
If that does not fix it, please get back to me.
Anonymous(Private) December 11, 2020 at 9:57 pm #269652OK – already it is working better. When I load /products i see – products! thats a huge win. I will try some of the oversized category sets when they are all there – but – early signs are VERY promising. Thank you so much Trevor. I will try to remember this trick for the next site where we have another high product count that we’re building later this month.
-
AuthorPosts