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

The currency stays on the base currency and does not converts when tried to convert after logging out of the admin panel

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.

The currency stays on the base currency and does not convert when tried to convert after logging out of the admin panel. Whenever i convert the currency while being logged in to my wp-admin account, it works smoothly but as soon as i log out, it doesn't lets me convert to any other currency and brings it back to my welcoming currency. Can you kindly assist me with this issue? I am using the official plugin that i have bought from code canyon.

Hello

Please  paste your  key here- https://c2n.me/44feSoz.png

Check  option - https://c2n.me/44ff2Ov.png

If no luck:

Drop me  exact  link to  the  issue  and  even better  wp-admin access - https://c2n.me/42BAoj4.png

Hi, i have sent the purchase key of the plugin and also my wp-admin access.

I had already checked the' i am using cache plugin on my site' section.

Also, when i try to change my welcome currency it doesn't changes that.

It would be really kind of you if you can assist me with this issue.

 

Best Regards,

Zakhar Habib

Hello Zakhar

This is a conflict with this plugin - https://c2n.me/44gnUIe.png - disable it and everything will work well

Hi Pablo,

I hope you're doing well. I disabled the plugin and deleted it from my website as well. The plugin still seems to have some glitches in it. Like when i change my currency once it changes it and when i go to my shop page and change it, it takes me to my homepage again and doesn't change the currency and then after that whenever i try to change the currency it sticks to the one that it is on. Can you kindly guide me, as to how i can overcome this issue? I even cleared the cache of my website, but it didn't work out.

 

Best Regards,

Zakhar Habib

Hello Zakhar

 i go to my shop page and change it, it takes me to my homepage again - my plugin cannot redirect to other pages.  Did  you customize plugin code?

 

No Pablo i didnt customize it but for my homepage in order to get the cookies from the users that from which country are they visiting. This is the code that i am using:

<script>
function createCookie(name, value, days) {
if (days) {
var date = new Date();
date.setTime(date.getTime() + (days * 24 * 60 * 60 * 1000));
var expires ="; expires=" + date.toGMTString();
}
else var expires ="";

document.cookie = name +"=" + value + expires +"; path=/";
}

function readCookie(name) {
var nameEQ = name +"=";
var ca = document.cookie.split(';');
for (var i = 0; i < ca.length; i++) {
var c = ca[i];
while (c.charAt(0) == ' ') c = c.substring(1, c.length);
if (c.indexOf(nameEQ) == 0) return c.substring(nameEQ.length, c.length);
}
return null;
}

function eraseCookie(name) {
createCookie(name,"", -1);
}
var select_country = '/country-selection';
if (location.href.indexOf('country-selection') === -1 && !readCookie('woocs_currency')) {
location.href = select_country;
}

myWooCommRedirect = function (currency) {
if (!woocs_sumbit_currency_changing) {
return;
}

//***
var l = window.location.href;

//for #id navigation l = l.replace(/(#.+$)/gi, '');

l = l.split('?');
l = l[0];
var string_of_get = '?';
woocs_array_of_get.currency = currency;

/*
l = l.replace(/(\?currency=[a-zA-Z]+)/g, '?');
l = l.replace(/(&currency=[a-zA-Z]+)/g, '');
*/

if(woocs_special_ajax_mode){
string_of_get="";

var data = {
action:"woocs_set_currency_ajax",
currency: currency,
};
debugger

createCookie('woocs_currency', currency);
jQuery.post(woocs_ajaxurl, data, function (value) {
location.href = '/';
});

}else{
if (Object.keys(woocs_array_of_get).length > 0) {
jQuery.each(woocs_array_of_get, function (index, value) {
string_of_get = string_of_get +"&" + index +"=" + value;
});
//string_of_get+=decodeURIComponent(jQuery.param(woocs_array_of_get));
}
window.location = l + string_of_get;
}
};

jQuery(".woocommerce-currency-switcher").attr('onchange', 'myWooCommRedirect(this.value); void(0);');

console.log('Inserted');
</script>

Also, for my country selection page i have added the countries that the user selects and Pakistan comes as the welcome country , is it possible to add a place holder like 'Select your Country' and then they open the dropdown and can see the countries list rather than already having a country at the top first?

Hi Pablo,

I have removed the code that i sent you above from the website and i am checking the website and still, there is an issue in the currency conversions. Also, when i go to the checkout page the shipping totals are not being calculated properly. It would be really kind of you if you can assist me with this issue.

Best Regards,

Zakhar Habib

Hello

Please describe in more detail what I must do to get these errors.

Read  this - https://currency-switcher.com/currency-recounts-wrong-double-zero-and-others/