seb1188 Posted April 13, 2008 Posted April 13, 2008 I'd like to put the IP address collected by the IP_Recorder_1.4 contribution in the e-mail my customers receive when they place an order. I got as far as opening checkout_process.php and found: // lets start with the email confirmation $email_order = STORE_NAME . "\n" . EMAIL_SEPARATOR . "\n" . EMAIL_TEXT_ORDER_NUMBER . ' ' . $insert_id . "\n" . EMAIL_TEXT_INVOICE_URL . ' ' . tep_href_link(FILENAME_ACCOUNT_HISTORY_INFO, 'order_id=' . $insert_id, 'SSL', false) . "\n" . So I tried adding this: //BEGIN PERSONAL ADDITION TO ORDER_IP_RECORDER HEADING_IPRECORDED_1 . "\n" . YOUR_IP_IPRECORDED . ': ' . $order->customer['ipaddy'] . "\n". It displays the heading message correctly (I copied this into the languages file first), and display "Ip address:" but the IP address does not display. How do I get it to display it? It's contained in the orders table of the database, under a field named ipaddy. Thanks! :thumbsup: Quote osCommerce is GREAT. When it works...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.