• Resolved marinow1991

    (@marinow1991)


    Hello!

    I want to make a filter that is for stock status.

    I want “InStock” to be selected automatically.

    Is there a way to do this?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author annastaa

    (@annastaa)

    Hello Marinow1991,

    The only way to pre-select the stock status (or any other filter for that matter) is to include it into page URL as parameter. Please click here for an example of pre-selected In Stock filter on our demo page. The “?availability=instock” part of the page URL is responsible for the filter pre-selection.

    To display only in stock products site-wide, please go to Woocommerce > Settings > Products > Inventory, and tick the Out of stock visibility (Hide out of stock items from the catalog) option.

    Plugin Author annastaa

    (@annastaa)

    Hello Marinow1991,

    I will close this inactive thread, but please don’t hesitate to open a new one if you have any further questions!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Auto selected “InStock”’ is closed to new replies.