attribute – custom

Posted in


I am looking into customizing Affiliate Pro and require ability to add custom attribute to affiliates.

Is this possible? I was not able to determine by looking at the API library.

This custom attribute will be used to manage commission recalculation and distribution among affiliate OR and their referrals based on specific rules.

Looking forward to your reply.


6 Responses to attribute – custom

  1. Sudd June 6, 2017 at 5:21 pm #

    Ahh, got it.


  2. George June 6, 2017 at 10:50 am #

    I see.
    Then your best option would be to implement a custom method as i mentioned before.
    With your custom method, you will be able to split the commission and grant another referral to a different affiliate with add_referrals() method as described here.


  3. Sudd June 5, 2017 at 3:21 pm #

    George, we looked into that, split commission as we want was missing it seems.

    Use case where split of 30% commission needs to be tallied between Affiliate A and Affiliate B when Affiliate B’s customer purchases a product.
    Say, 15% – 15% of the 30% commission rate.

    I don’t think this case is possible with enterprise version. Enterprise offer, tried affiliate feature and commission is additive, meaning Affiliate A will always get 30% and affiliate B will get additional 15% commission from the sale. That is total of 45% commission.

    Let me know if there is a scheme which will match our use case in any of your products.


  4. George June 5, 2017 at 10:24 am #

    You are welcome Sudd. 馃檪

    Please correct me if i’m wrong but i think that this can be done easily with Tiered referrals. This is a feature of Affiliates Enterprise and in case you are currently running Affiliates Pro, you can upgrade.

    With affiliates tiers, you can setup multiple commissions upon a referral.
    Affiliate A refers a new affiliate, Affiliate B.
    If Affiliate B refers a new customer, then Affiliate B will be granted with a commission.
    Also, Affiliate A will be granted with a tiered commission as set at level 1 because he is the referrer of Affiliate B.

    You can find more info and examples on tiers on the dedicated documentation page.

    Kind regards,

  5. Sudd June 5, 2017 at 7:26 am #

    Thanks George, I think ability to add custom affiliate attribute will be useful.

    About custom method API, I will look into it.

    What I need to implement is, splitting commission from sale when customer is referred by referred affiliate. OR > Referred Affiliate > customer .

    Splitting the commission between OR and Referred Affiliate.

    Do you think this is doable with the available API library?

    Looking forward to your reply.


  6. George June 5, 2017 at 7:07 am #

    Hi Sudd,

    At the moment you can’t add a custom affiliate attribute. This ability might be added in an future update of the plugin.
    Also, based on your description, perhaps you could implement a custom commission method. With a custom method, you can calculate the resulting commission for a recorded referral. You can find the custom method API here.

    Kind regards,

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

AffiliatesContactJobsTerms & ConditionsPrivacy PolicyDocumentationDownloadsUseful PluginsMy Account