Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

How to add text to order confirmation e-mail?


Guest

Recommended Posts

  • Replies 69
  • Created
  • Last Reply

Along these lines, does anyone know how to add an AOL-friendly link to the Email confirmation? Something like:

 

You may view your order online at:
https://www.kididdles.com/catalog/account_history_info.php?order_id=123

For AOL Users: <a href="https://www.kididdles.com/catalog/account_history_info.php?order_id=123">Click here to view your order online</a>

 

Thanks,

 

Terry

Terry Kluytmans

 

Contribs Installed: Purchase Without Account (PWA); Big Images, Product Availability, Description in Product Listing, Graphical Infobox, Header Tags Controller, Login Box, Option Type Feature, plus many layout changes & other mods of my own, like:

 

Add order total to checkout_shipment

Add order total to checkout_payment

Add radio buttons at checkout_shipping (for backorder options, etc.)

Duplicate Table Rate Shipping Module

Better Product Review Flow

 

* If at first you don't succeed, find out if there's a prize for the loser. *

Link to comment
Share on other sites

Little bit harder challenge.

 

How to append file as attachment with variables from actual oder ?

Below is XML definition import file for my accounting program.

 

Can be this solved ?

 

<?xml version="1.0" encoding="Windows-1250" ?> 
- <Schema xmlns="urn:schemas-microsoft-com:xml-data" xmlns:dt="urn:schemas-microsoft-com:datatypes">
 <AttributeType name="version" required="yes" dt:type="enumeration" dt:values="1.0 1.1" /> 
 <AttributeType name="refSKz" required="yes" dt:type="int" /> 
 <AttributeType name="refIDS" required="no" dt:type="string" dt:maxLength="18" /> 
 <AttributeType name="remark" required="no" dt:type="string" dt:maxLength="90" /> 
 <AttributeType name="quantity" required="yes" dt:type="float" /> 
 <AttributeType name="unit" required="yes" dt:type="string" dt:maxLength="10" /> 
 <AttributeType name="rateVAT" required="yes" dt:type="enumeration" dt:values="none low high" /> 
 <AttributeType name="price" required="yes" dt:type="fixed.14.4" /> 
 <AttributeType name="payType" required="yes" dt:type="enumeration" dt:values="draft cash postal delivery creditcard advance encashment cheque compensation" /> 
 <AttributeType name="payVAT" required="yes" dt:type="enumeration" dt:values="no yes" /> 
 <ElementType name="company" content="textOnly" model="closed" dt:maxLength="48" /> 
 <ElementType name="division" content="textOnly" model="closed" dt:maxLength="32" /> 
 <ElementType name="name" content="textOnly" model="closed" dt:maxLength="32" /> 
 <ElementType name="street" content="textOnly" model="closed" dt:maxLength="32" /> 
 <ElementType name="city" content="textOnly" model="closed" dt:maxLength="35" /> 
 <ElementType name="psc" content="textOnly" model="closed" dt:maxLength="7" /> 
 <ElementType name="ico" content="textOnly" model="closed" dt:maxLength="10" /> 
 <ElementType name="dic" content="textOnly" model="closed" dt:maxLength="14" /> 
 <ElementType name="areaCode" content="textOnly" model="closed" dt:maxLength="8" /> 
 <ElementType name="tel" content="textOnly" model="closed" dt:maxLength="32" /> 
 <ElementType name="fax" content="textOnly" model="closed" dt:maxLength="24" /> 
 <ElementType name="email" content="textOnly" model="closed" dt:maxLength="64" /> 
 <ElementType name="remark" content="textOnly" model="closed" dt:maxLength="1024" /> 
 <ElementType name="time" content="textOnly" model="closed" dt:maxLength="128" /> 
 <ElementType name="remoteAddr" content="textOnly" model="closed" dt:maxLength="128" /> 
 <ElementType name="httpUserAgent" content="textOnly" model="closed" dt:maxLength="128" /> 
 <ElementType name="httpShop" content="textOnly" model="closed" dt:maxLength="128" /> 
 <ElementType name="guidCompany" content="textOnly" model="closed" dt:maxLength="64" /> 
 <ElementType name="eformNumber" content="textOnly" model="closed" dt:maxLength="16" /> 
