Change: shop / customer's email address

31.03.2021 17:54
#1
mrbernd
Joomshopping forum user no avatar
Name: Bernd
18.02.2010
Сообщения: 337
Quote
Change: shop / customer's email address

Hello,

When an order has been received, the sender email address is that of the shop. At this point I would like to have the customer's email address so that I can reply to an email more easily and manage the orders more clearly.

How and where can I change this setting?


Joomla: 3.9.25
JoomShopping: Version 4.18.5
 
01.04.2021 21:38
#2
admin
(Support Team)
User admin
Name: Admin
05.08.2010
Сообщения: 25907
Quote
Aw: Change: shop / customer's email address

https://www.joomshopping.com/forum/posts/12/10947.html?lang=en#2

 
02.04.2021 21:13
#3
mrbernd
Joomshopping forum user no avatar
Name: Bernd
18.02.2010
Сообщения: 337
Quote
Aw: Change: shop / customer's email address

Hello,

I do not understand what you mean.
I would like the buyer's email address to be displayed as the sender address in the order.
At the moment it is the case that the shop email address is entered as the sender. however, it is very inconvenient to simply reply to the buyer by e-mail.

Can you please describe to me exactly what I have to change in the ordermail.php.

Many Thanks

 
02.04.2021 21:44
#4
admin
(Support Team)
User admin
Name: Admin
05.08.2010
Сообщения: 25907
Quote
Aw: Change: shop / customer's email address

components\com_jshopping\models\ordermail.php

public function sendMail($type, $recipient, $message, $vendor = null){

row 154
$mailer->setSender(array($mailfrom, $fromname));

change to

if ($type=='admin'){
$mailer->setSender($recipient);
}else{
$mailer->setSender(array($mailfrom, $fromname));
}

 


Copyrights MAXXmarketing GmbH. Alle Rechte vorbehalten
Durch die Nutzung dieser Website stimme ich zu, dass Cookies zur optimalen Gestaltung der Website sowie zur Analyse der Nutzung der Website verwendet werden. Weiterführende Informationen finden Sie hier. OK, einverstanden.