[Skip to main content](#vessel-content)

#   iDev Affiliate Integration

##

- **[ACMLLC](/forum/user/34241-acmllc "View ACMLLC's Profile")**
- [![ACMLLC's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/34241-acmllc "View ACMLLC's Profile") Topic Author
- [ Offline](/forum/user/34241-acmllc)

Less More

- Posts: 21
- Thank you received: 2
-
-

6 years 7 months ago -  6 years 7 months ago [\#316751](#316751) by [ACMLLC](/forum/user/34241-acmllc "View ACMLLC's Profile")  *[iDev Affiliate Integration](/forum/30-integrations/899381-idev-affiliate-integration#316751 "-- HikaShop version -- : 4.2.2 -- Joomla version -- : 3.9.16 -- PHP version -- : 7.2.28 -- Browser(s) name and version -- : Firefox 74.0  Hello,  We are integrating the iDevAffiliate generic tracking pixel into our after&#95;end.php view. After viewing past posts in the forum, we have some code almost ready:  We migrated this from another system and have updated to Hikashop method for order&#95;full&#95;price and order&#95;number.  We now have to replace these three merge variables: #username#, #first&#95;name#, and #last&#95;name#  Would the following be correct references to the final three data values we want to pass into iDev?  $this-&gt;user-&gt;name or $this-&gt;customer-&gt;name ?? $this-&gt;billing&#95;address-&gt;address&#95;firstname $this-&gt;billing&#95;address-&gt;address&#95;lastname  Thanks!")* was created by *[ACMLLC](/forum/user/34241-acmllc "View ACMLLC's Profile")*

-- HikaShop version -- : 4.2.2
-- Joomla version -- : 3.9.16
-- PHP version -- : 7.2.28
-- Browser(s) name and version -- : Firefox 74.0

Hello,

We are integrating the iDevAffiliate generic tracking pixel into our after_end.php view. After viewing past posts in the forum, we have some code almost ready:
Code:

echo '&lt;img style="height: 0px; width: 0px; border: 0px;" src="http://www.xyzacm.com/idevaffiliate/sale.php?profile=22118&amp;idev_saleamt='.$this-&gt;order-&gt;order_full_price.'&amp;idev_ordernum='.$this-&gt;order-&gt;order_number.'&amp;idev_option_1=#username#&amp;idev_option_2=#first_name#&amp;idev_option_3=#last_name#" alt="" /&gt;';

We migrated this from another system and have updated to Hikashop method for order_full_price and order_number.

We now have to replace these three merge variables: #username#, #first_name#, and #last_name#

Would the following be correct references to the final three data values we want to pass into iDev?

$this-&gt;user-&gt;name or $this-&gt;customer-&gt;name ??
$this-&gt;billing_address-&gt;address_firstname
$this-&gt;billing_address-&gt;address_lastname

Thanks!

Last edit: 6 years 7 months ago by [ACMLLC](/forum/user/34241-acmllc "View ACMLLC's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMwLWludGVncmF0aW9ucy84OTkzODEtaWRldi1hZmZpbGlhdGUtaW50ZWdyYXRpb24/dG1wbD1tYXJrZG93bg==) or [Create an account](/register) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86324
- Thank you received: 14286
-
-

6 years 7 months ago [\#316754](#316754) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[iDev Affiliate Integration](/forum/30-integrations/899381-idev-affiliate-integration#316754 "-- HikaShop version -- : 4.2.2 -- Joomla version -- : 3.9.16 -- PHP version -- : 7.2.28 -- Browser(s) name and version -- : Firefox 74.0  Hello,  We are integrating the iDevAffiliate generic tracking pixel into our after&#95;end.php view. After viewing past posts in the forum, we have some code almost ready:  We migrated this from another system and have updated to Hikashop method for order&#95;full&#95;price and order&#95;number.  We now have to replace these three merge variables: #username#, #first&#95;name#, and #last&#95;name#  Would the following be correct references to the final three data values we want to pass into iDev?  $this-&gt;user-&gt;name or $this-&gt;customer-&gt;name ?? $this-&gt;billing&#95;address-&gt;address&#95;firstname $this-&gt;billing&#95;address-&gt;address&#95;lastname  Thanks!")*

Hi,

The username is available in: $this-&gt;order-&gt;customer-&gt;username
The firstname and lastname are available in:
$this-&gt;order-&gt;billing_address-&gt;address_firstname and $this-&gt;order-&gt;billing_address-&gt;address_lastname

The following user(s) said Thank You: [ACMLLC](/forum/user/34241-acmllc "View ACMLLC's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMwLWludGVncmF0aW9ucy84OTkzODEtaWRldi1hZmZpbGlhdGUtaW50ZWdyYXRpb24/dG1wbD1tYXJrZG93bg==) or [Create an account](/register) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.068 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
