How to Change Indian Rupee Currency Symbol in WooCommerce

How to Change Indian Rupee Currency Symbol in WooCommerce

To change rupee symbol from default one(Rs.) to ₹ put this code in your theme's functions.php file

add_filter('woocommerce_currency_symbol', 'inr_currency_symbol', 10, 2);

function inr_currency_symbol( $currency_symbol, $currency ) {
	switch( $currency ) {
		case 'INR': $currency_symbol = '₹';
			break;
	}
	return $currency_symbol;
}
Share this Post