Tell us what you are trying to do?
We are using the field 'views_woo_in_stock' in several if-statements to get the available products in our shop. Since the this function seems to be legacy, the products will stay online forever or until some of my colleages will change the custom filed manually.
Hello. Thank you for contacting the Toolset support.
Yes - it should work as before - is it not working now? If yes:
Where you added the conditional statement, can you please share problem URL and admin access details.
*** 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.
I found that on the custom field group listing page the custom field group "WooCommerce Views filter fields" was not activated. I just activated it.
=> hidden link
Can you please confirm it works at your end as well.
ok I got the news that with the new version of Toolset WooCommerce Blocks - the CRON job feature was removed and that is why you should not use the fields like "views_woo_in_stock" with your conditional statements.
You need to adjust the conditional statement and you should try to create a custom shortcode that should return the product stock status and based on the return value you display the output accordingly.