Title: Pre-Selected Filter?
Last modified: August 5, 2022

---

# Pre-Selected Filter?

 *  Resolved [Dan Stephenson](https://wordpress.org/support/users/danstephenson/)
 * (@danstephenson)
 * [3 years, 10 months ago](https://wordpress.org/support/topic/pre-selected-filter/)
 * Hello,
 * I have setup this wonderful plugin and immediately purchased the pro version 
   to support the developer.
 * I am setting up a set of filters for my products, and one I am using is WooCommerce’s
   stock setting so a user can toggle all products, or just in-stock items.
 * Is there a way I can pre-select the “In Stock” setting so that the user only 
   sees in-stock items by default?

Viewing 1 replies (of 1 total)

 *  Plugin Author [stepasyuk](https://wordpress.org/support/users/stepasyuk/)
 * (@stepasyuk)
 * [3 years, 10 months ago](https://wordpress.org/support/topic/pre-selected-filter/#post-15891952)
 * Hi [@danstephenson](https://wordpress.org/support/users/danstephenson/)
 * Thank you for your warm words abou the plugin.
 * This can be done only if you add via hook to your original WP_Query (Product 
   query) custom meta query that selects only “In Stock” products. Or even better
   to add via hooks sorting products so that “Out of Stock” will be in the end of
   products list. In this case links to them will be available for indexing by Google
   and they will not prevent users from looking for the “In Stock” products.

Viewing 1 replies (of 1 total)

The topic ‘Pre-Selected Filter?’ is closed to new replies.

 * ![](https://ps.w.org/filter-everything/assets/icon-256x256.png?rev=3487105)
 * [Filter Everything — WordPress & WooCommerce Filters](https://wordpress.org/plugins/filter-everything/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/filter-everything/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/filter-everything/)
 * [Active Topics](https://wordpress.org/support/plugin/filter-everything/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/filter-everything/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/filter-everything/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [stepasyuk](https://wordpress.org/support/users/stepasyuk/)
 * Last activity: [3 years, 10 months ago](https://wordpress.org/support/topic/pre-selected-filter/#post-15891952)
 * Status: resolved