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

Approximate prices in checkout

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.

Hi, I have the plugin on, but customers can only pay in euros.

can I add the approximate price in the currency the user was browsing into the checkout? Is there a snippet for it?

Like, detect currency user was browsing, if its different than euro, show the approximate price in checkout. Maybe using localStorage or sessionStorage attribute?

I cannot use geolocation as I use google shopping feeds, and it is an issue for google feeds, as prices must be fixed not changeable.

Thanks

 

 

 

 

Hello

Unfortunately, we do not have a ready solution for you.

if you have programming experience I can help you to do it

Thanks Pablo.

I am not an experienced programmer, but if you could give me some pieces of code and guide me a little bit, I could try to put them together to make it work.

Thank you so much.

Ok!  To  get  current  currency - https://currency-switcher.com/function/woocs-current_currency

check the current currency on the checkout page.  And if it doesn't match the currency you saved - use  filters -  'woocommerce_cart_total' 'woocommerce_cart_item_price' 'woocommerce_cart_item_subtotal' 'woocommerce_cart_subtotal' 'woocommerce_cart_totals_taxes_total_html' 'woocommerce_cart_tax_totals''woocommerce_cart_shipping_method_full_label'

example how to add additional information - \wp-content\plugins\woocommerce-currency-switcher\classes\woocs.php - https://c2n.me/4eSLrCs.png