Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Modifying the email sent slightly


jimbeeer

Recommended Posts

checkout_process.php

$email_order .= "\n" . EMAIL_TEXT_BILLING_ADDRESS . "\n" .
			  EMAIL_SEPARATOR . "\n" .
			  tep_address_label($customer_id, $billto, 0, '', "\n") . "\n\n";

 

the code above generates the following:

 

Billing Address

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

Bill Gates

123 Rich Street

Microtown, RG7 177

Berkshire, United Kingdom

 

what my client wants it to say is:

 

Bill Gates

Tel: 0111 111 1111

Email: [email protected]

I'm sure this is pretty easy, i'm just not sure how to do it.

 

-James

Link to comment
Share on other sites

	$email_order .= "\n" . $order->customer['firstname'] . ' ' . $order->customer['lastname'] . "\n" .
			  'Tel: ' . $order->customer['telephone'] . "\n" .
			  'Email: ' . $order->customer['email_address'] . "\n\n";

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