Upon checkout of SPECIFIC product, user becomes an affiliate

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?

Posted in

Comments

5 responses to “Upon checkout of SPECIFIC product, user becomes an affiliate”

  1. Is there any way you can help me on this?

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

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

    https://pastebin.com/cVEv7tPw

  3. 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. 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.

Share