- <ElementType name="orderItem" content="textOnly" model="closed" dt:maxLength="90">
 <attribute type="refSKz" /> 
 <attribute type="refIDS" /> 
 <attribute type="remark" /> 
 <attribute type="quantity" /> 
 <attribute type="unit" /> 
 <attribute type="rateVAT" /> 
 <attribute type="price" /> 
 </ElementType>
- <ElementType name="consignee" content="eltOnly" model="closed">
 <element type="company" minOccurs="1" maxOccurs="1" /> 
 <element type="division" minOccurs="0" maxOccurs="1" /> 
 <element type="name" minOccurs="1" maxOccurs="1" /> 
 <element type="street" minOccurs="1" maxOccurs="1" /> 
 <element type="city" minOccurs="1" maxOccurs="1" /> 
 <element type="psc" minOccurs="1" maxOccurs="1" /> 
 </ElementType>
- <ElementType name="customer" content="eltOnly" model="closed">
 <element type="company" minOccurs="1" maxOccurs="1" /> 
 <element type="division" minOccurs="0" maxOccurs="1" /> 
 <element type="name" minOccurs="1" maxOccurs="1" /> 
 <element type="street" minOccurs="1" maxOccurs="1" /> 
 <element type="city" minOccurs="1" maxOccurs="1" /> 
 <element type="psc" minOccurs="1" maxOccurs="1" /> 
 <element type="ico" minOccurs="1" maxOccurs="1" /> 
 <element type="dic" minOccurs="1" maxOccurs="1" /> 
 <element type="areaCode" minOccurs="0" maxOccurs="1" /> 
 <element type="tel" minOccurs="1" maxOccurs="1" /> 
 <element type="fax" minOccurs="1" maxOccurs="1" /> 
 <element type="email" minOccurs="1" maxOccurs="1" /> 
 <element type="remark" minOccurs="1" maxOccurs="1" /> 
 <element type="consignee" minOccurs="0" maxOccurs="1" /> 
 </ElementType>
- <ElementType name="payment" content="textOnly" model="closed" dt:maxLength="1024">
 <attribute type="payType" /> 
 <attribute type="payVAT" /> 
 </ElementType>
- <ElementType name="eformInfo" content="eltOnly" model="closed">
 <element type="time" minOccurs="1" maxOccurs="1" /> 
 <element type="remoteAddr" minOccurs="1" maxOccurs="1" /> 
 <element type="httpUserAgent" minOccurs="1" maxOccurs="1" /> 
 <element type="httpShop" minOccurs="1" maxOccurs="1" /> 
 <element type="guidCompany" minOccurs="1" maxOccurs="1" /> 
 <element type="eformNumber" minOccurs="1" maxOccurs="1" /> 
 </ElementType>
- <ElementType name="order" content="eltOnly" model="closed">
 <attribute type="version" /> 
 <element type="orderItem" minOccurs="1" maxOccurs="*" /> 
 <element type="customer" minOccurs="1" maxOccurs="1" /> 
 <element type="payment" minOccurs="1" maxOccurs="1" /> 
 <element type="eformInfo" minOccurs="1" maxOccurs="1" /> 
 </ElementType>
 </Schema>

Link to comment
Share on other sites

danigirl168 this is what I have.

 

EMAIL_TEXT_INVOICE_URL . ' ' . tep_href_link(FILENAME_ACCOUNT_HISTORY_INFO, 'order_id=' . $insert_id, 'SSL', false) . "\n" .

 

What should I change.

 

Thanks

 

Hmmm, what's the difference between those links?  They both look the same to me. Clarify what's up.

 

Danielle x

 

Ooops sorry! Editing my original post now coz I see what's up - one is http, the other https. That wasn't that obvious!

 

catalog/checkout_process.php: (from the line '//lets start.....') look for this line, you can see where it is calling SSL:

 

EMAIL_TEXT_INVOICE_URL . ' ' . tep_href_link(FILENAME_ACCOUNT_HISTORY_INFO, 'order_id=' . $insert_id, 'SSL', false) . "\n" .

 

Dx

Link to comment
Share on other sites

  • 4 weeks later...
Along these lines, does anyone know how to add an AOL-friendly link to the Email confirmation? Something like:

 

You may view your order online at:
https://www.kididdles.com/catalog/account_history_info.php?order_id=123

For AOL Users: <a href="https://www.kididdles.com/catalog/account_history_info.php?order_id=123">Click here to view your order online</a>

 

Thanks,

 

Terry

