Indian Rupees Symbol in Woocommerce site
Go to Appearance > Editor
Click on Theme Functions(functions.php) Or Child theme’s function.php
Copy paste the below code to the end of the function.php page.
/*————-*/
add_filter( ‘woocommerce_currencies’, ‘add_inr_currency’ );
add_filter( ‘woocommerce_currency_symbol’, ‘add_inr_currency_symbol’ );
function add_inr_currency( $currencies ) {
$currencies[‘INR’] = ‘INR’;
return $currencies;
}
function add_inr_currency_symbol( $symbol ) {
$currency = get_option( ‘woocommerce_currency’ );
switch( $currency ) {
case ‘INR’: $symbol = ‘Rs.’; break;
}
return $symbol;
}
/*————-*/
Also add this css code to the header.php file
/*————-*/ /*————-*/
For Further assistance or if you need technical help please contact us