Print Invoice & Delivery Notes for WooCommerce by tychesoftwares — Extrait prêt à l'emploi pour functions.php
add_action('wcdn_after_info', function ($order) {
if ($order AND class_exists('WOOCS')) {
global $WOOCS;
$currency = $order->get_currency();
if (!empty($currency)) {
$WOOCS->current_currency = $currency;
}
}
});