Price slider amount label doesn’t update to active currency (FOX Currency Switcher)

This topic has 7 replies, 3 voices, and was last updated 1 day, 9 hours ago ago by Tony Rodriguez

  • Avatar: baitech
    baitech
    Participant
    August 11, 2026 at 13:49

    Hi!
    We’re using the “Filter Products by Price” widget (Display type: Slider) together with FOX Currency Switcher, with USD as base currency and ARS as active/displayed currency.

    The slider filtering itself works correctly (it filters against the base currency price as expected). However, the label text showing the range (e.g. “Price: $55 — $285”) always displays the value in the store’s base currency (USD), not in the active currency selected via FOX — this happens:
    1. On initial page load.
    2. After applying another filter (e.g. Color), which triggers XStore’s AJAX shop refresh.
    3. After dragging the slider manually.

    We tried a few JS-based workarounds on our end to convert the label after render, but the slider’s AJAX redraw behavior seems inconsistent between filter-triggered refreshes and manual drag, so our patches only partially work.

    This feels related to a similar issue we had resolved before with your support (ticket #472667 — price preloader spinner stuck after AJAX filter redraw), where XStore’s AJAX redraw didn’t consistently fire the events FOX depends on.

    Is there a native hook/filter we should use to intercept or convert this label value before it renders, instead of patching it externally with JS? Any guidance on the correct approach would help.

    Content is visible for topic creator and
    support staff only.
    6 Answers
    Avatar: baitech
    baitech
    Participant
    August 12, 2026 at 04:42

    Hi again,

    While waiting on this issue, I found a related problem with the “Spotlight Categories” widget (the row of circular category icons) that seems to share the same root cause as the price slider label issue: XStore’s AJAX category filtering does not replace the previous selection — it accumulates it.

    Steps to reproduce:

    Go to a category page that uses the “Spotlight Categories” widget (row of category icons).
    Click a different category icon (e.g. “Aspiradoras”).
    Click another one (e.g. “Audio”).
    Click a third one (e.g. “Cables y Bases”).

    Expected: the filter/URL should update to reflect only the last-clicked category.

    Actual: the URL keeps accumulating every category clicked in the session, e.g.:
    ?filter_cat=cables-y-bases,audio,aspiradoras

    This gets worse the more categories the customer clicks through, and it also fails when a selected category has subcategories: the filter looks for an exact category match rather than including products from child categories, so it can return “no products found” even though the direct category archive page (e.g. /categoria-producto/apple/) correctly shows products from all subcategories.

    is there a way to make a new category click replace the previous filter selection instead of adding to it? And is there a way to make this AJAX filter respect parent/child category relationships the same way the direct category archive page does?

    I suspect it’s the same underlying AJAX re-render behavior causing the price slider issue as well.

    Thanks!

    Avatar: Jack Richardson
    Jack Richardson
    Support staff
    August 12, 2026 at 06:13

    Hello @baitech,

    To address the issue with your Spotlight categories, we recommend implementing the solution provided in our subsequent reply: https://www.8theme.com/topic/how-to-make-spotlight-categories-filter-not-multiple/#post-470206. Concerning your main request, could you please attach a video (or a URL from a file-sharing service such as https://fex.net/) of your testing? This will enable us to accurately recreate the steps and examine the issue on our end.

    Best regards,
    Jack Richardson
    The 8Theme’s Team

    Avatar: baitech
    baitech
    Participant
    August 12, 2026 at 14:09

    Hello Jack,

    Thank you for the reply. Regarding the Spotlight Categories filter, I applied the fix you shared (add_filter(‘etheme_dynamic_categories_filter_cat_merge’, ‘__return_false’);) and it’s working correctly now — that issue is resolved.

    Regarding the price slider label issue, I’m attaching a video showing the problem in the private field below.

    In the video you can see that the price loads correctly in ARS on the initial page load, but as soon as I interact with the price filter (slider), the label switches to USD instead of staying in ARS. The filtering itself still works correctly (it returns the right products) — only the visible label text is affected.

    Content is visible for topic creator and
    support staff only.
    Avatar: Jack Richardson
    Jack Richardson
    Support staff
    August 12, 2026 at 14:25

    Hello @baitech,

    We hope this message finds you well. We have thoroughly reviewed the code of the specified plugin but were unable to identify the appropriate triggers or hooks necessary to initialize prices on the sidebar widget or other sections. As you are aware, our support is exclusively dedicated to our products. Your request pertains more to the plugin, and we recommend that you reach out to the plugin developers for assistance (Support link: https://wordpress.org/support/plugin/woocommerce-currency-switcher/). They should be able to provide a solution or suggest the necessary settings to correctly display the prices.

    We appreciate your understanding of our support guidelines and privacy policy. Please note that achieving full compatibility with all existing plugins on the market is not always feasible. However, we are open to exploring compatibility with specific plugins when possible.

    We look forward to hearing from the plugin developers. In the meantime, as a temporary solution, you may disable the Ajax filters in Theme Options, which will allow the prices to display correctly. However, please be aware that each filter will refresh the page with the newly filtered data.

    Best Regards,
    Jack Richardson
    The 8Theme’s Team

    Avatar: baitech
    baitech
    Participant
    August 22, 2026 at 16:18

    Thanks for the support! My topic “Price slider amount label doesn’t update to active currency (FOX Currency Switcher)” has been successfully resolved.

    Avatar: Tony Rodriguez
    Tony Rodriguez
    Support staff
    August 22, 2026 at 16:18

    Dear baitech,

    We really appreciate your time and engagement within the WordPress & WooCommerce community

    Your feedback drives every improvement we make in XStore — helping us deliver a smoother and more flexible experience with each update.

    Your input makes a real difference.

    Topic closed.
    The 8Theme Team

  • Viewing 7 results - 1 through 7 (of 7 total)

The issue related to '‘Price slider amount label doesn’t update to active currency (FOX Currency Switcher)’' has been successfully resolved, and the topic is now closed for further responses

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.