Hi Terry,

 

I don't vouch for this as it's a stab off the top of my head and I haven't time to actually work in it for you but the line you need is in checkout_process.php:

 

// lets start with the email confirmation
 $email_order = STORE_NAME . "\n" . 
                EMAIL_SEPARATOR . "\n" . 
                EMAIL_TEXT_ORDER_NUMBER . ' ' . $insert_id . "\n" .
                EMAIL_TEXT_INVOICE_URL . ' ' . tep_href_link(FILENAME_ACCOUNT_HISTORY_INFO, 'order_id=' . $insert_id, 'SSL', false) . "\n" .

 

This is the line to edit:

 

EMAIL_TEXT_INVOICE_URL . ' ' . tep_href_link(FILENAME_ACCOUNT_HISTORY_INFO, 'order_id=' . $insert_id, 'SSL', false) . "\n" .

 

Maybe something along the lines of:

 

EMAIL_TEXT_INVOICE_URL . ' ' . tep_href_link(FILENAME_ACCOUNT_HISTORY_INFO, 'order_id=' . $insert_id, 'SSL', false) . "\n For AOL Users <a href=" tep_href_link(FILENAME_ACCOUNT_HISTORY_INFO, 'order_id=' . $insert_id, 'SSL', false) . ">Click here</a>" .

 

Like I say, I don't vouch coz I haven't got time to set up a system to test on but it's along those lines. I think you should be able to work it out from there but if you need me to actually work it out for you, you could pay for an hour of my time and I'd be able to add your customisation to my inbox of jobs to do ;)

 

Dx

There are 3 types of people - those who can count, and those who can't.

Link to comment
Share on other sites

  • 1 month later...
this is what i did:

 

catalog/checkout_process.php: (from the line '//lets start.....'

 

Phalen,

 

I made the changes you suggested and have had some success, but I have a few quirks popping up in the e-mails that I wanted to see if you or anyone else knew how to fix:

 

-I placed a sample order as a customer to see what the customer would be getting via e-mail, and noted that the customer immediately got 2 e-mails after checking out, one with the Order # in the subject (after "Your Order with...") and one without.

 

The e-mail without the order number features duplicate information.

 

Specifically, it shows:

 

STORE NAME

------------------------------------------------------

Order Number: xxxx

Detailed Invoice: https://xxxx

Date Ordered: xxx

 

Products

------------------------------------------------------

xxxx

------------------------------------------------------

FREE SHIPPING! (Free Shipping Only): $0.00

Sub-Total: $0.00

Total: $0.00

 

Delivery Address

------------------------------------------------------

email: xxxx

Telephone: xxxx

xxxx

xxxx

xxxx

 

Billing Address

------------------------------------------------------

email: xxxx

Telephone: xxxx

xxxx

xxxx

xxxx

 

Products

------------------------------------------------------

xxxx

------------------------------------------------------

FREE SHIPPING! (Free Shipping Only): $0.00

Sub-Total: $0.00

Total: $0.00

 

Delivery Address

------------------------------------------------------

email: xxxx

Telephone: xxxx

xxxx

xxxx

xxxx

 

Billing Address

------------------------------------------------------

email: xxxx

Telephone: xxxx

xxxx

xxxx

xxxx

 

 

So it's calling up the products/order total/delivery address/billing address twice -- any ideas?

 

Also, a minor formatting question: do you know how to move the e-mail address and telephone number to after the customer's address?

Link to comment
Share on other sites

  • 9 months later...

!! Finally worked out whats going on !!

I use the Paypal IPN contrib and so i dont actually use catalog\checkout_confirmation.php at all. So no wonder my edits for customer email didnt work at all !

 

Paypal IPN use catalog\includes\modules\payment\paypal\catalog\checkout_update.inc.php instead to create its order email messages since it must first wait for the IPN info back from paypal before sending out order emails - if paypal payment fails then no emails are sent and the order in my store is 'pending'.

 

I thought i was going a bit crazy there for a while...

 

:lol:

Regards

Mark Brindle

Link to comment
Share on other sites

  • 8 months later...
Yes, here is how to add your customer email and phone number to the order email:

My solution is:

 

\catalog\checkout_process.php orig.

 

CODE

 

if ($order->content_type != 'virtual') {

$email_order .= "\n" . EMAIL_TEXT_DELIVERY_ADDRESS . "\n" .

EMAIL_SEPARATOR . "\n" .

tep_address_label($customer_id, $sendto, 0, '', "\n") . "\n";

}

\catalog\checkout_process.php modif.

 

CODE

if ($order->content_type != 'virtual') {

$email_order .= "\n" . EMAIL_TEXT_DELIVERY_ADDRESS . "\n" .

EMAIL_SEPARATOR . "\n" .

EMAIL_TEXT_MAIL . $order->customer['email_address'] . "\n" .

EMAIL_SEPARATOR . "\n" .

tep_address_label($customer_id, $sendto, 0, '', "\n") .

EMAIL_TEXT_PHONE . $order->customer['telephone']. "\n";

}

In more, the following lines, must be added

 

\catalog\includes\languages\(your language)\checkout_process.php

 

CODE

define('EMAIL_TEXT_MAIL', 'Email: ');

define('EMAIL_TEXT_PHONE', 'Telephone: ');

 

Thank you "gameparts"! Your solution worked for me!

 

/Qbaze

I plan to write something smart down here.....

Link to comment
Share on other sites

  • 3 months later...

Hi there,

 

I have tried following the instructions to customise my order confirmation, by adding store name + order No to the subject heading, and including the customer's email address, but now when I try to check out a product purchase, the final check out page fails to load. Could someone kindly assist as to what the problem could be?

 

Here are the files I have edited:

 

1) catalog/checkout_process.php:

 

