Assign currency to a shipping method & Currency switcher shortcode
-
Hello,
I am using Woocommerce Payments (Multi-currency is on). The main currency of the store is GBP. Payment and shipping to EU and USD (so EURO and USD are accepted as well).
How can I assign the shipping to be charged in EURO and USD (always a fixed amount without taking GBP/EUR; GBP/USD fluctuations) for EU deliveries, rather than converting GBP to EURO/USD on the front end?
Also:
I am using a theme which is not based on Storefront.
I added the following snippet in the functions file in my theme.function customCurrencySwitch_shortcode( ) { if ( function_exists( 'wc_get_currency_switcher_markup' ) ) { $instance = [ 'symbol' => true, 'flag' => true, ]; $args = []; echo wc_get_currency_switcher_markup( $instance, $args ); } }
how can I call the currency switcher block as a shortcode on different locations in my store?
Thank you
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Assign currency to a shipping method & Currency switcher shortcode’ is closed to new replies.