Home Forums WoodMart support forum Price range slider problem

Price range slider problem

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #159617

    graffic
    Participant

    Hi

    On the frontpage of tourdezamunda.com, i have a product filter with a price range slider.
    When switching language the max amount doesn’t change to the most expensive item.
    The filter works fine in the shop sidebar.

    I’m using WPML multi-currency on the site.

    Can you please help.

    Attachments:
    You must be logged in to view attached files.
    #159675

    Hello,

    Kindly deactivate all the third party plugins except “WPML multi-currency” plugin and clear your site and browser cache and then check back.

    In case if the issue is still there then remain the third party plugins as disable and let me know so I can test with theme default plugins and help you out.

    Best Regards.

    #159690

    graffic
    Participant

    Hi

    All non required plugins are now disabled, but error still remains.

    I have made a login for you on the dev site.
    You are free to change the theme.

    Regards

    #159814

    Artem Temos
    Keymaster

    Could you please send us your FTP access so we can check?

    #159822

    graffic
    Participant

    Here you are 🙂

    #159834

    Artem Temos
    Keymaster

    Try to edit the file wp-content/themes/woodmart/inc/shortcodes/product-filters.php

    and replace these lines

    $min = floor( $prices->min_price );
    $max = ceil( $prices->max_price );

    with these

    $min = apply_filters( 'woocommerce_price_filter_widget_min_amount', floor( $prices->min_price ) );
    $max = apply_filters( 'woocommerce_price_filter_widget_max_amount', ceil( $prices->max_price ) );

    Regards

    #159841

    graffic
    Participant

    Happy days… it worked 🙂

    Do you think this wil be implemented in next update?

    Thanks Artem!

    #159850

    Artem Temos
    Keymaster

    Yes, it will be included in our next theme update.

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