// lets start with the email confirmation

$email_order = STORE_NAME . "\n" .

EMAIL_SEPARATOR . "\n" .

EMAIL_TEXT_ORDER_NUMBER . ' ' . $insert_id . "\n" .

EMAIL_TEXT_INVOICE_URL . ' ' . tep_href_link(FILENAME_ACCOUNT_HISTORY_INFO, 'order_id=' . $insert_id, 'SSL', false) . "\n" .

EMAIL_TEXT_DATE_ORDERED . ' ' . strftime(DATE_FORMAT_LONG) . "\n\n";

if ($order->info['comments']) {

$email_order .= tep_db_output($order->info['comments']) . "\n\n";

}

$email_order .= EMAIL_TEXT_PRODUCTS . "\n" .

EMAIL_SEPARATOR . "\n" .

$products_ordered .

EMAIL_SEPARATOR . "\n";

 

for ($i=0, $n=sizeof($order_totals); $i<$n; $i++) {

$email_order .= strip_tags($order_totals[$i]['title']) . ' ' . strip_tags($order_totals[$i]['text']) . "\n";

}

 

if ($order->content_type != 'virtual') {

$email_order .= "\n" . EMAIL_TEXT_DELIVERY_ADDRESS . "\n" .

EMAIL_SEPARATOR . "\nemail: " .$order->customer['email_address']. "\n" .

tep_address_label($customer_id, $sendto, 0, '', "\n") . "\n";

}

 

$email_order .= "\n" . EMAIL_TEXT_BILLING_ADDRESS . "\n" .

EMAIL_SEPARATOR . "\nemail: " .$order->customer['email_address']. "\n" .

tep_address_label($customer_id, $billto, 0, '', "\n") . "\n\n";

if (is_object($$payment)) {

$email_order .= EMAIL_TEXT_PAYMENT_METHOD . "\n" .

EMAIL_SEPARATOR . "\n";

$payment_class = $$payment;

$email_order .= $payment_class->title . "\n\n";

if ($payment_class->email_footer) {

$email_order .= $payment_class->email_footer . "\n\n";

}

}

tep_mail($order->customer['firstname'] . ' ' . $order->customer['lastname'], $order->customer['email_address'], EMAIL_TEXT_SUBJECT, Order:".$insert_id, $email_order, STORE_OWNER, STORE_OWNER_EMAIL_ADDRESS);

 

 

And here is the other file I edited:

 

2) catalog/includes/languages/engligh/checkout_process.php

 

 

define('EMAIL_TEXT_SUBJECT', 'STORE_NAME - Your Product Purchase');

define('EMAIL_TEXT_ORDER_NUMBER', 'Order Number:');

define('EMAIL_TEXT_INVOICE_URL', 'Detailed Invoice:');

define('EMAIL_TEXT_DATE_ORDERED', 'Date Ordered:');

define('EMAIL_TEXT_PRODUCTS', 'Products');

