News:

Support the VirtueMart project and become a member

Main Menu

Reply to customer email in email with order information

Started by Scorpionnn, January 16, 2013, 15:46:53 PM

Previous topic - Next topic

Scorpionnn

Hello I need to do the following ...
When you click on the "Reply" in a email with order, in the "To" field should be inserted customer email.
How can it be implemented?

All I could find in the file components / com_virtuemart / helpers / shopfunctionsf.php (about 281 line):

if(!$noVendorMail){
$replyto[0]=$view->vendorEmail;
$replyto[1]= $view->vendor->vendor_name;
$mailer->addReplyTo($replyto);
}


If you insert the customer email address in $replyto[0], in response to a letter that comes to the customer it works. But in response to email that comes administrator inserted the seller email address.

P.S. Joomla 2.5.6 + VM 2.0.12b

Need to be the opposite.

Thanks in advance.

KeithWebb

I think your problem comes from the way VirtueMart handles emails by default, which prioritizes sellers, and is not really optimized for admins who want to reply directly to customers. You found the Reply-To processing code in the right direction, but VM uses the same logic for many types of emails, which means that changes in one place can distort behavior in another.