YITH Woocommerce Points and Rewards
- In file functions.php of your current wp theme add next code:
add_filter('ywpar_get_active_currency_list', 'woof_get_active_currency_list'); function woof_get_active_currency_list($currencies) { global $WOOCS; $currencies = array_keys($WOOCS->get_currencies()); return $currencies; } - In file wp-content\plugins\yith-woocommerce-points-and-rewards-premium\templates\panel\types\options-percentual-conversion.php add next code:
<?php if (class_exists('WOOCS')) { global $WOOCS; $currencies = $WOOCS->get_currencies(); echo $currencies[$current_currency]['symbol']; } else { echo get_woocommerce_currency_symbol($current_currency); } ?> - In file \wp-content\plugins\yith-woocommerce-points-and-rewards-premium\templates\panel\types\options-conversion.php add next code:
<?php if (class_exists('WOOCS')) { global $WOOCS; $currencies = $WOOCS->get_currencies(); echo $currencies[$current_currency]['symbol']; } else { echo get_woocommerce_currency_symbol($current_currency); } ?>
This edit is inside another plugin's file, so a plugin update will undo it. Write the change down, and re-apply it after every update of that plugin — or ask its authors to include the fix on their side, which is the only version that survives. If the change is inside FOX itself, tell us: a fix that has to be re-applied by hand is a bug on our side, not a solution.

