Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.

Confirmation Mail


Recommended Posts



I have a question.


When a customer place an order oscommerce send a confirmation mail.

So far so good, but this mail doesn't contain any "comments" which are placed by

the customer.


What I see is that a digit is send. This digit is from the payment option which

is choosen.


What is wrong in the checkout_process.php file?

Where are the comments saved in the DB?



Who is able to help me or goude me in the correct direction to solve this problem.


Many thanks


Link to comment
Share on other sites


The code is in /catalog/checkout_process.php you have to add

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

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


i found this in


if you look carefully you see it

but i can't get it to work in paypal ipn

i will keep on looking for that

Link to comment
Share on other sites

I am also having the same problem it is not storing the comment in the history table when the customer orders and adds the comment but in the admin area if you change the status it will store the correct comment.


If anyone can help with this it would be a big help.

Link to comment
Share on other sites

i have the same problem as gixmo-xl. the comments made by the user will NOT post to the DB but the admin can post comments. the comments turn into a 0 "zero" in the comment field when you look them up in the admin panel, and they dont send in the confirmation emails after a sale.

Link to comment
Share on other sites

Ok I have found the problem with my comments not working... It was caused by the polls infobox addon. it has $comments as a var in it that causes a conflict just change the var name to $commentsx in the polls.php and it will fix the problem.

Link to comment
Share on other sites

OMG i NEVER would have found that!!! THANK YOU thank you thank you, ssooooooo much!!! i changed that and it worked like a charm. i was about ready to do a fresh install and that still wouldnt have helped since i would have put the polls box back in too :)

Link to comment
Share on other sites


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

  • Create New...