Inserting into Woocommerce Emails

Is there a way to insert the unique coupon code generated by this plugin in a Woocommerce email? For example, I want to add a note in the email invoice that includes the affiliate coupon (“share this coupon code to earn commission”). Is there a code to do this such as {user_aff_coupon} ??


Comments

One response to “Inserting into Woocommerce Emails”

  1. Hi Edson,

    Instead of including the coupon in an email notification (which you can’t), you can include it in the affiliate area using:

    [affiliates_affiliate_profile show_name="" show_email="" show_attributes="coupons"]

    Once added, simply point out to affiliates that they can see their resources like coupons, banners and links in the affiliate area.

    References :

    http://www.itthinx.com/documentation/affiliates/setting-up-affiliate-resources/setting-up-an-affiliate-profile-page/
    http://www.itthinx.com/documentation/affiliates/setting-up-affiliate-resources/coupons/

    Cheers

Share