• Resolved Dan Stephenson

    (@danstephenson)


    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

    (@stepasyuk)

    Hi @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.