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
Product Gallery Carousel in BricksShowing how we can replace the images of a Carousel with those set in the Product Gallery for product pages.Read more →Categories: Bricks, FreeTags: bricks/element/settings, Carousel, Filters, WooCommerce
Pro [WooCommerce] Sticky on Scroll Add to Cart section in BricksSetting up a sticky section that fades in when scrolling down and fades away when scrolled to the top.Read more →Categories: Bricks, ProTags: JavaScript, sessionStorage
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
Pro Stock Quantity Block for WP Grid BuilderIn the unofficial WP Grid Builder Facebook group a user asked: Is it possible to show stock quantity on the card? I can't find it…Read more →Categories: Plugins, ProTags: WP Grid Builder
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 On Sale Products Bricks Query LoopLooking to show only the WooCommerce products that are on sale in Bricks? Set up a query loop, enable the PHP query editor and paste:Read more →Categories: Bricks, Plugins, ProTags: 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
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
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