The following are some helpful snippets that can allow you to customize how you use the Refer-A-Friend add-on.
Note:
This is a Developer level doc. If you are unfamiliar working with code and resolving potential conflicts, we recommend you work with a Woo Agency Partner for larger projects, or find a WooCommerce developer on Codeable for smaller customizations. We are unable to provide support for customizations under our Support Policy.
- Set store credit reward to a percentage of order subtotal, i.e. excluding discounts
- Include orders with the status
processing
when determining if an advocate is a paying customer - Team-based referrals, such as for Teams for WooCommerce Memberships
- Set custom account tab share text
- Custom title for the referrals account tab
- Change referral coupon length
- Change referral coupon prefix
- Disable marking referrals as potential fraud
- Change the number of fields in the share form
- Custom social integration
- Change referral coupon type to sign up fee percentage discount
- Allow referral discounts to be used with other offers
- Advocate rewards are based on their user role and percentage of order
- Dynamic email from the name for referral invites, personalize with the advocate’s name
- Custom validation for referral coupons – Restrict coupon use to advocates with active subscriptions
- Make referral coupons use the user ID of the advocate instead of a random string
- Script for importing referral coupons
- Add subscriptions with a $0 initial payment to AutomateWoo referral coupons
- The referral coupon is removed after the subscription’s first renewal payment. A note is added to the subscription when a referral coupon is removed.
- Please note: Activating this plugin will prevent referral coupons from working on non-subscription orders.
Note: We are unable to provide support for customizations under our Support Policy. If you need to customize a snippet or extend its functionality, we recommend working with a Woo Agency Partner or finding a WooCommerce developer on Codeable.