I’m integrating a multicurrency support for the ExpertHive theme and I would like to display the order total price depending on the currency by which the order has been made in the “Received Orders” section of the vendors.
e.g: a client paid the order with 29€, but in the Received Orders list it shows 29CHF because CHF is the main currency.
the file hivepress\order\edit\block\order-total.php uses the following code but it shows the total with the main currency not the currency by which the order has been paid:
The Received Order page is rendered by WooCommerce plugin, you can try overriding the WooCommerce template part instead (for example the part that renders order totals). You can also try using some existing currency switcher extension for WooCommerce (like this one https://wordpress.org/plugins/woocommerce-currency-switcher/) but it may require integration with ExpertHive.