You can use the Automatic Coupons feature to generate referral coupons for your affiliates automatically. Your affiliates can share these coupons with their customers, who can use them at the store's checkout. Affiliates will earn commissions on sales made using their referral coupons.