• Resolved smgdarien

    (@smgdarien)


    Hello, I currently use Cloudflare + FastCGI Cache – how do I handle multi currency with a cache? Currently I’ve noticed the price for different currencies caching in both Cloudflare & FastCGI.

    I have enabled Cloudflare to bypass the cache whenver any woocommerce cookie is present (e.g. items in cart). Likewise with the cart, however, the issue still stems that if users don’t have items in the cart that the currency will be cached for everyone. Meaning if USD buyers are caching prices for AUD customers, they’re going to complain very quickly and typically report to the Australian Consumer Law for false advertising. I can enable the currency to appear next to the price which does work, however it still doesn’t counter the issues of everyone getting XYZ currencies on the frontend due to the cache

    Hoping to find a solution for this as disalbing caching complety wouldn’t be viable for large eCommerce stores with surges in traffic.

    Typically Shopify handles this quite well so I’m not sure what I’m doing wrong, or what the right WooCommerce approach is

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Support Zubair Zahid (woo-hc)

    (@doublezed2)

    Hello smgdarien

    Thanks for contacting WooCommerce support.

    I understand you are using Cloudflare + FastCGI Cache and facing a problem where currency is being cached. This results in showing incorrect currency for users.

    To help you further, I’d like to understand more about your setup.
    Could you please send me a copy of your site’s System Status?
    You can find it via WooCommerce > Status.
    Select Get system report and then Copy for support.

    Once you’ve done that, you can paste the text in https://gist.github.com
    After that, you can paste the Gist link here in your reply.

    Looking forward to your response. ??

    Thread Starter smgdarien

    (@smgdarien)

    Would you mind if I contact you directly to discuss? Just to be extra cautious I’d prefer to not share the log in public

    Plugin Support Zubair Zahid (woo-hc)

    (@doublezed2)

    Hello smgdarien

    Thank you for your reply.

    You can use Quick Forget to share the System Status Report (SSR) with us securely. To clarify the situation further and provide you with the most accurate assistance:

    1. Could you inform us of any additional caching or optimization plugins installed on your website aside from Cloudflare and FastCGI Cache? These types of plugins may also interact with currency display and could be a factor in what you’re experiencing.

    2. Which plugin are you currently using to manage multiple currencies on your website? Knowing the specific plugin will allow us to understand better how it might interact with your caching setup and how to approach a resolution.

    Please provide us with the requested details using Quick Forget for privacy, and make sure to send the sharing link before it expires. With this information in hand, we’ll be able to guide you through the next steps to ensure your currency display operates smoothly for all your users.

    Have a nice day!

    Thread Starter smgdarien

    (@smgdarien)

    Sure thing, access it here https://quickforget.com/s/2d7477559bd924627a83114fac0a1af0d8f6436a35d33718

    I am using WooPayment’s Multi Currency feature

    The only other plugin I am using is Perfmatters, however, I have tried disabling all plugins except WC + WC Payments and switching to the storefront theme. Using FastCGI + Cloudflare and the issue still presents itself, the cache saves the currency in USD, AUD etc.

    Plugin Support Shameem R. a11n

    (@shameemreza)

    Hi @smgdarien,

    Have you considered changing the “Default customer location” setting to “Geolocate (with page caching support)”? If not, could you please try and let us know whether it makes any difference or not?

    If this isn’t making any difference, you may need to exclude WooPayments and WooCommerce related files from your cache.

    Let us know how that goes. Looking forward to helping you.

    Thread Starter smgdarien

    (@smgdarien)

    It does work, but realistically it’s just disabling the cache entirely

    Sets Cloudflare to DYNAMIC/MISS, and FastCGI to BYPASS

    So it would essentially mean disabling caching all together

    Hi there @smgdarien ??

    Please contact us at Woo.com > My Account > Support. You may need to create an account before you can access that page.

    Please include a link to this forum thread, so that we can keep track of what’s already been done.

    We will be able to help you further there.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Mutli Currency + Caching’ is closed to new replies.