Sign Up Bonus

Hi there,
Is it possible to give the affiliates, sign up bonus? [Aff. Pro]

Posted in

Comments

4 responses to “Sign Up Bonus”

  1. duckinatub Avatar
    duckinatub

    Earnings , : 10 instead of 0

    1. Hi,
      you can use “affiliates_added_affiliate” hook, for example:

      add_action( 'affiliates_added_affiliate', 'affiliates_initial_bonus' );
      function affiliates_initial_bonus( $aff_id ) {
      $description = "Initial Bonus";
      $amount = 10;
      $currency_id = "USD";
      if ( class_exists( 'Affiliates_Referral_WordPress' ) ) {
      $r = new Affiliates_Referral_WordPress();
      $r->add_referrals( array( $aff_id ), null, $description, null, null, $amount, $currency_id);
      } else {
      affiliates_add_referral( $aff_id, null, $description, null, $amount, $currency_id);
      }
      }

      cheers

  2. duckinatub Avatar
    duckinatub

    I checked the comments. I meant when people sign up automatically they get 10 dollar for example. Is there a way to do that?

  3. Hi,
    please take a look to this plugin.
    cheers

Share