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 pleaseIf 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.
Quote from badr on June 5, 2024, 17:41Hello,
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.
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.
Quote from badr on June 5, 2024, 21:05Hi 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 !
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 :
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 !
Quote from Pablo Borysenco on June 6, 2024, 09:56Hello
what plugin version number are you using?
Can you drop me exact link to the issue?
Hello
what plugin version number are you using?
Can you drop me exact link to the issue?
Quote from badr on June 6, 2024, 11:15Hello,
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.
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.
Quote from Pablo Borysenco on June 6, 2024, 12:12Ok! 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
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
Quote from badr on June 7, 2024, 11:33Hi,
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.
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.
Quote from Pablo Borysenco on June 7, 2024, 11:49Hello
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
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.
Quote from badr on June 7, 2024, 11:52Hello,
Sounds good. Thank you !
Hello,
Sounds good. Thank you !