Hello there
It's a long time since last time but I managed to update our shop and I also managed it to get a little bit time to try out what you send me here as suggestion
I tried to add the code above into the preload section like this:
<?php
/**
* @package HikaShop for Joomla!
* @version 2.3.0
* @author hikashop.com
* @copyright (C) 2010-2014 HIKARI SOFTWARE. All rights reserved.
* @license GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
*/
defined('_JEXEC') or die('Restricted access');
?><?php
$mail->from_name = $data->element->name;
$mail->from_email = $data->element->email;
...
I also tried to add the code to the HTML-Section like this:
<?php
/**
* @package HikaShop for Joomla!
* @version 2.3.0
* @author hikashop.com
* @copyright (C) 2010-2014 HIKARI SOFTWARE. All rights reserved.
* @license GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
*/
defined('_JEXEC') or die('Restricted access');
$mail->from_name = $data->element->name;
$mail->from_email = $data->element->email;
?><style type="text/css">
body.hikashop_mail { background-color:#ffffff; color:#575757; }
.ReadMsgBody{width:100%;}
.ExternalClass{width:100%;}
...
I also tried to write in the Tab "Sender Information" as:
"From Name" -> $data->element->name
"From Address" -> $data->element->email
I also tried to wrap that into a PHP-Section like this:
"From Name" -> <?php $data->element->name; ?>
"From Address" -> <?php $data->element->email; ?>
Nothing seems to work... The Sender Friendly Name and Address is still "MARTI Waffen AG" with it's email adress.
What do I do wrong?
Best regards
Mike