PluginUs.Net - Business Tools for WooCommerce and WordPress

[realize your idea - make your dreams come true]
Botoscope is currently in early access

Support Forum

You need to log-in to create request (topic) to the support

Show Multicurrency Price 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.

Hello FOX Currency,

I must say your plugin is very fantastic. I have a request.

How can I show amount/options of other currencies in my checkout too instead of showing only one currency in checkout.

The purpose is so my customer can see how much a product cots in other currency

Checkout - https://prnt.sc/IqX2Ae5RaLoS
Example in product page - https://prnt.sc/deJx8xolA9k7

 

Hello Win

Thank you for the kind words!

There is a built-in option in the plugin settings called"Show approx. amount" — when enabled, it displays an approximate price in the customer's local currency (detected by GeoIP) next to the checkout total. This may already cover your use case if you just need to show one additional currency.

If you need to display prices in all configured currencies simultaneously on the checkout page, that is not a built-in feature, but it is possible with custom code using the FOX API. You can hook into the WooCommerce checkout and use the WOOCS functions $WOOCS->get_currencies() to loop through all currencies and $WOOCS->convert_from_to_currency($value, $from, $to) to calculate each price, then output them where needed.

Here is a basic example to add all currency prices below the order total on checkout:

function my_woocs_format_price($amount, $currency) {
    $symbol = esc_html($currency['symbol']);
    $price  = number_format($amount, 2);
    switch ($currency['position']) {
        case 'left':        return $symbol . $price;
        case 'right':       return $price . $symbol;
        case 'left_space':  return $symbol . ' ' . $price;
        case 'right_space': return $price . ' ' . $symbol;
        default:            return $symbol . $price;
    }
}

add_action('woocommerce_cart_totals_after_order_total', function() {
    global $WOOCS;
    if (empty($WOOCS)) return;
    $total = floatval(WC()->cart->total);
    foreach ($WOOCS->get_currencies() as $code => $currency) {
        if ($code === $WOOCS->current_currency) continue;
        $converted = $WOOCS->convert_from_to_currency($total, $WOOCS->current_currency, $code);
        echo '<tr><td>' . esc_html($currency['name']) . '</td>';
        echo '<td>' . my_woocs_format_price($converted, $currency) . '</td></tr>';
    }
});

add_action('woocommerce_review_order_after_order_total', function() {
    global $WOOCS;
    if (empty($WOOCS)) return;
    $total = floatval(WC()->cart->total);
    foreach ($WOOCS->get_currencies() as $code => $currency) {
        if ($code === $WOOCS->current_currency) continue;
        $converted = $WOOCS->convert_from_to_currency($total, $WOOCS->current_currency, $code);
        echo '<tr><td>' . esc_html($currency['name']) . '</td>';
        echo '<td>' . my_woocs_format_price($converted, $currency) . '</td></tr>';
    }
});

Screen of results: https://share.pluginus.net/image/i20260525134951.png

This code should be placed in your theme's functions.php or a custom plugin. Please note this is a starting point and may need adjustments depending on your theme and checkout layout.

Hope this helps!