Hello Philippe,
I tried as you mentioned below. But somehow after the PayPal payment I get an error message. I entered the following in the .ini file:
THANK_YOU_FOR_PURCHASE="<br/><strong>Herzlichen Dank für Deinen Einkauf</strong><br/></br><strong>WICHTIG! </strong></br>Du erhältst nach Deiner Bestellung umgehend eine Bestellbestätigung von mir. Bitte prüfe ggf. Deinem SPAM-ORDNER, ob diese dort gelandet ist und füge mich in Deinem E-Mail Programm als sicheren Absender hinzu!</br> %s Bewerte uns über Shopauskunft.de</a>"
My after_end.php for the template I use in Joomla looks like this:
<?php
/**
* @package HikaShop for Joomla!
* @version 3.5.1
* @author hikashop.com
* @copyright (C) 2010-2018 HIKARI SOFTWARE. All rights reserved.
* @license GNU/GPLv3 http://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));
$url = "<a href=' www.shopauskunft.de/neue-bewertung?xc__label=12345& bestellnr="<?php echo $this->order->order_number; ?>"'>"[/color];
echo '<br/>'.JText::sprintf('THANK_YOU_FOR_PURCHASE',$url);
But after PayPal returnin to the shop I get this error message:
Fatal error: require_once(): Failed opening required '/homepages/15/d709564232/htdocs/ginmacher/libraries/joomla/document/html/renderer/head.php' (include_path='.:/usr/lib/php7.3') in /homepages/15/d709564232/htdocs/ginmacher/templates/lt_winery/error.php on line 43
The error.php which is referenced looks like this at this code segment:
$doc->setTitle($this->error->getCode() . ' - '.$this->title);
require_once(JPATH_LIBRARIES.'/joomla/document/html/renderer/head.php');
$header_renderer = new JDocumentRendererHead($doc);
$header_contents = $header_renderer->render(null);
Thanks again for help.