Hi Nicolas,
No, this doesn't work either. Nothing happens. Below is the start of my preload code:
/**
* @package HikaShop for Joomla!
* @version 2.6.0
* @author hikashop.com
* @copyright (C) 2010-2015 HIKARI SOFTWARE. All rights reserved.
* @license GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
*/
defined('_JEXEC') or die('Restricted access');
?>
<?php
$data->mail->subject = 'new order for user '.$data->customer->username;
$app = JFactory::getApplication();
$config = hikashop_config();
$orderClass = hikashop_get('class.order');
$imageHelper = hikashop_get('helper.image');
$productClass = hikashop_get('class.product');
$fieldsClass = hikashop_get('class.field');
if(hikashop_level(2)) {
$null = null;
$itemFields = $fieldsClass->getFields('frontcomp',$null,'item');
}
Any other ideas?
Thanks!