Skip to content

Commit

Permalink
maxPrice is supposed to be int, so always ceil the value
Browse files Browse the repository at this point in the history
  • Loading branch information
svenrudolph committed Apr 18, 2024
1 parent f861b10 commit 66b87e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion woonuxt.php
Original file line number Diff line number Diff line change
Expand Up @@ -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();

Expand Down

0 comments on commit 66b87e2

Please sign in to comment.