Indian rupee symbol is not supported by most of the browser. So to avoid box in place of current symbol you can use following code

You need to add the following code at the end of function.php file


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;

Leave a Reply

Your email address will not be published. Required fields are marked *