INR Currency required

Hi I need to add INR currency in the affiliates pro system. Please let me know, how do i go about it?

Posted in

Comments

5 responses to “INR Currency required”

  1. The functions.php file is located in your theme folder. So if you visit Appearance > Editor, you can select the functions.php file and add the snippet there.
    I would also suggest you to create a Child Theme as described here, in order to keep your functions.php file contents after a theme update.

    Cheers

  2. Where do i find this file? I saw the editor for Plugins I am not able to find it.

  3. Hi Ronak,

    Sorry my mistake.
    If you want to add INR for the user registration, you should use the snippet in your functions.php file:

    add_filter ( 'affiliates_supported_currencies', 'affiliates_new_currency_code' );
    function affiliates_new_currency_code( $currency_code ) {
    $currency_code[] = 'INR';

    return $currency_code;
    }

    For the rest of the referrals, that would depend on the currency you use on your e-commerce system. For example if your e-commerce system uses INR, then the referral will be recorded in INR.

    Kind regards,
    George

  4. INR Indian rupee is not available in the same

  5. Hi Ronak,

    Please have a look at the filter affiliates_earnings_display_currency.

    Kind regards,
    George

Share