Upon checkout of SPECIFIC product, user becomes an affiliate

Posted in

How do I set it up so that upon checkout of specific product, user becomes an affiliate automatically? Do I need a separate checkout for the specific products that are for Affiliates only?

5 Responses to Upon checkout of SPECIFIC product, user becomes an affiliate

  1. Carolyn April 20, 2017 at 2:37 pm #

    Is there any way you can help me on this?

    • antonio April 28, 2017 at 6:10 am #

      Hi Carolyn,
      This code should work.
      Kind Regards,
      Antonio B.

  2. Carolyn April 17, 2017 at 10:09 pm #

    Here is our code, can you tell me what we are doing wrong?

    https://pastebin.com/cVEv7tPw

  3. Carolyn April 17, 2017 at 9:39 pm #

    We used both code snippets and they worked separately from each other but not together. Can you give my any more guidance on this?

  4. antonio April 12, 2017 at 7:46 am #

    Hi Carolyn,
    With this code, the customer is joined to the affiliates program when the order is created.
    This post explains how to check if a product is on an order. You could use this for customize the code.
    Kind Regards,
    Antonio B.

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