Hi Nicolas,
Thank you for your help.
I understand the logic.
For tracking tag, when I decide a "Position" for the custom html module,
the pages definitely can include the code I put, but at same time the code string itself is shown
on the pages so it's very weird for customers to see the internal code things....
if I don't give the module any position, of course it doesn't show in the public but the pages don't include the code.
A solution I thought is to let the module show somewhere in the pages then use css to make it invisible.
But is it a proper way?
For conversion tag, <?php echo $this->order->order_full_price;?> and <?php echo $this->order->order_id; ?>
are the correct parameters?
and yes I looked into "checkout / after_end and / and checkout / end",
but I don't know where to put the code inside, I thought there are <head><body> tags but I don't see them..
many tips suggest this kind of tag should be embedded in between <head></head> or similar,
but I'm not familiar with the code things...
Can you indicate where exactly I should put a conversion tag in the file below?
and is there any possibility that this modification might be deleted by Hikashop update?
<?php
/**
* @package HikaShop for Joomla!
* @version 4.7.1
* @author hikashop.com
* @copyright (C) 2010-2023 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') );
if(!empty($this->url))
$app->enqueueMessage(JText::sprintf('YOU_CAN_NOW_ACCESS_YOUR_ORDER_HERE',$this->url));
$app = JFactory::getApplication();
$app->triggerEvent('onHikashopOrderTrackingDisplay', array($this->order));
Thank you very much!
Tax