Save contact from 7 data and show in admin affiliate section

Posted in

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

3 Responses to Save contact from 7 data and show in admin affiliate section

  1. George March 22, 2017 at 8:52 am #

    That’s great Andreas! 🙂

  2. Andreas March 22, 2017 at 5:02 am #

    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.

  3. George March 21, 2017 at 4:25 pm #

    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

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