Your cart is currently empty!
Save contact from 7 data and show in admin affiliate section
—
by
Hello
I have installed Affiliate pro plugin along with woo-commerce+ contact form 7 integration.
I have create a contact form for asking to release commission (embed in the affiliate area section) and mail is send properly.
Fine till now.
Now my requirement is i have to save this mail data:-
Affiliate_name,commission_amount asked for withdraw,affiliate mail-id (coming from contact-form 7 by-default),date of request,status (i will manage).
And i want to show this data in the admin panel under Affiliates Menu by creating a sub-menu Referral requests.
How can i do that?Any guideline will be highly appreciated.
Thanks
Posted in Affiliates Pro
Comments
3 responses to “Save contact from 7 data and show in admin affiliate section”
That’s great Andreas! 🙂
Hi George
Thanks for your response.
I have did it with the help of contact-form-to-db plugin.
My mails are saved now.
I have moved this contact-form-request section and it’s menu under affiliate section with the help of admin-menu-editor plugin.
Have a great day.
The topic is closed now.
Hi Andreas,
The best place to begin with would be the Affiliates Contact Form 7 integration.
You can hook into wpcf7_before_send_mail action and manipulate the contact data submitted.
Please note that when a referral is recorded after a form submission, there are data recorded for the form, like the commission amount, the affiliate etc, so also have a look at Affiliates > Referrals report. If you expand details and data from the filters section you will see that data there.
Cheers,
George