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

Currency change not working since last update

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.

Hi,

Since last update my currency switcher no longer works.

I own pro, you can see on my lastest tickets.

I use No GET data in link.

I tried switching off and for my surprise it does work with adding to url.

How to fix it?

  Version: 2.3.7.5 works well (with no GET data in link enabled)
Thanks!

Hello

Please  drop  me  wp-admin  access - https://share.pluginus.net/image/i20210618130558.png -> https://share.pluginus.net/image/i20210618130637.png - I will check  it

Hi, unfortunately I cant share credentials.

What ive notice is that this issue does not happen while I am logged in as admin. So everything works fine logged in.

As i mentioned, it worked very well with Version: 2.3.7.5 and with the latest two updates (ive tried the last one today) issue is there. (Cannot change currency - it appears to be changed on currency switcher, but prices still showing welcome currency)

Can it be a file/permission permission thing? From that version, to the new ones, plugin needs to access some path/folder that may be restricted so it cannot get prices, but when logged in it can, as it has free access to all files?

Thanks

 

 

Hello

Please  drop  me  exact  link  to the  issue and  screenshots of  the  plugin settings

It's most likely a cache issue.

Hi Pablo, after further investigation I can confirm it is a cache plugin issue.

My issue is identical to this https://pluginus.net/support/topic/switcher-woocs-ne-fonctionne-plus/

Which i've read all, and the problem this person relates its just same as mine.

It is not about litespeed cache plugin updates. Because Version: 2.3.7.5  does work with current version.

As he mentioned not caching a cookie is not a possibility as all the cache is"disable" and website gets slow.

I dont know what changed in the two last versions of the plugin but is has been conflicting with lscache.

I searched a bit on plugin code to find a NONCE which the plugin uses to change product prices, so maybe i could add this specific nonce to do not be cacheable on ls cache settings.

But I havent been able to find it.

Or maybe a specific cookie from the plugin on user side. Using"PHPSESSID" is not a solution as it deactivates all website cache.

Hope you give me a way. But its an issue between litespeed and the last two updates of the plugin for sure.

Again, Version: 2.3.7.5 works with litespeed current version. So there is something that has changed that made it not work.

Looking forward to hearing from you.

Thanks

Hello

Please paste your license key here - https://share.pluginus.net/image/i20210618130558.png -> https://share.pluginus.net/image/i20210618130614.png

Can  you  drop  me  wp-admin+FTP  to  your  test  site(with  2.3.7.5)? I will try to get logs

Hi Pablo, my license key is there since i started this topic.

Please check again.

I cannot give access im sorry.

As my issue is the same as the other topic, could you try investigating and solving that issue?

I believe will solve mine too.

Hello

yes of course we will investigate it. But with logs it would be faster

I will write to you as soon as I get the result

hello

Please try  in  file -\wp-content\plugins\woocommerce-currency-switcher\classes\woocs.php  - add  code - https://share.pluginus.net/image/i20221229160043.png

$products_currency = array();

clear  all cache  and  do  a test

Hi Pablo, seems like it works :)

Are you gonna implement this line on next update?

Thanks

Hello

Yes, sure. The code will be different, but this code is just a hotfix

Thanks!

 

Welcome;)