Price range slider problem
-
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.
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.
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
Could you please send us your FTP access so we can check?
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
Happy days… it worked 🙂
Do you think this wil be implemented in next update?
Thanks Artem!
Yes, it will be included in our next theme update.