How to give a discount to person that came through referral link?
Let's say you want to give 20% discount to the person that came through a referral link.
First thing is that you need to create a coupon that will apply to every person who came through referral link. To do so:
- 1
-
Go to Woocommerce -> Coupons and create a new coupon.
- 2
- Make the settings like on the screen below (click to zoom in), so add a name to it, I named it guest_coupon, make it percentage discount type, and add a coupon amount:
- 3
-
3 Go to Plugins settings ( WooCommerce -> Settings -> Refer a friend tab), then go to Referred person coupon settings tab, and at the bottom of that tab make it like on the screen below:
That's it!