define('EMAIL_TEXT_SUBTOTAL', 'Sub-Total:');

define('EMAIL_TEXT_TAX', 'Tax: ');

define('EMAIL_TEXT_SHIPPING', 'Shipping: ');

define('EMAIL_TEXT_TOTAL', 'Total: ');

define('EMAIL_TEXT_DELIVERY_ADDRESS', 'Delivery Address');

define('EMAIL_TEXT_BILLING_ADDRESS', 'Billing Address');

define('EMAIL_TEXT_PAYMENT_METHOD', 'Payment Method');

 

define('EMAIL_SEPARATOR', '------------------------------------------------------');

 

define('TEXT_EMAIL_VIA', 'Here I have added my own additional text with simple HTML coding for paragraph breaks');

?>

 

 

Can someone kindly inform me if I have done something wrong, as now my page fails to load?

 

Thank you in advance!

Link to comment
Share on other sites

Hi there,

 

I have tried following the instructions to customise my order confirmation, by adding store name + order No to the subject heading, and including the customer's email address, but now when I try to check out a product purchase, the final check out page fails to load. Could someone kindly assist as to what the problem could be?

 

Here are the files I have edited:

 

1) catalog/checkout_process.php:

 

// lets start with the email confirmation

$email_order = STORE_NAME . "\n" .

EMAIL_SEPARATOR . "\n" .

EMAIL_TEXT_ORDER_NUMBER . ' ' . $insert_id . "\n" .

EMAIL_TEXT_INVOICE_URL . ' ' . tep_href_link(FILENAME_ACCOUNT_HISTORY_INFO, 'order_id=' . $insert_id, 'SSL', false) . "\n" .

EMAIL_TEXT_DATE_ORDERED . ' ' . strftime(DATE_FORMAT_LONG) . "\n\n";

if ($order->info['comments']) {

$email_order .= tep_db_output($order->info['comments']) . "\n\n";

}

$email_order .= EMAIL_TEXT_PRODUCTS . "\n" .

EMAIL_SEPARATOR . "\n" .

$products_ordered .

EMAIL_SEPARATOR . "\n";

 

for ($i=0, $n=sizeof($order_totals); $i<$n; $i++) {

$email_order .= strip_tags($order_totals[$i]['title']) . ' ' . strip_tags($order_totals[$i]['text']) . "\n";

}

 

if ($order->content_type != 'virtual') {

$email_order .= "\n" . EMAIL_TEXT_DELIVERY_ADDRESS . "\n" .

EMAIL_SEPARATOR . "\nemail: " .$order->customer['email_address']. "\n" .

tep_address_label($customer_id, $sendto, 0, '', "\n") . "\n";

}

 

$email_order .= "\n" . EMAIL_TEXT_BILLING_ADDRESS . "\n" .

EMAIL_SEPARATOR . "\nemail: " .$order->customer['email_address']. "\n" .

tep_address_label($customer_id, $billto, 0, '', "\n") . "\n\n";

if (is_object($$payment)) {

$email_order .= EMAIL_TEXT_PAYMENT_METHOD . "\n" .

EMAIL_SEPARATOR . "\n";

$payment_class = $$payment;

$email_order .= $payment_class->title . "\n\n";

if ($payment_class->email_footer) {

$email_order .= $payment_class->email_footer . "\n\n";

}

}

tep_mail($order->customer['firstname'] . ' ' . $order->customer['lastname'], $order->customer['email_address'], EMAIL_TEXT_SUBJECT, Order:".$insert_id, $email_order, STORE_OWNER, STORE_OWNER_EMAIL_ADDRESS);

And here is the other file I edited:

 

2) catalog/includes/languages/engligh/checkout_process.php

define('EMAIL_TEXT_SUBJECT', 'STORE_NAME - Your Product Purchase');

define('EMAIL_TEXT_ORDER_NUMBER', 'Order Number:');

define('EMAIL_TEXT_INVOICE_URL', 'Detailed Invoice:');

define('EMAIL_TEXT_DATE_ORDERED', 'Date Ordered:');

define('EMAIL_TEXT_PRODUCTS', 'Products');

define('EMAIL_TEXT_SUBTOTAL', 'Sub-Total:');

define('EMAIL_TEXT_TAX', 'Tax: ');

define('EMAIL_TEXT_SHIPPING', 'Shipping: ');

define('EMAIL_TEXT_TOTAL', 'Total: ');

