Home › Forums › WoodMart support forum › Foreign Currency problem with free shipping bar
Foreign Currency problem with free shipping bar
- This topic has 11 replies, 2 voices, and was last updated 10 months, 2 weeks ago by Artem Temos.
-
AuthorPosts
-
February 12, 2024 at 4:52 pm #539115
t.simkinaParticipantHello,
there is a multicurrency setting in WooCommece (WooCommerce – Settings – Multi-currency). It activates currency switching for enabled currencies. In my case, about 4 currencies were active, also Euro. I am viewing the website from Germany. Switching happens automatically.
In Theme Settings – Shop – Free Shipping bar, there is a possibility to choose a custom value for a bonus. This custom value is supposed to have the default currency from WooCommerce settings (in my case dollar).
Viewing the site from Germy results in the appearance of the absolute value without currency conversion. With my $199 setting, I would expect the German version about 190 euros, but the absolute number 199 shows up (199 Euro). So with Yen enabled and viewing from Japan would result in 199 Yen which is $1,33.In my opinion, it could be a bug, could you please check? You can only reproduce this with multi-currency active and viewing from a different country.
Attachments:
You must be logged in to view attached files.February 12, 2024 at 5:45 pm #539172
Artem TemosKeymasterHello,
We tried to visit your website using VPN but the currency is always the same https://monosnap.com/file/sbKRsZ9dUl3YC8Oq1M016NsIzyUOxI
How can we reproduce this issue properly?Kind Regards
February 12, 2024 at 5:48 pm #539179
t.simkinaParticipantHello Artem,
I have deactivated the multi-currency because of the many issues it causes with the theme (mini cart is also a problem). Do you have the possibility to test somewhere else?February 12, 2024 at 5:53 pm #539180
Artem TemosKeymasterCould you please clarify what plugin you use for multicurrency?
February 12, 2024 at 5:58 pm #539188
t.simkinaParticipantThis is just a standard feature within WooCommerce, no plugin is necessary. I have attached a screenshot. the automatic switch was active.
Attachments:
You must be logged in to view attached files.February 12, 2024 at 7:09 pm #539254
t.simkinaParticipantBy the way, may I ask if there is a possibility to add a manual currency switcher in the theme? Like it is described here for storefront theme: https://woo.com/document/woopayments/currencies/multi-currency-setup/#store-settings “If you have our Storefront theme active, you’ll see a second option: Add a currency switcher to the Storefront theme. Enabling this setting will put a small currency switcher widget in the breadcrumbs section of Storefront, or any child theme of Storefront.” If yes, I haven’t found it…
February 13, 2024 at 10:51 am #539392
Artem TemosKeymasterPlease, send us your admin and FTP access so we can check this issue on your website.
February 13, 2024 at 9:39 pm #539692
t.simkinaParticipantHello Artem,
I have a shop which is life. I can provide you credentials from my test shop, but it is not optimal because of WooCommerce connection doubling. It is not good if you change settings there. This issue is easy to test. Could you please connect a WooCommerce account, make free shipping bar setting and visit via VPN?February 15, 2024 at 5:42 pm #540496
Artem TemosKeymasterTry to add the following PHP code snippet to the child theme functions.php file to fix this
if ( ! function_exists( 'woodmart_wcpay_convert_price_limit' ) ) { /** * Converse shipping progress bar limit. * * @param float $limit * @return float */ function woodmart_wcpay_convert_price_limit( $limit ) { if ( ! defined( 'WCPAY_VERSION_NUMBER' ) || ! class_exists( 'WCPay\MultiCurrency\MultiCurrency' ) ) { return $limit; } $limit *= WCPay\MultiCurrency\MultiCurrency::instance()->get_selected_currency()->get_rate(); return $limit; } add_action( 'woodmart_shipping_progress_bar_amount', 'woodmart_wcpay_convert_price_limit' ); }
February 20, 2024 at 3:03 pm #541782
t.simkinaParticipantThank you very much, I will try this.
February 20, 2024 at 3:21 pm #541789
t.simkinaParticipantCould you plase also answer this question above:
“By the way, may I ask if there is a possibility to add a manual currency switcher in the theme? Like it is described here for storefront theme: https://woo.com/document/woopayments/currencies/multi-currency-setup/#store-settings “If you have our Storefront theme active, you’ll see a second option: Add a currency switcher to the Storefront theme. Enabling this setting will put a small currency switcher widget in the breadcrumbs section of Storefront, or any child theme of Storefront.” If yes, I haven’t found it…”February 20, 2024 at 4:36 pm #541836
Artem TemosKeymasterIt looks like this element is available on Storefront theme only. WoodMart doesn’t have a dedicated option for this.
-
AuthorPosts
- You must be logged in to create new topics. Login / Register