WordPress.org

Ready to get started?Download WordPress

Forums

WooCommerce - excelling eCommerce
[resolved] Is WooCommerce available for Indian Currency(INR)? (6 posts)

  1. Somnath Jadhav
    Member
    Posted 2 years ago #

    Is WooCommerce available for Indian Currency(INR)?

    http://wordpress.org/extend/plugins/woocommerce/

  2. mikejolley
    Member
    Plugin Author

    Posted 2 years ago #

  3. ashjigs
    Member
    Posted 1 year ago #

    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..

  4. Somnath Jadhav
    Member
    Posted 1 year ago #

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

  5. ashjigs
    Member
    Posted 1 year ago #

    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.]

  6. Somnath Jadhav
    Member
    Posted 1 year ago #

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

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic