
enamuldigital(@enamul70000)
14 PostsTopic Author
Customers
Quote from enamuldigital on April 1, 2024, 14:03
Hello,
Thank you so much. Everything is good now.
Can you please tell me the reason why was happening the issues? Is it coding related issue or setting related issue?
Hello,
Thank you so much. Everything is good now.
Can you please tell me the reason why was happening the issues? Is it coding related issue or setting related issue?

enamuldigital(@enamul70000)
14 PostsTopic Author
Customers
Quote from enamuldigital on April 1, 2024, 17:11
Bro, Waiting for your answer. After got your answer, I will update on live server.
Bro, Waiting for your answer. After got your answer, I will update on live server.

Pablo Borysenco(@pavlo_borysenco)
34,196 Posts
Quote from Pablo Borysenco on April 2, 2024, 10:31
Hello
In file - \wp-content\plugins\woocommerce-currency-switcher\classes\woocs.php - please change this code - https://share.pluginus.net/image/i20240402113103.png
$order = wc_get_order($order_id);
if (!$order) {
$currency = get_post_meta($order_id, '_order_currency', TRUE);
} else {
$currency = $order->get_currency();
}
Hello
In file - \wp-content\plugins\woocommerce-currency-switcher\classes\woocs.php - please change this code - https://share.pluginus.net/image/i20240402113103.png
$order = wc_get_order($order_id);
if (!$order) {
$currency = get_post_meta($order_id, '_order_currency', TRUE);
} else {
$currency = $order->get_currency();
}

enamuldigital(@enamul70000)
14 PostsTopic Author
Customers
Quote from enamuldigital on April 2, 2024, 10:50
Got it, I have updated it on the live server. Please update the code on WordPress server. Thank you so much for your great support.
Got it, I have updated it on the live server. Please update the code on WordPress server. Thank you so much for your great support.

Pablo Borysenco(@pavlo_borysenco)
34,196 Posts
Quote from Pablo Borysenco on April 2, 2024, 11:50
this will be included in the new version of the plugin
this will be included in the new version of the plugin

enamuldigital(@enamul70000)
14 PostsTopic Author
Customers
Quote from enamuldigital on April 2, 2024, 12:04
Okay, thanks.
Okay, thanks.

Pablo Borysenco(@pavlo_borysenco)
34,196 Posts
Quote from Pablo Borysenco on April 3, 2024, 09:32
welcome;)
welcome;)