-- 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:
echo '<img style="height: 0px; width: 0px; border: 0px;" src="http://www.xyzacm.com/idevaffiliate/sale.php?profile=22118&idev_saleamt='.$this->order->order_full_price.'&idev_ordernum='.$this->order->order_number.'&idev_option_1=#username#&idev_option_2=#first_name#&idev_option_3=#last_name#" alt="" />';
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->user->name or $this->customer->name ??
$this->billing_address->address_firstname
$this->billing_address->address_lastname
Thanks!