0
We are wanting to know how to add a column to the conversion page for "Customer Name". There is a column for "User" but if someone checksout as guest that column shows only [0] which doesn't help us track sales. I'm sure this would require custom code work but could you give us the files we would need to edit to do so and what code to input?

Accepted Answer

Wednesday, April 18 2018, 03:40 PM - #Permalink
0
exactly this is the file, but yes, you need to pull data from the model somehow. the order_id (as a formatted string) is not loaded, so you would need to query this from the DB...

you can have the "simple" id (number), tho, in $row->reference_id
The reply is currently minimized Show
Responses (4)
  • Accepted Answer

    Thursday, April 12 2018, 11:14 AM - #Permalink
    0
    well, if the user is a guest, retrieving this Customer Name will be more difficult, because it will depend on the external extension (not affiliate itself) to provide it and pass it onto through the Affiliate Tracker interface.

    the place to display it is in /components/com_affiliatetracker/views/conversions/tmpl/default.php but again, if it's guest user, you need actually some custom coding on the MODEL files to retrieve this data.
    The reply is currently minimized Show
  • Accepted Answer

    Wednesday, April 18 2018, 03:11 PM - #Permalink
    0
    What about something like Order ID? Would that be easy to add?
    • Germinal Camps
      more than a month ago
      it would require a bit of coding, to pull this data and show it into the list of conversions
    The reply is currently minimized Show
  • Accepted Answer

    Wednesday, April 18 2018, 03:37 PM - #Permalink
    0
    Through /components/com_affiliatetracker/views/conversions/tmpl/default.php or would I need to also edit the model files?

    Ie. something like adding orderid . " [".$row->order_id."]"; ?> would be super easy but not sure if that pulls data from Hikashop.
    The reply is currently minimized Show
  • Accepted Answer

    Wednesday, April 18 2018, 03:47 PM - #Permalink
    0
    That did it! Hopefully that will make my client happier. Thanks again!
    The reply is currently minimized Show
Your Reply