The new Saudi Riyal symbol code has been added, but when you go to the analytics in the control panel, it appears as a code and not as a symbol, as shown in the picture.
This topic has 6 replies, 2 voices, and was last updated 2 months, 4 weeks ago ago by Omar Quddam
The new Saudi Riyal symbol code has been added, but when you go to the analytics in the control panel, it appears as a code and not as a symbol, as shown in the picture.
Hi @Omar Quddam,
Could you please provide temporary wp-admin access? We need to check your settings.
To grant WP-Admin access, please proceed to create a new user account with an administrator role through your WordPress Dashboard. Once the account is established, you may securely transmit the username and password to us via the Private Content section designated for this purpose.
Thank you!
here you are
Dear @Omar Quddam,
We hope this message finds you well.
We would like to inform you that the WooCommerce plugin does not support HTML code within the Analytics Dashboard. Therefore, modifying the currency symbol in the backend is not recommended in this case.
To address this, we kindly suggest updating your custom code as follows:
add_filter('woocommerce_currency_symbol', 'custom_saudi_riyal_svg_symbol', 10, 2);
function custom_saudi_riyal_svg_symbol($currency_symbol, $currency) {
if (!is_admin() && $currency === 'SAR') {
$currency_symbol = '';
}
return $currency_symbol;
}
We hope this solution proves helpful. Should you have any further questions or require additional assistance, please do not hesitate to reach out.
Best regards,
The 8Theme Team
thankyou very much
Thanks for the support! My topic “The Saudi Riyal symbol code is not showing correctly.” has been successfully resolved.
The issue related to '‘The Saudi Riyal symbol code is not showing correctly.’' has been successfully resolved, and the topic is now closed for further responses