Hi,
I am trying to integrate a code from
ClixGalore
and cannot get it work.
I read a similar Hikashop post
here
and have tried but for some reason the code does not show when the transaction is made.
The techy at Clixgalore has provided the code and this is how I have added it to the 'after_end' view file:
(
)
<?php
/**
* @package HikaShop for Joomla!
* @version 2.1.2
* @author hikashop.com
* @copyright (C) 2010-2013 HIKARI SOFTWARE. All rights reserved.
* @license GNU/GPLv3
www.gnu.org/licenses/gpl-3.0.html
*/
defined('_JEXEC') or die('Restricted access');
?>
<?php
$app = JFactory::getApplication();
$app->enqueueMessage( JText::_('THANK_YOU_FOR_PURCHASE') );
$order_id = $app->getUserState('com_hikashop.order_id');
$orderClass = hikashop::get('class.order');
$order = $orderClass->loadFullOrder($order_id);
?>
<img src="
www.clixGalore.com/AdvTransaction.aspx?AdID=9440&SV=
<?php echo $order->order_full_price; ?>&OID=<?php echo $order->order_number; ?>" height="0" width="0" border="0">
-
When we test it nothing shows in the html.
And suggestions most welcome.
PS... I had a thought that maybe we could add it to the hikashopanalytics.php file (thoughts on that most welscome as well.
Regards and thanks