Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

some bug with coustumer mail confirm


cezar99

Recommended Posts

Hi i have some problem with file: catalog/checkout_process.

 

I added this:

 

if(isset($HTTP_POST_VARS['dok_zakupu'])) {
   $dokument = $HTTP_POST_VARS['dok_zakupu'];
 } else {
   $dokument = '';
 }
 $sql_data_array = array('orders_id' => $insert_id, 
                         'orders_status_id' => $order->info['order_status'], 
                         'date_added' => 'now()', 
                         'customer_notified' => $customer_notification,
                         'comments' => $dokument.$order->info['comments']);
 tep_db_perform(TABLE_ORDERS_STATUS_HISTORY, $sql_data_array);

 

 

and next in "// lets start with the email confirmation" section i added:

 

if ($dokument . $order->info['comments']) {
   $email_order .= EMAIL_TEXT_DODATKOWY_TEKST4 . "\n" .
                   EMAIL_SEPARATOR . "\n" .
                   tep_db_output($order->info['comments']) . "\n\n";
 }

 

The problem is, that i doesn't see this text in confirm mail which i get. Plesea help me ;)

Link to comment
Share on other sites

Hi i have some problem with file: catalog/checkout_process.

 

I added this:

 

if(isset($HTTP_POST_VARS['dok_zakupu'])) {
   $dokument = $HTTP_POST_VARS['dok_zakupu'];
 } else {
   $dokument = '';
 }
 $sql_data_array = array('orders_id' => $insert_id, 
                         'orders_status_id' => $order->info['order_status'], 
                         'date_added' => 'now()', 
                         'customer_notified' => $customer_notification,
                         'comments' => $dokument.$order->info['comments']);
 tep_db_perform(TABLE_ORDERS_STATUS_HISTORY, $sql_data_array);

 

 

and next in "// lets start with the email confirmation" section i added:

 

if ($dokument . $order->info['comments']) {
   $email_order .= EMAIL_TEXT_DODATKOWY_TEKST4 . "\n" .
                   EMAIL_SEPARATOR . "\n" .
                   tep_db_output($order->info['comments']) . "\n\n";
 }

 

The problem is, that i doesn't see this text in confirm mail which i get. Plesea help me ;)

Ok, the problem is fixed ;]

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...