Woocommerce Currenncy Postfix

PHOTO EMBED

Mon Sep 06 2021 04:08:14 GMT+0000 (Coordinated Universal Time)

Saved by @shadowtek

function add_currency_symbol_suffix($format, $currency_pos) {
switch ( $currency_pos ) {
case 'left' :
$currency = get_woocommerce_currency();
$format = '%1$s%2$s' . $currency;
break;
}
return $format;
}
add_action('woocommerce_price_format', 'add_currency_symbol_suffix', 1, 2);
content_copyCOPY