define('EMAIL_TEXT_DELIVERY_ADDRESS', 'Delivery Address');

define('EMAIL_TEXT_BILLING_ADDRESS', 'Billing Address');

define('EMAIL_TEXT_PAYMENT_METHOD', 'Payment Method');

 

define('EMAIL_SEPARATOR', '------------------------------------------------------');

 

define('TEXT_EMAIL_VIA', 'Here I have added my own additional text with simple HTML coding for paragraph breaks');

?>

Can someone kindly inform me if I have done something wrong, as now my page fails to load?

 

Thank you in advance!

 

 

Quite disappointed that no one had replied after so long, but that's ok, after many many days of trying to resolve this, I uploaded the original file to overwrite this and it's now working fine. Guess it's the coding part somehow.

Link to comment
Share on other sites

  • 5 weeks later...
  • 2 months later...

All I want to add to the email notification back to me is this info:

 

email: [email protected]

Telephone: 0800-customers-phone-no-555

 

in both Delivery & Billing address.

 

I made these edits of check_outprocess:

 

CODE

if ($order->content_type != 'virtual') {

$email_order .= "\n" . EMAIL_TEXT_DELIVERY_ADDRESS . "\n" .

EMAIL_SEPARATOR . "\n" .

EMAIL_TEXT_MAIL . $order->customer['email_address'] . "\n" .

EMAIL_SEPARATOR . "\n" .

tep_address_label($customer_id, $sendto, 0, '', "\n") .

EMAIL_TEXT_PHONE . $order->customer['telephone']. "\n";

}

 

 

\catalog\includes\languages\(your language)\checkout_process.php

 

CODE

define('EMAIL_TEXT_MAIL', 'Email: ');

define('EMAIL_TEXT_PHONE', 'Telephone: ');

 

But I still get the SAME info as beofre without email address or telephone. Anybody have a solution?

Thanks

FMM

Link to comment
Share on other sites

  • 3 weeks later...

Take a peek here:

 

Click Me

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

  • 2 weeks later...

Got this workign great now.. but I wpuld also like the customers last name to appear in the subject line..

 

tep_mail('', SEND_EXTRA_ORDER_EMAILS_TO, EMAIL_TEXT_SUBJECT . $insert_id . $lastname, $email_order, STORE_OWNER, STORE_OWNER_EMAIL_ADDRESS);
 }

 

This is not working.. almost but not quite.. the subject line I receive looks like:

 

Shoppe Order - 35

 

I would like it to look like:

 

Shoppe Order - 35 - Smith

 

thanks

Debbie D
Franklin County, VA "Moonshine Capitol of the World"
osCmax Mobile Template oscmaxtemplates.com

Link to comment
Share on other sites

Which PHP file is this in?

:unsure:

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

If you're in "checkout_process.php", I'm thinking it should be more like this:

 

tep_mail('', SEND_EXTRA_ORDER_EMAILS_TO, EMAIL_TEXT_SUBJECT . $insert_id . $order->customer['lastname'], $email_order, STORE_OWNER, STORE_OWNER_EMAIL_ADDRESS);

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

Well, maybe this:

 

tep_mail('', SEND_EXTRA_ORDER_EMAILS_TO, EMAIL_TEXT_SUBJECT . $insert_id . ' - ' . $order->customer['lastname'], $email_order, STORE_OWNER, STORE_OWNER_EMAIL_ADDRESS);

To achieve the format you desire.

:blush:

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 am trying to change the paypal generated order email same as this one - i have done the non paypal one but can't figure out where to change it in checkout_update.inc.php

 

any help

 

!! Finally worked out whats going on !!

I use the Paypal IPN contrib and so i dont actually use catalog\checkout_confirmation.php at all. So no wonder my edits for customer email didnt work at all !

 

Paypal IPN use catalog\includes\modules\payment\paypal\catalog\checkout_update.inc.php instead to create its order email messages since it must first wait for the IPN info back from paypal before sending out order emails - if paypal payment fails then no emails are sent and the order in my store is 'pending'.

 

I thought i was going a bit crazy there for a while...

 

:lol:

Link to comment
Share on other sites

I don't have this file:

 

checkout_update.inc.php

 

Can you please post it between "code" tags, and I'll see what I can do?

:unsure:

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

Since neither of those use "tep_mail", I don't know either...

:blush:

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...