Ask your WordPress questions! Pay money and get answers fast! Comodo Trusted Site Seal
Official PayPal Seal

Auto-generate coupons for affiliates? (AffiliateWP) WordPress

  • SOLVED

Hello,

I've set up an affiliate programme using AffiliateWP and Woocommerce. I want to auto-generate coupon codes and be assigned to affiliates once they are approved?

So:

1) Check if user is new affiliate
2) create coupon using https://docs.woocommerce.com/document/create-a-coupon-programatically/?fbclid=IwAR3FOseoepms0H6H8pow6zFrpEEXRSj3J7PICwu3-be3t5tCULWIFITz_Mg
3) Assign it to new affiliate

Answers (2)

2019-04-15

Arnav Joy answers:

Hi,
For this I may need access to your site, is it possible you can give me access FTP and admin to my email : [email protected]

2019-04-15

Rempty answers:

Hello I found this plugin
https://github.com/jsphpl/autocreate-woocommerce-coupon-for-affiliatewp