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

Error displaying currency

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.
12

Hello,

Is there any news related to this topic? The plugin works fine excluding the Cookie, but the performance of the web is greatly affected since it always keeps a PHP session active.

Thanks

hello

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

$products_currency = array();

Delete excluding the Cookie

clear  all cache and  do a test

Try  ti set up  another"Currency storage"

Hello,

Done, I added the code and made the adjustments. The solution is advancing. However, I was able to corroborate some drawbacks:

- I see that the currency is not updated on the cart page.

- On all pages, first load the default currency (USD) and after seconds make the change for the selected currency.

- Sometimes I entered the page for the first time and showed another currency that was not the default.

Regards,

Hello

Please  drop  me  exact  link to the issue

first load the default currency (USD) and after seconds make the change for the selected currency.  - this is correct work

Hello,

The topic is already advanced. Today update the plugin to Version 1.4.0 and activate the new Fox Session functionality.

At first I had the same problem that the switch did not work. Checking I applied the same solution to exclude the new cookie that was being created"wp_woocs_session_" and the switch started to work.

Now, only a small error is left, which is the following:

https://app.screencast.com/lKDCYhI30isJ8

When you change the currency for the first time, it changes, then when you return it to the previous currency, it changes again. But then if I want to change it back, I get an error seeing the two coins in different locations.

Greetings,

Hello

Please drop me  exact  link to the issue

Hello,

The link is in the private section of the post.

Hello

Ok!   I got  it.

can  you drop  me  wp-admin+FTP access - https://share.pluginus.net/image/i20210618130558.png -> https://share.pluginus.net/image/i20210618130637.png

Hi,

The link sent corresponds to my production website. My test website is in a local environment.

You can't verify it from your side?

Hello

You can't verify it from your side? - Unfortunately no, I can't repeat this error.

Hello,

I understand, I already shared the requested information. Consider that it is a production site that is live.

Thank you.

Hello

Check your JS optimization settings

The file must contain this dynamic script - https://c2n.me/4hR9YDz.png On  your  site - https://share.pluginus.net/image/i20230216165536.png

and  disable  'Deferir carga de JS"

Hello,

I just turned off all JS optimizations. I cleared all the cache but the error still occurs.

https://i.ibb.co/FVRnrVM/image.png

Please  do a test

It seems to work perfect, I reactivated the JS optimizations and it still works as it should.

I saw that I activate"Switches currency without GET parameters (?currency=USD) in the link", was this the error? or was there something else?

Thanks for the support.

Hello

This is a caching issue if there is a request in the url

Switches currency without GET parameters (?currency=USD) in the link  -  It fixes the situation

I understand, perfect and completely solved this issue.

Thank you very much for your excellent support.

Hello

Great!  Welcome;)

12