Award your users with points on successful purchase of WooCommerce referral products.
• Go to Points ➜ Hooks.
• Drag & Drop WooCommerce Product Referral Hooks ➜ Active Hooks.
- Enter Points & Limits for Referrer.
- Enter Points & Limits for Referee.
- Select the referral link format either based on ID or Username.
- Save settings.
Shortcode
- Copy [mycred_woocommerce_referral] shortcode.
- Place on any page or post.
- Publish / Update.
Enable Referral Cookie
- Go to WooCommerce Settings ➜ myCred ➜ Product Referral Cookie.
- Enable make cookie expire.
- Enter cookie expiration in days.
- Save Changes.
Generate Link
User must be logged in to generate their Referral Link.
- Go to Generate Referral Link page.
- Select product from the dropdown.
- Click Generate Link Button.
- Copy Product Referral URL.
- Place it anywhere.
Logs
Logs will be generated when the purchase of the referral product is recorded with the referral link. Referee will get points if they are registered and logged in.
- Go to Points ➜ Logs.