Forums › Forums › Search & Filter Pro › Display results not showing “draft” status products
Tagged: V3
- This topic has 13 replies, 3 voices, and was last updated 3 years, 10 months ago by Ross.
-
Anonymous(Private) February 1, 2021 at 9:31 pm #274889
Hi,
plugin is great but I’ve some trouble with a search filter with post type “products” (woocommerce installed, no conflict – also try to deactivate all plugin and change theme). Display result shows only the products that are in the “publish” status even if I set also the other status (draft, schedule, pending ecc ecc). If i debug the query arguments, I see that in the “post__in” are not included the post ids that are in the other statuses not “publish”. I suspect that should be an error with the s&f cache or with the function in the plugin to get all the product ids from woocommerce, because if I hook in the filter “sf_query_post__in” and manual add to the “post__in” array the ids of the missing posts, the display results shortcode shows its.
Thanks in advance
Best regards
-
AuthorPosts