Bug: Search results do not account for hiding out of stock products
- 2 years, 7 months ago #25877
Using algolia, when I select the option to hide out-of-stock products from the catalog the search results do not work properly. Basically, it still gives the filter counts and pagination counts as if the out of products are being displayed. For example, if it says there are 24 results and it will show 20 but say there are 24 with the 4 not being displayed being the out-of-stock products.
A more extreme example is going to a category that does not have any in-stock products and the pagination still shows the counts and pagination for all the products in that category.
I re-indexed everything but no go. Is there a way to add a filter for In Stock and Out of Stock to Algolia with WPSolr so that it can be used as a filter?
wpsolrKeymaster2 years, 7 months ago #25884
- This topic was modified 2 years, 7 months ago by wpsolr.
Please replace your WPSOLR version with this fix: https://trello.com/c/O26DFWlp/152-fix-algolia-showing-out-of-stock-products
You must be logged in to reply to this topic.