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
Create A Customizable AJAX Add To Cart Button In Bricks BuilderIn Bricks, you can simply create an Add To Cart button from a dynamic data / function {woo_add_to_cart}. This button supports AJAX as well if…Read more →Categories: Bricks, Free, PluginsTags: AJAX, Conditions, 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 WooCommerce Product Reviews Bricks Query LoopCreating a custom query loop for WooCommerce product reviews for building custom review layouts.Read more →Categories: Bricks, Plugins, ProTags: Custom Query Type, 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
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 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
Image Sizes in BricksAn overview of all the image sizes generated by Bricks, WooCommerce & WP.Read more →Categories: Bricks, FreeTags: Image Sizes, 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 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