Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Confirmation email reply setting


cretbogdan

Recommended Posts

I saw something interesting on a website . You can make a mini store there and if someone orders something you get an email from www.site.com with the customer's address , shipping details , etc .. If you reply to email then the mail will be sent to the customer without having to type his email address .

I want to know if it is possible to make something like this at oscommerce . For example i get the order confirmation email and if i reply to it , then the customer emaill address will fill automatically without having me to type it .

Link to comment
Share on other sites

There is no "setting".

 

You can "brute force" it like this.

 

In /catalog/checkout_process.php find this code:

 

// send emails to other people

if (SEND_EXTRA_ORDER_EMAILS_TO != '') {
 tep_mail('', SEND_EXTRA_ORDER_EMAILS_TO, EMAIL_TEXT_SUBJECT, $email_order, STORE_OWNER, STORE_OWNER_EMAIL_ADDRESS);
}

 

Change it to this:

 

// send emails to other people

if (SEND_EXTRA_ORDER_EMAILS_TO != '') {
 $headers = 'From: ' . STORE_OWNER_EMAIL_ADDRESS . "\r\n" . 'Reply-To: ' . $order->customer['email_address'] . "\r\n";
 mail(SEND_EXTRA_ORDER_EMAILS_TO , EMAIL_TEXT_SUBJECT , $email_order , $headers, '');
// tep_mail('', SEND_EXTRA_ORDER_EMAILS_TO, EMAIL_TEXT_SUBJECT, $email_order, STORE_OWNER, STORE_OWNER_EMAIL_ADDRESS);
}

 

Backup the file before making edits.

If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you.

 

"Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice."

- Me -

 

"Headers already sent" - The definitive help

 

"Cannot redeclare ..." - How to find/fix it

 

SSL Implementation Help

 

Like this post? "Like" it again over there >

Link to comment
Share on other sites

i had tried , it is working but the confirmation email is something like this , can't understand nothing ...

