Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.

Products model in email


Recommended Posts

Hi All


I am trying to put the products model in the confirmation email,


could any one help me with the line of code to inesrt in checkout_process.php?


and any other files I should edit for define products_model etc


I am using the following peice of code from checkout_process.php



// send emails to other people
//"WebMakers.com Added: Include Order # in Subject and customer's email address and phone in body"

  /////this line puts "order process number#164"  in the subject line
 //EMAIL_TEXT_SUBJECT . ' number#' . $insert_id,
  /////this line puts "order process165"  in the subject line
 //EMAIL_TEXT_SUBJECT . '  . $insert_id,
 ///this lineputs zilch in the subject line
 //EMAIL_TEXT_SUBJECT  .  $insert_model,
 ///this lineputs zilch in the subject line except order prosess which i want rid of
 //EMAIL_TEXT_SUBJECT  .  $insert_products_model,
 //putting LDR in include/langs/checkout_process,  define('EMAIL_TEXT_SUBJECT', 'LDR');
 //But That is not Quite what I need

//**********THIS PUTS IN THE ORDER NUMBER AND  IF I PUT LDR INTO inc/lamg/checkout_process.php***	EMAIL_TEXT_SUBJECT . ' '.$insert_id,
 $order->product['model'] . ' ' .$order->customer['firstname'] . ' ' . $order->customer['lastname'] . ' ' . 
 'E-mail:' .  $order->customer['email_address'] . "\n\n".
 'Phone:' . $order->customer['telephone'] . "\n\n".
//   'Fax:' . $order->customer['fax'] . "\n\n".




am I in the right ball park

Thanks All

Link to comment
Share on other sites


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

  • Create New...