GELÖST: Seit Update 3.19.2 einfügen der Kommentare - Status ändern: nicht mehr möglich
Hallo zusammen,
hab das Problem gelöst... in der statusorder.php war ab 3.19.2 folgendes nicht mehr vorhanden:
<?php if ($this->comment!=""){?>
<?php print _JSHOP_COMMENT_YOUR_ORDER?>: <?php print $this->comment;?>
... das konnte ja nicht mehr laufen...
(Hier wurde auch generell was an der Architektur geändert, konnte mir aber keinen Überblick verschaffen.)
Lösung:
Eine sauber formatierte "Status geändert E-Mail" bekommt man so:
/components/com_jshopping/templates/defaultg/order
statusorder.php
Kompletten Inhalt wie folgt ändern:
<?php defined('_JEXEC') or die(); ?>
<?php print _JSHOP_HI?> <?php print $this->order->f_name;?> <?php print $this->order->l_name;?>,
<?php printf(_JSHOP_YOUR_ORDER_STATUS_CHANGE, $this->order->order_number);?>
<?php print _JSHOP_NEW_STATUS_IS?>: <?php print $this->order_status?>
<?php if ($this->order_detail){?>
<?php print _JSHOP_ORDER_DETAILS?>: <?php print $this->order_detail?>
<?php }?>
<?php if ($this->comment!=""){?>
<?php print _JSHOP_COMMENT_YOUR_ORDER?>: <?php print $this->comment;?>
<?php }?>
<?php print $this->vendorinfo->company_name?>
<?php print $this->vendorinfo->adress?>
<?php print $this->vendorinfo->zip?> <?php print $this->vendorinfo->city?>
<?php print $this->vendorinfo->country?>
<?php print _JSHOP_CONTACT_PHONE?>: <?php print $this->vendorinfo->phone?>
<?php print _JSHOP_CONTACT_FAX?>: <?php print $this->vendorinfo->fax?>
Änderungen in Sprachdatei:
de-DE.php (Frontend)
/components/com_jshopping/lang
Zeilen 201 und 203
define('_JSHOP_ORDER_STATUS_CHANGE_SUBJECT','Der Status Ihrer Bestellung Nr. %s wurde geändert');
define('_JSHOP_YOUR_ORDER_STATUS_CHANGE', 'Der Status Ihrer Bestellung Nr. %s wurde geändert');
... und Zeile 427
define('_JSHOP_ORDER_DETAILS','Details Ihrer Bestellung');
Dann kann man wieder Kommentare mitschicken die dann auch in der E-Mail stehen und ordentlich formatiert sind.
Siehe:
http://www.webdesigner-profi.de/joomla-webdesign/joomla-shop/forum/posts/1/8632.html?limitstart=0&lang=de#2
Gruß
B
Letzte Änderung: 14.12.2014 14:17