Jump to content


Corporate Sponsors


Latest News: (loading..)

- - - - -

Missing Delivery Address in Order Confirmation email

missing delivery address order confirmation email

3 replies to this topic

#1 Fourpaws

  • Community Member
  • 54 posts
  • Real Name:Claudio
  • Gender:Male

Posted 20 December 2011, 08:19

I am hoping someone can help me or point me in a direction to start looking in.

The order confirmation email that my store sends out has the Delivery Address missing from it. I only noticed it a few weeks back but if I look back at the old confirmation emails I see that it has done this for a while so I cannot tell what contribution would have caused this. I have searched the forum for help but cannot find any tread which helps me.

The delivery address is appearing where it should in the "Admin/Orders". Its seems to only be missing in the Order confirmation email.

#2 Monika in Germany

  • Community Member
  • 4,860 posts
  • Real Name:Monika
  • Gender:Female
  • Location:Frankfurt, Germany

Posted 20 December 2011, 21:29

for all payment modules you are using? all the same? run a test with a simple payment module like money order. and if yes, compare your own checkout_process.php with the file from a fresh download
:-)
Monika

addicted to writing code ... can't get enough of databases either, LOL!

my toolbox: Textpad - Compare and Merge - phpMyAdmin - WS_FTP - Photoshop - How to search the forum

Interactive Media Award July 2007 ~ category E-Commerce
my advice on the forum is for free, PMs where you send me work are considered consultation which I charge for ...

#3 Fourpaws

  • Community Member
  • 54 posts
  • Real Name:Claudio
  • Gender:Male

Posted 22 December 2011, 07:24

Thanks Monika

At some point this line in checkout_process.php:
tep_address_label($customer_id, $sendto, 0, '', "\n") . "\n";
was changed to
$sendToFormatted . "\n";


#4 Monika in Germany

  • Community Member
  • 4,860 posts
  • Real Name:Monika
  • Gender:Female
  • Location:Frankfurt, Germany

Posted 22 December 2011, 12:26

and it seems that $sendToFormatted is not filled with info.

change it back ... and then it should work.

you can then start debugging what should be in your empty parameter and recode it being filled correctly ...
:-)
Monika

addicted to writing code ... can't get enough of databases either, LOL!

my toolbox: Textpad - Compare and Merge - phpMyAdmin - WS_FTP - Photoshop - How to search the forum

Interactive Media Award July 2007 ~ category E-Commerce
my advice on the forum is for free, PMs where you send me work are considered consultation which I charge for ...