Including variables in Affiliate email notification

Posted in

I did search for this but couldn’t find it on the forums, but I would like to inform my affiliates how much commission their sale was and how much they have made so far this month. I also tried to include the section from the Affiliate page but the shortcodes showed up as what I pasted below. How can I include this info?

also, how do I include the product name that was sold? Is there a list of shortcodes somewhere?

Commission on this sale:

Pending Payment:
[affiliates_referrals show=”total” status=”accepted”]

Monthly Earnings:
[affiliates_earnings]

Commissions Paid:
[affiliates_referrals show=”total” status=”closed”]

One Response to Including variables in Affiliate email notification

  1. kento April 1, 2014 at 10:00 pm #

    Hi Michael,

    The shortcodes can’t be used in the notifications but you can use some tokens. For the WooCommerce integration, these can be used:

    order_id
    order_total
    order_currency
    order_link

    For example, in your notification you can use [order_total].

    There also is an extension which you can obtain from the GitHub repository https://github.com/itthinx/affiliates-woocommerce-views which allows to show more details.

We use cookies to optimize your experience on our site and assume you're OK with that if you stay.
OK, hide this message.

Affiliates · Contact · Jobs · Terms & Conditions · Privacy Policy · Documentation · Downloads · Useful Plugins · My Account

Share