Tell us what you are trying to do?
I whant made fast order for my product by category but i need hide or highlight the row products in the status - out of stock. I found this solution https://toolset.com/forums/topic/woocommerce-product-in-stock-views-filter-not-updating-properly/ but i don't understand how to apply in my case with blocks hidden link . Thanks for the help.
Is there any documentation that you are following? https://toolset.com/forums/topic/woocommerce-product-in-stock-views-filter-not-updating-properly/
Is there a similar example that we can see?
What is the link to your site? hidden link
Hi,
Thank you for contacting us and I'd be happy to assist.
In the Blocks editor, you can compare the static value '1' with the "views_woo_in_stock" field, to check if the product is in stock or not.
( example screenshot attached )
regards,
Waqar
I try you condition hidden link in debug field I see - that work right, but not hide my text hidden link
instock debug information
####################
wpv-conditional attributes
####################
Array
(
[if] => NOT ( ( '1, 1, 1, 1' = '0' ) )
[debug] => true
)
####################
Debug information
####################
--------------------
Original expression: NOT ( ( '1, 1, 1, 1' = '0' ) )
--------------------
After replacing 1 general variables and comparing strings: NOT ( ( '1, 1, 1, 1' = 0 ) )
Comparing 1, 1, 1, 1 to 0
out of stock debug information
####################
wpv-conditional attributes
####################
Array
(
[if] => NOT ( ( '0, 0, 0, 0' = '0' ) )
[debug] => true
)
####################
Debug information
####################
--------------------
Original expression: NOT ( ( '0, 0, 0, 0' = '0' ) )
--------------------
After replacing 1 general variables and comparing strings: NOT ( ( '0, 0, 0, 0' = 0 ) )
Comparing 0, 0, 0, 0 to 0
Thank you for sharing these details.
I'm seeing different results on my test website, so to troubleshoot this, I'll need to see exactly how this conditional block is set up on your website.
Can you please share temporary admin login details, along with the link to the page with this conditional block?
Note: Your next reply will be private and it is recommended to make a complete backup copy, before sharing the access details.
I apologize for the delay in reply. Your help helped me, it may not work, because the page remained in the cache, after a while everything worked as it should. Thanks for the help.