Instructions to create an affiliate by sharing referral code are:
1. Open Affiliate app from your Shopify store.
2. Proceed to Resource > Referral Code and click the button Create a Referral offer at top-left of the section.
3. Fill in the values accordingly and click the Submit button.
Now, the affiliate can create a sub-affiliate using the link, discount code and share on social media.
You can also create an affiliate by sharing this discount coupon to the other person.