Your cart is currently empty!
Add Last Name to Coupon Code
—
by
Is there a way to add the last name of an Affiliate to the auto coupon code using a token like {affiliate_LastName}. I need a way other then random number, and the ID to auto assign them to Affiliates.
Posted in Affiliates Coupons
Comments
5 responses to “Add Last Name to Coupon Code”
Antonio How would i use the woocommerce_coupon_code title in the Affiliates Coupons auto generated coupons?
Hi Victor,
We are working on an update that improve the filter. Right now it’s not easy to add the affiliate data in the title.
We hope to have it available next week.
Thanks,
Antonio B.
would you please reply to this post when its ready with a link to the documentation or the short code needed, that would be really helpful.
thank you so much for the update
sure, thanks !!
Hi Victor,
You have available the {random,x}, {affiliate_id} and {count} tokens. If you need to add extra tokens, you can use the ‘woocommerce_coupon_code’ filter (this filter has only one param, the coupon title).
Kind Regards,
Antonio B.