Product page currency not using Shop page currency selection (for user not logged in)
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 gzhajjar on February 14, 2020, 05:11Hi there,
I'm trying to sort out why currency in product page is not using shop page currency selection. This is an issue mostly for a site visitor who's not logged in. logged in users see the same currency on both pages (and cart, checkout). It may be a cache issue, but unsure what to do about.
Tried transient and session for storage, but no luck. site is using wp-rocket, so toggle is on for using cache plugin. Is multiple allowed option is set to Yes.
There is a small quirk even for logged in user.… if currency is changed on a 2nd computer/browser, refreshing catalog on the 1st computer/browser (logged in) will then change that computer’s currency to what was selected on computer #2… is it possible currency is being stored in background somewhere and becoming ‘sticky’ from one visitor to the next (not logged in).
Kindly provide guidance on how to fix.
Thanks,
Greg
Hi there,
I'm trying to sort out why currency in product page is not using shop page currency selection. This is an issue mostly for a site visitor who's not logged in. logged in users see the same currency on both pages (and cart, checkout). It may be a cache issue, but unsure what to do about.
Tried transient and session for storage, but no luck. site is using wp-rocket, so toggle is on for using cache plugin. Is multiple allowed option is set to Yes.
There is a small quirk even for logged in user.… if currency is changed on a 2nd computer/browser, refreshing catalog on the 1st computer/browser (logged in) will then change that computer’s currency to what was selected on computer #2… is it possible currency is being stored in background somewhere and becoming ‘sticky’ from one visitor to the next (not logged in).
Kindly provide guidance on how to fix.
Thanks,
Greg
Quote from Pablo Borysenco on February 14, 2020, 12:03Hello Greg
Please drop me wp-admin access I will check it.
There is a small quirk even for logged in user.… - This is possible if these computers use the same IP and currency storage is transient(User currency is stored by IP).
Hello Greg
Please drop me wp-admin access I will check it.
There is a small quirk even for logged in user.… - This is possible if these computers use the same IP and currency storage is transient(User currency is stored by IP).
Quote from gzhajjar on February 14, 2020, 18:38Hi Pablo,
I'm just waiting for an approval to provide admin access.
In the meantime, could you look at the front end, browse catalog, change currency and go to product page to see the issue (as a non-logged in visitor) ?
The site host has briefly looked at and has advised that 'The plugin is using a function that does not seem to work anymore so the cookie is probably not being set in the browser.' (please see attached pic)
https://drive.google.com/file/d/1JAQjSMOr42FE_iz4Ggt67p39UtAPjY-_/view?usp=sharing
Thanks,
Greg
Hi Pablo,
I'm just waiting for an approval to provide admin access.
In the meantime, could you look at the front end, browse catalog, change currency and go to product page to see the issue (as a non-logged in visitor) ?
The site host has briefly looked at and has advised that 'The plugin is using a function that does not seem to work anymore so the cookie is probably not being set in the browser.' (please see attached pic)
https://drive.google.com/file/d/1JAQjSMOr42FE_iz4Ggt67p39UtAPjY-_/view?usp=sharing
Thanks,
Greg
Quote from Pablo Borysenco on February 17, 2020, 13:42Hello Greg
try in file wp-content\plugins\woocommerce-currency-switcher\classes\woocs_after_33.php - delete this code - https://c2n.me/462m38r.png
I did test - ( my video in the private data ) - It seems to work correctly
Hello Greg
try in file wp-content\plugins\woocommerce-currency-switcher\classes\woocs_after_33.php - delete this code - https://c2n.me/462m38r.png
I did test - ( my video in the private data ) - It seems to work correctly
Quote from gzhajjar on February 17, 2020, 20:01Hi Pablo, I deleted the code, but it doesn't seem to fix the issue. The shop page currency selection doesn't get used in product page. It reverts to the welcome currency (CAD) instead. Returning to shop page also reverts to welcome currency.
Hi Pablo, I deleted the code, but it doesn't seem to fix the issue. The shop page currency selection doesn't get used in product page. It reverts to the welcome currency (CAD) instead. Returning to shop page also reverts to welcome currency.
Quote from Pablo Borysenco on February 18, 2020, 11:58Hello Greg
I deleted the code, but it doesn't seem to fix the issue. - this is for this error - https://drive.google.com/file/d/1JAQjSMOr42FE_iz4Ggt67p39UtAPjY-_/view?usp=sharing
It reverts to the welcome currency (CAD) instead. - Did you watch my video? I can not get the error.
Try to check option - https://c2n.me/463qWzA.png
Hello Greg
I deleted the code, but it doesn't seem to fix the issue. - this is for this error - https://drive.google.com/file/d/1JAQjSMOr42FE_iz4Ggt67p39UtAPjY-_/view?usp=sharing
It reverts to the welcome currency (CAD) instead. - Did you watch my video? I can not get the error.
Try to check option - https://c2n.me/463qWzA.png