Tips and Tricks HQ Support

Support site for Tips and Tricks HQ premium products

  • Home
  • Contact Us
  • Documentation
  • Forum Home
    • Forum
    • Forum Search
    • Forum Login
    • Forum Registration

WP Affiliate – Display sales data to affiliates?

by

Tips and Tricks HQ Support Portal › Forums › WP Affiliate Platform › WP Affiliate – Display sales data to affiliates?

Tagged: Affiliate platform, affiliate url, code modification, Gravity Forms, PHP, sales data, sales report, wp affiliate platform

  • This topic has 6 replies, 3 voices, and was last updated 11 years, 11 months ago by admin.
Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • July 12, 2013 at 11:54 pm #9325
    AGUBC
    Member

    I am using the WP-Affliate Platform with Gravity forms to gather commissions on subscriptions. The affiliates are able to view their sales in their affiliate area. It only shows the date, time, and earnings. I have added the viewing of the transaction ID as well. I would like the affiliate to also view what product they sold, so that they can better manage their referrals. Is there a way to call the sales data from Gravity forms? I’m not afraid of editing a bit of code, so that is an option. I would also like an alert email sent to the affiliate when one of their referrals completes a transaction.

    July 13, 2013 at 11:12 pm #56552
    admin
    Keymaster

    Go to settings and check the “Send Commission Notification” option which will do that alert email when someone earns a commission.

    The affiliate plugin records a reference of the item/product/service that was sold (where possible). This reference is stored in the “Item ID” column of the commission/sale record. In case of the “gravity form” integration, it will store the entry ID as a reference. This is shown to you (the admin) in the sales/commission data menu.

    Since you said you are okay with PHP coding I can tell you where to modify the code to show this data to your affiliates too. Which of the following affiliate area option are you using?

    http://www.tipsandtricks-hq.com/wordpress-affiliate/setting-up-the-affiliate-viewarea-315

    July 14, 2013 at 5:01 am #56553
    AGUBC
    Member

    I am using option 1, using a separate URL for the affiliate to sign in. I haven’t done anything fancy with the link name, it is still out of the box. Thanks!

    July 14, 2013 at 5:10 am #56554
    AGUBC
    Member

    Also, while I’m fiddling with the code, is there a way to change the end of the URL that is associated with the affiliate ID on ads? I’d like it to read “www.mysite.com/myproductpage/affiliatename” so it is easy to use on printed publications and other marketing materials. Currently it reads “www.mysite.com/myproductpage/af_id=affiliatename” when the referral clicks on the ad link I built for my affiliates. Thank you.

    July 15, 2013 at 1:20 am #56555
    wpCommerce
    Moderator

    Hi, please see this post which explains how to customize the affiliate URL:

    https://support.tipsandtricks-hq.com/forums/topic/how-to-get-nicer-urls

    July 15, 2013 at 7:39 am #56556
    AGUBC
    Member

    Thanks. I still need to know where to modify the code to show the sales data to affiliates.

    July 16, 2013 at 12:17 am #56557
    admin
    Keymaster

    Modify the following file to show more data in the “sales” area of the affiliate portal.

    .../wp-affiliate-platform/affiliates/sales.php

    Search for “print $resultset->date;” in that file to get to the area where it shows the date value.

  • Author
    Posts
Viewing 7 posts - 1 through 7 (of 7 total)
  • You must be logged in to reply to this topic.
Log In

Forum Related

  • Forum Home
  • Forum Search
  • Forum Registration
  • Forum Login

Support Related Forms

  • Contact Us
  • Customer Support
  • Request a Plugin Update
  • Request Fresh Download Links

Useful Links

  • Plugin Upgrade Instructions
  • WP eStore Documentation
  • WP eMember Documentation
  • WP Affiliate Platform Documentation
  • Tips and Tricks HQ Home Page
  • Our Projects

Quick Setup Video Tutorials

  • WP eStore Video Tutorial
  • WP eMember Video Tutorial
  • WP Affiliate Platform Video Tutorial
  • Lightbox Ultimate Video Tutorial

Our Other Plugins

  • WP Express Checkout
  • Stripe Payments Plugin
  • Simple Shopping Cart Plugin
  • Simple Download Monitor

Copyright © 2025 | Tips and Tricks HQ