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.


Comments

7 responses to “I’d like to show user name and email in Woocommerce order affiliates”

  1. Hi Jose,

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

    Cheers,
    George

  2. 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. 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. 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. 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. 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. 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

Share