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

Problem with cache: currency selector not updating

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,

We're using WP-Rocket cache plugin in out site. I have enabled"I am using cache plugin on my site" option which allowed the prices to update based on the user's selected currency, however, the currency selector always returns to the initial currency. Apparently the javascript that runs to updates the prices doesn't update the selector.

Thank you.

Hi again,

I've been doing some debugging. I was using ddslick dropdown style, and apparently the code that runs to update the currency selector value didn't work for ddslick. Here is the code that should be fixed:
In /js/front.js line 204 :

jQuery('select.currency-switcher').ddslick('select', {index: data.current_currency, disableTrigger: true});

It should take an index however here the value is passed.

Also please note that this is only implemented for styles: chosen, chosen_dark, wselect, and the default dropdown.

Could you please fix the ddslick case (and maybe also add the rest of styles) in an update, in case we needed to include some flags (I will fix it locally temporarily).

Thank you !

Hello

what plugin version number are you using?

Can you drop me exact link to the issue?

Hello,

I'm using paid version v 2.2.0.3.

I can't share the exact link because as I said I switched to a simple dropdown. And as explained in my previous comment the problem occurs in ddslick or the dropdown builder and some others.

Ok! Please paste your license key here - https://share.pluginus.net/image/i20230222134241.png -> https://share.pluginus.net/image/i20230222134511.png

and  you can add ftp+wp-admin access  - https://share.pluginus.net/image/i20230222134241.png ->https://share.pluginus.net/image/i20230222134615.png -  I will fix it

Hi,

The problem is not specific to our website. I juste installed a fresh wordpress installation and installed the plugin with the first cache plugin I came across and it has the issue. I suppose you need the ftp access to fix the plugin, in which case it would be best to fix it globally so that we don't lose the fix with updates.

Hello

yes of course we will fix it but only in the new version of the plugin. I asked for FTP to make a fix for you right away

Of course, if you are happy with this, please wait for the release of a new version with the fix.

Hello,

Sounds good. Thank you !

welcome;)