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 Platform – Any Way to Show the Product Names on Affiliate Page?

by

Tips and Tricks HQ Support Portal › Forums › WP Affiliate Platform › WP Affiliate Platform – Any Way to Show the Product Names on Affiliate Page?

Tagged: affiliate page, Product Name

  • This topic has 11 replies, 3 voices, and was last updated 12 years, 12 months ago by skyfield.
Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • May 12, 2012 at 6:20 pm #6310
    skyfield
    Spectator

    Hello. I’m using WP Affiliate Platform (v 5.1.4) with eStore (v 6.6.7) and WordPress (v3.3.2). Is there any way to show the names of purchased products on the sales records in the affiliate page?

    May 13, 2012 at 7:34 am #45020
    admin
    Keymaster

    No, we only capture the Product ID for eStore and affiliate integration so a product can be uniquely identified (sometimes you can have multiple products with same or similar names). Also, the affiliate plugin integrates with a range of other solutions and not all of them provide these details so its hard to capture them.

    May 13, 2012 at 7:39 am #45021
    skyfield
    Spectator

    Is there any way to show Product ID, instead of product name, on the sales records in the affiliate page?

    May 14, 2012 at 12:26 am #45022
    Peter
    Member

    Hi,

    By “sales records in the affiliate page” do you mean the Sales/Comm page in the Affiliate menu?

    If so this currently does show product Id in a column represented as “Item ID”.

    May 14, 2012 at 3:20 am #45023
    admin
    Keymaster

    This information is not shown to the affiliate (it is only available to the admin) but it should be doable with a small tweak. Are you okay with changing some PHP code in the plugin? If you are then let me know which affiliate view option you are using (exaplained in the following page) and I will give you some instruction:

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

    May 14, 2012 at 4:22 pm #45024
    skyfield
    Spectator

    I’m okay with changing some PHP code in the plugin. I’m using stand-alone affiliate area (Option 1). Thank you.

    May 14, 2012 at 11:36 pm #45025
    admin
    Keymaster

    Okay, open the “sales.php” file from the “wp-affiliate-platform/affiliates” directory and find the following block of code:

    print round($resultset->payment,2);
    print " ";
    print $currency;

    Once you find it, change it to the following:

    print round($resultset->payment,2);
    print " ";
    print $currency;
    print " (Item ID: ".$resultset->item_id.")";

    This will show the item ID next to the commission amount.

    May 15, 2012 at 2:53 pm #45026
    skyfield
    Spectator

    Thanks for your instruction.

    I changed the PHP code in sales.php in affiliates directory as you instructed. However, Sales page in the stand-alone affiliate area does not show product ID. Any idea?

    May 16, 2012 at 12:59 am #45027
    admin
    Keymaster

    Do you see that data (the product ID value) in the admin dashboard for that sale? Do you at leas see the “Item ID” string in the affiliate area? if you don’t then that could mean that you didn’t update the file properly.

    May 16, 2012 at 5:37 am #45028
    skyfield
    Spectator

    I found that Sales page in the stand-alone affiliate area properly shows item ID only when “Start Date” & “End Date” are set and “Display Data” is clicked.

    Is it possible to show item ID as soon as Sales page is loaded?

    In other words, can I make Sales page in affiliate area show item ID even without specifying start & end dates?

    Thank you.

    May 16, 2012 at 6:50 am #45029
    admin
    Keymaster

    I see what you mean. On that same file look for the following block of code:

    print $resultset->payment;
    print " ";
    print $currency;

    Once you find it, change it to the following and that should do it:

    print $resultset->payment;
    print " ";
    print $currency;
    print " (Item ID: ".$resultset->item_id.")";

    May 17, 2012 at 10:59 am #45030
    skyfield
    Spectator

    Sales page in affiliate area now shows item ID.

    Thank you so much for your help.

  • Author
    Posts
Viewing 12 posts - 1 through 12 (of 12 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