[color=#000000][font=monospace, fixed][size=2]<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"></head><body style="margin: 0px; padding: 0px; background-color:#87A44C;"><font face="Times New Roman, Times, serif"><table width="100%" height="75px" border="0" background="[/size][/font][/color][url="http://www.ecig-vapo.com/includes/modules/UHtmlEmails/ULTIMATE_HTML_EMAIL_LAYOUT/mailgradient.png"]http://www.ecig-vapo.com/includes/modules/UHtmlEmails/ULTIMATE_HTML_EMAIL_LAYOUT/mailgradient.png[/url][color=#000000][font=monospace, fixed][size=2]" cellpadding="0" cellspacing="0"><tr valign="middle"><td><a href="[/size][/font][/color][url="http://www.ecig-vapo.com/"]http://www.ecig-vapo.com/[/url][color=#000000][font=monospace, fixed][size=2]" style="text-decoration:none; color:white;"><font size="+4" color="white" style="margin-left:0.3em; text-decoration:none; color:white;">Ecig-Vapo - Tigari electronice de ultima generatie</font></a></td></tr></table><div style="font-size:14px; padding: 1em; border-style:solid; border-width: 14px; border-color: #87A44C; background-color:#FFFFFF;"><span style="font-size: 24px;">Dear Cret Bogdan,</span><br/>Thank you for shopping with us today.<br />Please find below the details of your order.<br /><br /><table style="font-size:14px; font-family:'times';" border="0" cellspacing="0" cellpadding="0">  <tr><td><font face="Times New Roman, Times, serif" style="font-size:14px;"><strong>Order Number:</strong></font></td><td><font face="Times New Roman, Times, serif" style="font-size:14px;"> 130</font></td>  </tr>  <tr><td><font face="Times New Roman, Times, serif" style="font-size:14px;"><strong>Detailed Invoice:</strong></font></td><td><font face="Times New Roman, Times, serif" style="font-size:14px;"> <a href="[/size][/font][/color][url="http://www.ecig-vapo.com/ro/account_history_info.html?order_id=130"]http://www.ecig-vapo.com/ro/account_history_info.html?order_id=130[/url][color=#000000][font=monospace, fixed][size=2]">[/size][/font][/color][url="http://www.ecig-vapo.com/ro/account_history_info.html?order_id=130"]http://www.ecig-vapo.com/ro/account_history_info.html?order_id=130[/url][color=#000000][font=monospace, fixed][size=2]</a></font></td>  </tr>  <tr><td><font face="Times New Roman, Times, serif" style="font-size:14px;"><strong>Date Ordered:</strong></font></td><td><font face="Times New Roman, Times, serif" style="font-size:14px;"> Thursday 21 February, 2013</font></td>  </tr></table><strong>Your comments to us:</strong><br /><font face="Courier New, Courier, monospace" size="-1">comanda test</font><br /><br /><strong>Contents of the order</strong><br /><table style="font-size:14px; font-family:'times';" border="0" cellpadding="3" cellspacing="2" bgcolor=white><tr style="background-color:#87A44C; color:#FFFFFF; font-weight:bold;"> <td align="left" width="300"><font face="Times New Roman, Times, serif" style="font-size:14px;">Product</font></td><td align="left" width="160"><font face="Times New Roman, Times, serif" style="font-size:14px;">Model</font></td><td align="center" width="100"><font face="Times New Roman, Times, serif" style="font-size:14px;">Price (Inc. VAT)</font></td><td align="center" width="40"><font face="Times New Roman, Times, serif" style="font-size:14px;">Qty.</font></td><td align="right" width="100"><font face="Times New Roman, Times, serif" style="font-size:14px;">Total (Inc. VAT)</font></td></tr><tr style="background-color:#DDDDDD;"> <td valign="top" align="left"><font face="Times New Roman, Times, serif" style="font-size:14px;">Mesh 400 pentru Vapo King mod Genesis</font></td><td valign="top" align="left"><font face="Times New Roman, Times, serif" style="font-size:14px;">38</font></td><td valign="top" align="center"><font face="Times New Roman, Times, serif" style="font-size:14px;">0.74€</font></td><td valign="top" align="center"><font face="Times New Roman, Times, serif" style="font-size:14px;">1</font></td><td valign="top" align="right"><font face="Times New Roman, Times, serif" style="font-size:14px;">0.74€</font></td></tr></table><br /><em>Sub-Total: </em><strong>0.74€</strong><br /><em>Posta Romana (Posta Romana): </em><strong>0.50€</strong><br /><em>Total: </em><strong>1.24€</strong><br /><br /><strong>Payment Method: </strong>Ramburs<br /> Email : [/size][/font][/color][url="http://webmail.ecig-vapo.com/imp/message.php?mailbox=INBOX&index=162#"][email protected][/url][color=#000000][font=monospace, fixed][size=2]<br />Telephone : 40756783688<br/><br /><table style="font-size:14px; font-family:'times';" border="0" cellpadding="3" cellspacing="2" bgcolor=white><tr style="background-color:#87A44C; color:#FFFFFF; font-weight:bold;"><td width="160"><font face="Times New Roman, Times, serif" style="font-size:14px;">Delivery Address</font></td><td width="160"><font face="Times New Roman, Times, serif" style="font-size:14px;">Billing Address</font></td></tr><tr style="background-color:#DDDDDD;"><td><font face="Times New Roman, Times, serif" style="font-size:14px;">Cret Bogdan<br />pascal nr 14<br />oradea, 410415<br />AB, Romania</font></td><td><font face="Times New Roman, Times, serif" style="font-size:14px;">Cret Bogdan<br />pascal nr 14<br />oradea<br />410415 - asd, Spain</font></td></tr></table></div></font></body></html>[/size][/font][/color]

Link to comment
Share on other sites

Looks like you're viewing an HTML encoded email in simple text mode.

If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you.

 

"Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice."

- Me -

 

"Headers already sent" - The definitive help

 

"Cannot redeclare ..." - How to find/fix it

 

SSL Implementation Help

 

Like this post? "Like" it again over there >

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...