This Pro tutorial provides the steps to show a "OUT OF STOCK" ribbon for WooCommerce products that are output via the Bricks' Products element on listing pages like the Shop page and product category/tag archives.
Step 1
Let's register a custom function for our ribbon.
Add the following in your child theme's functions.php or a code snippets plugin like WPCodeBox:
How to Add Support for Variable Products in Bricks WooCommerce Filters
Filtering for In Stock or Out of Stock WooCommerce products using Bricks' filters currently only works at the product level and not variation level. This…