Dashboard Page
This shortcode will display the main affiliate dashboard page.
[couponaffiliates]
Registration Form
This shortcode will display the affiliate registration form on a custom page.
[couponaffiliates-register]
Template Coupons
If you have multiple template coupons enabled, by default the registration form will show a dropdown of all the template options. You can however display a registration form for a specific template coupon by adding the “template” attribute to the shortcode with the “coupon code” (not the name) like so:
[couponaffiliates-register template="affiliatetemplatecoupon"]
Make sure this is added as a template in the registration settings too.
Referrer
This shortcode will display the referrer that is linked to the current visitor/customer (in plain text).
[couponaffiliates-referrer]
If you want to add text before it, then use the parameter “text” like so:
[couponaffiliates-referrer text="Referrer code:"]
You can also format this to be used in a URL by using the “type” parameter and setting it to “url” like so:
[couponaffiliates-referrer text="Referrer code:" type="url"]
My Coupons
This shortcode will show the coupon(s) that are assigned to the current logged in user (in plain text).
[couponaffiliates-my-coupons]
If the user is assigned to multiple coupons, they will be separated by a comma.
My Referral URLS
This shortcode will show the referral URLs for the coupons that are assigned to the current logged in user (in plain text). If they are only assigned to 1 coupon, it simply shows the 1 default referral link for their coupon, and nothing else.
[couponaffiliates-referral-urls]
MLA Shortcodes
Show the MLA dashboard:
[couponaffiliates-mla]
Show the MLA subaffiliates network tree:
[couponaffiliates-mla-subaffiliates]
Show the MLA payouts section:
[couponaffiliates-mla-payouts]
Creatives
Show the creatives section in a custom location:
[couponaffiliates-creatives]
Payouts
Show the payouts section in a custom location:
[couponaffiliates-payouts]
Store Credit
Show the users current store credit (built-in system):
[couponaffiliates_credit]