Your cart is currently empty!
Including variables in Affiliate email notification
—
by
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”]
Posted in Affiliates Pro
Comments
One response to “Including variables in Affiliate email notification”
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.