Price stuck loading after AJAX filter (FOX Currency Switcher)

This topic has 8 replies, 3 voices, and was last updated 2 weeks, 2 days ago ago by Tony Rodriguez

  • Avatar: baitech
    baitech
    Participant
    August 7, 2026 at 14:46

    Hi,

    I’m running XStore with the FOX Currency Switcher plugin (free version) to display converted prices (base currency USD, displayed in ARS) via JavaScript on the frontend.

    Setup:
    – XStore theme (child theme active), latest version
    – WooCommerce
    – FOX Currency Switcher (free), with “I am using cache plugin on my site” and “Prices preloader” both enabled — this makes FOX recalculate prices via AJAX after the page/grid is rendered

    Issue:
    When a shop or category page loads normally (full page load / F5), FOX correctly recalculates all prices and the preloader spinner disappears as expected.

    However, when a customer applies an attribute filter (e.g. color) using XStore’s built-in AJAX filter (checkbox + apply button, without a full page reload — the URL updates via what looks like pushState, e.g. /shop/?filter_color=blue), the product grid is redrawn by XStore’s own AJAX mechanism, but FOX’s price recalculation does not run correctly on the new grid content. The price elements are left permanently stuck with the woocs_preloader_ajax class and never resolve — the price never appears unless the customer manually refreshes the page (F5).

    What I’ve already ruled out:
    – Not a server-side caching issue (Breeze/Varnish/Object Cache) — purging all caches does not fix it
    – Not a JS error blocking execution — there is an unrelated Contact Form 7 translation console error, but it’s present on both successful and failed loads, so it’s not the cause
    – Confirmed via DevTools Network tab that FOX doesn’t make a server AJAX request for this — it’s a pure client-side JS recalculation
    – Confirmed the “WOOCS custom prices recalculated” console message does fire multiple times after the filter is applied, but the price element in the DOM is not updated

    My question:
    What JavaScript event does XStore trigger once it finishes redrawing the product grid after an AJAX filter is applied (attribute filters, price filters, etc.)? I’d like to know if it’s a custom XStore event, or if it’s supposed to trigger a standard WooCommerce event like updated_wc_div. FOX likely listens for a specific event that XStore’s filter mechanism isn’t firing, which is why the recalculation logic runs but never touches the newly-rendered price elements.

    Any guidance on how XStore’s AJAX filter refresh integrates with third-party price-display plugins would be very helpful.

    Thanks!

    Please, contact administrator
    for this information.
    7 Answers
    Avatar: Jack Richardson
    Jack Richardson
    Support staff
    August 7, 2026 at 14:52

    Dear @baitech,

    We hope this message finds you well.

    Regrettably, the access credentials provided for the website protection appear to be incorrect. We kindly ask you to verify the credentials before sending them to us. Once we have the correct access, we will be able to review the issue and check your settings. However, at this moment, we are unable to verify the wp-admin access as we cannot view the website.

    Also, you can check how it works when you enable the “Disable pjax pagination” option in Theme Options -> Speed Optimizations.

    Thank you for your understanding and cooperation.

    Best regards,
    Jack Richardson
    The 8Theme’s Team

    Avatar: baitech
    baitech
    Participant
    August 7, 2026 at 14:58

    Hi Jack,

    Apologies for that — please find the correct credentials below.

    Please let me know if you need anything else to reproduce the issue.

    Thanks!

    Please contact administrator
    for this information.
    Avatar: Jack Richardson
    Jack Richardson
    Support staff
    August 7, 2026 at 15:20

    Hello @baitech,

    We hope this message finds you well.

    We successfully logged into your website and made some adjustments to the settings in your FOX Currency Switcher plugin. Could you kindly verify the changes? We have tested it, and it now appears to be functioning correctly. You can view the results here: https://gyazo.com/61a8f540c37fda96ac716165439c8730.

    Best regards,
    Jack Richardson
    The 8Theme’s Team

    Avatar: baitech
    baitech
    Participant
    August 7, 2026 at 15:29

    Hi Jack,

    I can confirm it’s working correctly now — verified it myself testing the color filter.

    Please contact administrator
    for this information.
    Avatar: Jack Richardson
    Jack Richardson
    Support staff
    August 7, 2026 at 15:35

    Hello @baitech,

    Please, check the private content.

    Kind regards, Jack Richardson
    The 8theme’s team

    Please contact administrator
    for this information.
    Avatar: baitech
    baitech
    Participant
    August 7, 2026 at 15:37

    Thanks for the support! My topic “Price stuck loading after AJAX filter (FOX Currency Switcher)” has been successfully resolved.

    Avatar: Tony Rodriguez
    Tony Rodriguez
    Support staff
    August 7, 2026 at 15:37

    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 8 results - 1 through 8 (of 8 total)

The issue related to '‘Price stuck loading after AJAX filter (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.