We are developing a web store based on Woocommerce and Toolset.
The URL is hidden link.
Currently, all products are displayed, including those that are “out of stock.”
We only want to display products that are in stock, i.e., “in stock.”
There are two options for this:
* Custom search field
* Query filters
Custom search field works, but is it possible to have the “in stock” radio button enabled by default?
Strangely enough, query filters do not work. I used the following:
* Filter by > Woocommerce block filter fields > Custom field - views_woo_in_stock
* In Query panel > string > equal to > constant = instock
Hello. Thank you for contacting the Toolset support.
As I understand - you want to display in-stock products when view loads first time. If this is correct:
*** Please make a FULL BACKUP of your database and website.***
I would also eventually need to request temporary access (WP-Admin and FTP) to your site. Preferably to a test site where the problem has been replicated if possible in order to be of better help and check if some configurations might need to be changed.
I have set the next reply to private which means only you and I have access to it.