Categoría: BRICKS DYNAMIC DATA FREE PLUGINS WOOCOMMERCE
-

How to add a “Sold Out” badge for out of stock products in Bricks
Looking to add a “Sold Out” badge for products in the Shop page for WooCommerce products that are out of stock when using Bricks’ Products element? One way in which this can be done is by defining a custom function that checks the product object’s is_in_stock method and returns the HTML followed by using this…