INR Currency required

Posted in

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

5 Responses to INR Currency required

  1. George August 9, 2016 at 12:10 pm #

    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. Ronak August 9, 2016 at 4:26 am #

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

  3. George August 8, 2016 at 1:12 pm #

    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. Ronak August 8, 2016 at 7:54 am #

    INR Indian rupee is not available in the same

  5. George August 8, 2016 at 7:51 am #

    Hi Ronak,

    Please have a look at the filter affiliates_earnings_display_currency.

    Kind regards,
    George

We use cookies to optimize your experience on our site and assume you're OK with that if you stay.
OK, hide this message.

Affiliates · Contact · Jobs · Terms & Conditions · Privacy Policy · Documentation · Downloads · Useful Plugins · My Account

Share