PluginUs.Net - Business Tools for WooCommerce and WordPress

[realize your idea - make your dreams come true]

Support Forum

You need to log-in to create request (topic) to the support

Fox doesn't work while WP Rocket is active

The support doesn work on Saturdays and Sundays, so some Friday requests can be answered on Monday. If you have problems with registration ask help on contact us page please
If you not got email within 24~36 business hours, firstly check your spam box, and if no any email from the support there - back to the forum and read answer here. DO NOT ANSWER ON EMAILS [noreply@pluginus.net] FROM THE FORUM!! Emails are just for your info, all answers should be published only here.
The support doesn work on Saturdays and Sundays, so some Friday requests can be answered on Monday.

Hello there;

I purchased recently the Fox currency switcher and it does an amazing job of switching currency based on customer location. the issue that I found, it doesn't work while WP rocket is active, it gives me always the based currency of my website which is $. If I disable the WP Rocket the Fox plugin works perfectly.

I did try those fixes but nothing worked for me.

1- I did set the currency storage option to both PHP session and Redis session the issue with this fix is the currency gets stuck on the first location where the website was viewed from...for example, if I view my website from France it will give me the Euro currency but if I switched to the USA it will also give me the Euro again, it stays that way until I clean the whole website cache.

2-  I followed the steps in the article of"woocs doesn't work for me" and nothing changed.

FYI:

  • the option of"I am using a cache plugin on my site" is  activated
  • "Default customer location" is set to"Geolocate (with page caching support)"
  • "Currency storage" is set to"transient"

any help will be much appreciated.

After reading some topics on this support page I found the solution:

 

1- GO TO THE FOX CURRENCY SWITCHER OPTION.

2- GO TO CURRENCY STORAGE AND SET IT TO PHP SESSION.

3- SAVE CHANGES AND THEN GO TO WP ROCKET SETTINGS.

4- GO TO ADVANCED RULES, IN THE"NEVER CACHE COOKIES" OPTION, ADD"PHPSESSID".

 5- SAVE CHANGES AND CLEAR THE CACHE.

6- NOW IT SHOULD WORK FINE.

 

I SUGGEST ADDING THIS FIX TO

https://currency-switcher.com/using-geolocation-causes-problems-doesnt-seem-to-work-for-me

LIKE THIS, PEOPLE WHO HAVE WP ROCKET WON'T STRUGGLE TO FIND THE SOLUTION IN THE FUTURE.

Hello

Great!

Thank you for your cooperation!

Hello

Thank you for suggestion, published: https://currency-switcher.com/fox-doesnt-work-while-wp-rocket-is-active/