27th Feb '26/0 commentsHow to Add Support for Variable Products in Bricks WooCommerce FiltersSridhar Katakam 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 will soon be officially supported as can be seen here in the Roadmap. If you can not wait for Bricks to make this available and your shop needs this feature right now, this Pro tutorial is for you. Step 1 Go to WooCommerce → Settings → Products → Inventory and tick "Out of stock visibility". Step 2 Add the following in child theme's functions.php (w/o the opening PHP tag) or a code snippets plugin: This is a BricksLabs Pro tutorial. For full access login below or create your BricksLabs Pro account Username Password Remember Me Forgot Password Tagged: BricksPluginsProWooCommerceSridhar KatakamSridhar Katakam is a Bricks enthusiast. He likes helping others by researching and solving WordPress-related problems and building websites.Get access to all 630 Bricks code tutorials with BricksLabs Pro
Pro Top-Level Product Categories in BricksHow to show top-level WooCommerce product categories in Bricks using a query loop.Read more →Categories: Bricks, ProTags: WooCommerce
Pro Related FAQs on Product pages Based on Product Category Taxonomy in BricksOn product pages, we show all the FAQs associated with the current WooCommerce product's product categories.Read more →Categories: Bricks, Plugins, ProTags: ACF, WooCommerce
Pro Posts Grouped by Terms in BricksOne of the most useful features of Bricks builder is the Query Loop and it is more powerful than what appears on the surface i.e.,…Read more →Categories: Bricks, Plugins, ProTags: bricks/element/settings, bricks/posts/query_vars, Filters, WooCommerce
Pro Conditional Bricks Templates Based on Product Category Hierarchy LevelsProgrammatically appling Bricks templates to product category archives based on hierarchy level.Read more →Categories: Bricks, Plugins, ProTags: bricks/active_templates, WooCommerce
Pro Check if the User Purchased Any of the Specified ProductsThis Pro tutorial provides the steps for setting up a dynamic data condition on any element in Bricks so it can be output only if…Read more →Categories: Bricks, Plugins, ProTags: Conditions, Dynamic Data, WooCommerce
Pro Out of Stock Ribbon for WooCommerce Products in BricksShow an “OUT OF STOCK” ribbon for WooCommerce products that are output via the Products element on listing pages.Read more →Categories: Bricks, ProTags: WooCommerce
Pro Similarly Priced WooCommerce Products Bricks Query LoopHow to show products priced within a percentage of the current single product's price.Read more →Categories: Bricks, Plugins, ProTags: WooCommerce
Condition based on WooCommerce Product Attributes in BricksHow to display elements only when a specific WooCommerce product attribute is selected.Read more →Categories: Bricks, Free, PluginsTags: WooCommerce
WooCommerce Product Loop Template in BricksCreate a standard product loop template design in Bricks, and set it to override the default WooCommerce product loop.Read more →Categories: Bricks, Free, PluginsTags: Dynamic Data, Template Overriding, WooCommerce