Hi manue,
which plugin do you use for subscription?
Currently how system is working, its saving referral ID in order meta. Then when order is changing status to completed, its checking if it has that meta, if it has, then create coupon. Maybe plugin you are using is also adding subscription as an order, then you would just hook to some of its action.
Hi @gohan87
Is there a way to give the discount when the user register from the referral link instead the purchase?
Hi cleude,
If i got you right, you are looking for a way to give coupon to user1 when he refers you a person and when that person registers on your site instead of purchasing a product?
With some changes in a code, that could be possible. However, there is no out of the box solution. I could guide you on code changes tomorrow, if you have experience with PHP.
-
This reply was modified 9 years, 2 months ago by
Goran87.
Hello @goran87
I’ve been talking to the person who requested the service, and in fact the current operation is enough for what we need.
Thank you for all the attention you have given.
Best regards