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 633 Bricks code tutorials with BricksLabs Pro
Custom WooCommerce Account Dashboard in BricksHow to build a custom My Account dashboard using the WooCommerce account builder in Bricks.Read more →Categories: Bricks, Free, PluginsTags: Dashboard, 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 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
[WooCommerce] Product Category Image Background in BricksHow to set up the product category thumbnail image as the background of a Section.Read more →Categories: Bricks, Free, PluginsTags: 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 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
Pro How to Modify Products Element Query in Bricks to Output Child ProductsThis Pro tutorial provides the steps to limit WooCommerce products output by Bricks' Products element on single product pages to only the children of the…Read more →Categories: Bricks, Plugins, ProTags: bricks/query/result, WooCommerce
How to add a “Sold Out” badge for out of stock products in BricksLooking to add a "Sold Out" badge for products in the Shop page for WooCommerce products that are out of stock when using Bricks' Products…Read more →Categories: Bricks, Free, PluginsTags: Dynamic Data, 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