Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

confirmation email problem


sahilkumar1234

Recommended Posts

Hi!

i have one problem with the confirmation mail after the checkout process.

I want that only the product name,id,date of purchase,billing address,shipping address will be in that email not the product price,total price.

So how can it be done?

 

Plz. help me.

The file that creates the order confirmation email is the catalog/checkout_process.php.

 

Going there, you will see that the email creation starts at the line

// lets start with the email confirmation
 $email_order = STORE_NAME . "\n" . 
                EMAIL_SEPARATOR . "\n" . 
.
.
.
.

The "order total" information, what you don't want comes from here

   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 you don't want this info, change the above line to this

   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";
 }

 

PS

 

there are contributes to install and tutorials on how to do this. If you do not have the knowledge to program PHP then you should hire a web developer or contact me.

 

Why do you need to be contacted in private? Thats a open forum here and somebody asks for help and information. If you know the answer, or if you want to say it, then do so. Thats the purpose of the whole thing here. And if somebody has not the knowledge to program PHP, then he will get it with the time, and reading this forum here is one of the best tools to learn

 

So, I wonder why you are willing to answer only in private....... Whats your purpose? Private lessons?

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...