Campaigns and Tiers

Hey there,

1.
how can I give my Affiliates the possibility to create campaign-links that points to another page than home?
It’s really important to get a third field while creating a campaign, where it is possible to insert a custom url (for example to a product-page itself)..

2.
I use a custom method for calculating the referral-amount for WooCommerce products with different max-rates per product. If I use tiers, what does a decimal like 0.60 exactly mean?
a. 60% of the purchase price from the cart
b. 60% of the purchase price from a single product
c. 60% of the referral-amount for the cart
d. 60% of the referral-amount from a single product

Regards, Bruno


Comments

5 responses to “Campaigns and Tiers”

  1. Hi Kento,

    this helps me to get the tiers (thanks), but it do not help me to set the referral-amount per product for an affiliate in tier 2, 3.. and so on during checkout.

    What I need is the possibility to get the tier-rates (that’s done with your link), calculate the tier-amount per product inside our custom-method (this I will code in top of our custom-method) and set the result-amount for a tier-referral to an affiliate in that different tiers by myself, before I return the referral-amount inside our custom method..

    Do you also have filters for this?

    1. Hi Bruno,

      There are two filters but I think what would be more interesting for you is a global which is used to determine if we are processing a referral for a tier or a ‘normal’ one directly related to a transaction. If we are in the middle of recording referrals for tiers, you will find the global $affiliates_enterprise_doing_tiers is set to true – when a referral is recorded directly for an order, it will not be defined (or it will be false). Given that you have a filter that allows to alter a referral being recorded, you could check that global and alter the values accordingly – or if you are using your custom method, you could check the global to use different tier values. You will find the global documented under the tier filters on this page http://docs.itthinx.com/document/affiliates-enterprise/api/filters/ – I hope that helps you more.

      Cheers

  2. Hi George,

    I understand.. On this way, it isn’t very helpful to use it in combination with your WooCommerce Extension.

    We use different max-rates for different products. All of them are set inside the products itself. How can we use the tiers-rates for the different product-lines inside the cart, based on the max-rates from each product?

    Please note, that we also use a custom-method. Inside this method we’re calculating staggered rates, based on the count of purchases for this affiliate on a product for product base. To use this efficient, we’ve added some custom tables..

    If we know how we can get the tier rates and how we can add a tier-referral to an affiliate inside this custom method, we can code it ourself..

    But it’s pretty hard to understand the Enterprise code, cause you just find a lot of gibberish inside the files.. That’s a bit of confusing for a plugin based on an open source platform..

    Best regards,

    Bruno

    1. Hi Bruno,

      I have added a few examples in the documentation on this page http://docs.itthinx.com/document/affiliates-enterprise/api/tier-rates/ – please have a look and let us know if that helps or you need further indications.

      Cheers

  3. Hi Bruno,

    I replied on your other topic as well for the first question.

    The affiliate commission will be calculated based on the order total, for the tier commissions by default. But you have the option to use Relative Rates under Affiliates > Tiers. With Relative Rates each tier commission will be relative to the commission of the original referrer. Also, have a look at the examples in the documentation.

    Kind regards,
    George

Share