diff --git a/patterns/product-hero.php b/patterns/product-hero.php index 7d50f99dd2d..095b9170f26 100644 --- a/patterns/product-hero.php +++ b/patterns/product-hero.php @@ -4,43 +4,43 @@ * Slug: woocommerce-blocks/product-hero * Categories: WooCommerce */ + +$query = new \WC_Product_Query( + array( + 'limit' => 1, + 'return' => 'ids', + 'status' => array( 'publish' ), + ) +); + +$products = $query->get_products(); +$product_id = $products ? $products[0] : null; ?> - -
$1,999
- + - - - + + + - -The Bluetooth keyboard, a striking homage to classic typewriters with its round, tactile keys and vintage aesthetic, merges nostalgia with modern connectivity for a unique typing experience.
- +