From 66b87e290522f5c653c4b4859432de4b68f48d5a Mon Sep 17 00:00:00 2001 From: Sven Rudolph Date: Thu, 18 Apr 2024 21:03:41 +0200 Subject: [PATCH] maxPrice is supposed to be int, so always ceil the value --- woonuxt.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/woonuxt.php b/woonuxt.php index 46abc8d..74ddb3b 100644 --- a/woonuxt.php +++ b/woonuxt.php @@ -716,7 +716,7 @@ function global_setting_callback() while ($loop->have_posts()): $loop->the_post(); global $product; - $options['maxPrice'] = $product->get_price(); + $options['maxPrice'] = ceil($product->get_price()); endwhile; wp_reset_query();