Support » Plugin: WooCommerce » [Plugin: WooCommerce – excelling eCommerce] Is WooCommerce available for Indian Currency(INR)?

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Mike Jolley

    (@mikejolley)

    I m testing a theme on woocommerse before buying
    http://test.woothemes.com

    but i notice that i don’t find Indian Currency(INR)? on that theme..
    what do i do..pls help..

    Above link by mikejolly can be helpful to you .Please go through it

    thanks somnabthjadhav i am new to wordprss (new buddy)

    i see this code

    $currencies['ABC']i need to change here..?
    
     add_filter( 'woocommerce_currencies', 'add_my_currency' );
    
    function add_my_currency( $currencies ) {
         $currencies['ABC'] = __( 'Currency name', 'woocommerce' );
         return $currencies;
    }
    
    add_filter('woocommerce_currency_symbol', 'add_my_currency_symbol', 10, 2);
    
    function add_my_currency_symbol( $currency_symbol, $currency ) {
         switch( $currency ) {
              case 'ABC': $currency_symbol = '$'; break;
         }
         return $currency_symbol;
    }

    [Moderator Note: Please post code or markup snippets between backticks or use the code button. As it stands, your code may now have been permanently damaged/corrupted by the forum’s parser.]

    Sorry .I dint tried it.But it seems like u need add currency name (Rs.)in place of ABC.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘[Plugin: WooCommerce – excelling eCommerce] Is WooCommerce available for Indian Currency(INR)?’ is closed to new replies.