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 634 Bricks code tutorials with BricksLabs Pro
Pro Featured Products in Bricks Query LoopShowing how WooCommerce products marked featured can be output in a Bricks query loop.Read more →Categories: Bricks, ProTags: bricks/posts/query_vars, 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
Fix for “Your theme (Bricks Child Theme) contains outdated copies of some WooCommerce template files.”Updated on 18 Feb 2023 Users of current (at the time of writing this) Bricks stable version of 1.6.2 and WooCommerce 7.4.0 will likely see…Read more →Categories: Bricks, Free, PluginsTags: WooCommerce
Pro Single Product Template in BricksIn this Pro tutorial we share an export of a pre-made Bricks Template for single products.Read more →Categories: Bricks, ProTags: Template Export, WooCommerce
Is WooCommerce Cart Empty Condition in BricksUpdated on 5 Nov 2024 Looking to conditionally render an element depending on whether the user's cart is empty or not when using WooCommerce? Add…Read more →Categories: Bricks, Free, Plugins, WordPressTags: Conditions, WooCommerce
Pro WooCommerce Products Live Search in BricksThis Pro tutorial provides the steps to set up a live search for WooCommerce products in Bricks. Note: Bricks' live search works with any type…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
Pro Products in the Same Product Categories as the Current Product in BricksHow to output WooCommerce products related by the current product’s categories when viewing the product page.Read more →Categories: Bricks, ProTags: bricks/element/settings, Filters, WooCommerce
Pro Product Attribute based Related Products Bricks Query LoopHow to output products related by value of attribute(s) for the current product on single WooCommerce product pages.Read more →Categories: Bricks, Plugins, ProTags: WooCommerce