I’d like to show user name and email in Woocommerce order affiliates

I’d like to show user name and email in Woocommerce order affiliates and used below shortcode convination:

[affiliates_affiliate_stats type=”stats-referrals” show_rejected=”true” show_closed=”true” show_accepted=”true” show_pending=”true” show_post=”true” data=”user_login”/]

Please check the image in the link:
https://monosnap.com/file/JK337EbFKl93bP3T1VKLOmDOExGMyG

This shows users login ID on registration affiliates (See B on image) but not on Woocommerce order affiliates (See A on image).

Questions:
1. How can I make it show user ID (also name and email) in Woocommerce Orders?
2. How can I show ORDER ID in the POST area? and no “Protected: Order … ” broken link?

Thank you for you help.

7 Responses to I’d like to show user name and email in Woocommerce order affiliates

  1. George March 15, 2018 at 2:34 pm #

    Hi Jose,

    Please deactivate and delete your current plugin, download and install it again.
    I have modified the snippet here.

    Cheers,
    George

  2. George March 14, 2018 at 9:44 am #

    That’s great Jose.

    I will have a look and modify the snippet accordingly.
    Once it is ready, i will let you know.

    Cheer,
    George

  3. Jose March 14, 2018 at 5:31 am #

    I’m sorry.
    I managed to show the email address of the buyer in “Extra Info” column.

    I wonder if I can make the table 100% with using the shortcode?

    https://www.evernote.com/shard/s479/sh/1da843a5-5d13-4d5e-a2a3-155bfd2003b7/a766d28c485e378d48a565e6f278b8ae

    Thank you for your help.

  4. Jose March 14, 2018 at 5:13 am #

    Thank you for the quick reply!
    It worked with “Plugins > Add new, click on Upload Plugin”!
    Very easy to install! Thank you!!

    I would like to show details of the buyer in “Details” with data=”user_login,user_email,first_name,last_name”

    Below is the code I used in the image: https://www.evernote.com/shard/s479/sh/7a16e455-26b2-440c-9ba7-d5cffeb3c189/b66de20da2424cb52ca6f49178909f49

    [affiliates_affiliate_stats type="stats-referrals" show_rejected="true" show_closed="true" show_post="false" show_accepted="true" show_pending="true" data="user_login,user_email,first_name,last_name"/]

    Thank you for your help.

    Best regards.

  5. George March 13, 2018 at 7:43 am #

    Hi Jose,

    No worries 馃檪
    You need to upload the file in your wp-content/plugins folder. Alternatively, download the .zip file by clicking on the Download button on GitHub and install it as a plugin by manually uploading it to your WP installation, under Plugins > Add new, click on Upload Plugin.

    Cheers,
    George

  6. Jose March 13, 2018 at 1:24 am #

    Hello Dear George.
    Thank you for the quick reply!

    I’m sorry for my ignorance, where should I upload the affiliates-stats-filters-order-details.php fie?

    Best regards.

    Jose

  7. George March 12, 2018 at 10:58 pm #

    Hi Jose,

    Please have a look at this free addon I’ve created for a similar case here.
    Feel free to modify and push your suggestions to the repository. If though you are not familiar with coding and/or GitHub, add a comment here and i will modify the snippet for you.

    Kind regards,
    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.

AffiliatesContactJobsTerms & ConditionsPrivacy PolicyDocumentationDownloadsUseful PluginsMy Account

Share