• Resolved timpsa

    (@timpsa)


    We have an issue where the Canadian customers get the banner with this message: “We noticed you’re visiting from United States (US). We’ve updated our prices to United States (US) dollar for your shopping convenience. Use Canadian dollar instead. Dismiss” This is a note we want for the US customers but not Canadian. The plugin seems to work correctly, however WP Rocket caches the page with the banner so it shows up to Canadian IP’s too. WP Rocket support basically said they can’t help and wanted to us to check if WooCommerce WooPayments Multi-Currency is compatible with WP Rocket. Anyone else have the same problem?

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Zee

    (@doublezed2)

    Hello timpsa,

    Thank you for contacting WooCommerce support with your concern regarding the geo-location banner for your Canadian customers. We understand that you want to display this message specifically to US customers while avoiding it for Canadian visitors. However, it seems that WP Rocket’s caching behavior is showing the banner to Canadian IP addresses as well.

    I’m not entirely sure what type of compatibility the WP Rocket team is referring to when they mention checking compatibility with WooCommerce WooPayments Multi-Currency. If there’s a specific option or feature within WP Rocket that is not functioning as expected with WooCommerce, could you please provide a bit more detail on this? Any additional information you can share would be helpful in addressing your concern more effectively.

    Regarding the issue of the banner appearing for Canadian customers, it would be useful to know if the banner appears on specific pages such as the checkout page, or if it’s displayed site-wide.

    WP Rocket does include a feature that allows you to exclude certain pages from being cached. This could potentially resolve the issue by preventing the banner from being cached for visitors based on geographical location. Have you had a chance to explore this feature and exclude the pages where the banner should not be shown for Canadian IPs?

    I look forward to hearing back from you with more details so we can work towards a solution together. 🙂

    Thread Starter timpsa

    (@timpsa)

    Hi Zubair, I’ve been messaging back and forth with WP-Rocket and they keep saying: “But just to make sure, I would recommend you to contact the WooPayments support to make sure to understand how the multi currency works and ask them also if this plugin is compatible with caching plugins such as WP Rocket.” The issue is with the banner. It shows up on every page including the front page for Canadian customers because WP-Rocket caches the banner. Not sure what to do except to stop using either WP-Rocket or WooPayments but the problem is we need both. I’m surprised that we would be the only one using WP-Rocket/WooPayments combo. Thanks for your help!

    Plugin Support Shameem – a11n

    (@shameemreza)

    Hi @timpsa,

    The Multi-Currency feature in WooPayments is designed to change the currency dynamically based on the visitor’s location. However, when a page is cached by WP Rocket, it saves a static version of that page, which can cause issues with dynamic content like the currency banner.

    Could you please go to WooCommerce > Settings> General and set “Default customer location” to “Geolocate (with page cache support)” and see whether the issue gets resolved or not?

    Another possible solution could be to exclude the pages where the currency banner appears from WP Rocket’s caching.

    Alternatively, you could try using WP Rocket’s separate cache for mobile option, which creates a separate cache for mobile users. This might help if the issue is primarily affecting mobile users.

    Make sure to clear WP Rocket’s cache after doing each steps.

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

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘WooPayments Multi-Currency Issue with WP-Rocket’ is closed to new replies.