Order products by category priority
- mneimneParticipant3 years ago #29604
another finding in version 22.2 (no fix):
If product_cat is enabled in Filters, it is shown correctly in the search page, and it doesn’t show in the product archive. To make the product category filter visible, I had to click on “Show categories as tree” which will make it visible in the product archive but it doesn’t work as expectedis there a support portal that I can send my staging URLs to show you the issue.
Thanks,wpsolrKeymaster3 years ago #29605Let’s have the same simple test use case, with 2 products and 3 products categories:
– Delete your index content, and verify your search is empty
– Create “product 1” with “cat 1 -> cat 2 -> cat 3′
– Create “product 2” with “cat 1 -> cat 2 -> cat 4′You should now see the 2 products in your search.
Navigate to /product_category/cat-1/cat-2, and check that filtering on “cat 3” or “cat 4” works as expected.
mneimneParticipant3 years ago #29606The facets didn’t show up in the product category archive (https://pasteboard.co/hEH64x2OfutF.png)
Although in the search they did (https://pasteboard.co/kc4LqR4wm7PM.png)mneimneParticipant3 years ago #29607Category facets will only be displayed in the category page if I selected “select to display the facet as tree”, but then the filtering won’t work all results will be fetched.
https://pasteboard.co/szKvkQsYFA8e.pngmneimneParticipant3 years ago #29608I checked the demos found on the website, and it seems they all have this issue
check out this link for a category archive : https://demo-woocommerce-flatsome-cloudways-million-products.wpsolr.com/product-category/slumber-bags/it doesn’t show the categories in the facets, only in the search page. Thought this might help.
wpsolrKeymaster2 years, 12 months ago #29611Here is a fix to this issue (on a category archive, the children category facets do not work):
https://trello.com/c/q3k8dbqX/188-fix-children-term-filter-of-current-category-archivemneimneParticipant2 years, 12 months ago #29614Thanks, the fix seems to be working.
Another question, I followed your guide on how to make Elasticsearch return more than 10,000 results, however it doesn’t seem to be working, always 10K results are returned.
Knowing that the settings API call on that index indicates that this value was set to more than 10K.
Elasticsearch version 7.6.2wpsolrKeymaster2 years, 12 months ago #29615Please continue this new subject on how to make Elasticsearch return more than 10,000 results
- This reply was modified 2 years, 12 months ago by wpsolr.
You must be logged in to reply to this topic.