Home Forums Basel support forum Price filters

Price filters

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #21741

    procyon82
    Participant

    Hi,

    When you filter by the highest price group, it doesn’t include products that have the highest price.

    #21760

    Artem Temos
    Keymaster

    Hello,

    Thank you for the report. We will fix it in our next theme update. As for now, you can do this manually changing the line #142 in the file basel/inc/widgets/class-widget-price-filter.php to this

    $sql = "SELECT min( FLOOR( price_meta.meta_value ) ) as min_price, max( CEILING( price_meta.meta_value ) ) as max_price FROM {$wpdb->posts} ";

    Regards

Viewing 2 posts - 1 through 2 (of 2 total)