Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

processing & delivered e-mails not including full path t


Guest

Recommended Posts

the link to the order detail pae. The actual e-mail for the initial order is though. It is getting the /account_history_info.php?order_id=11 info on there, but not the beginning www.mydomain.com/ info. Any ideas on where to start looking??

Link to comment
Share on other sites

here is the string in my Admin/orders.php page that is only sending the order#, not the whole website address to link back to the order info

 

$email = STORE_NAME . "n" . EMAIL_SEPARATOR . "n" . EMAIL_TEXT_ORDER_NUMBER . ' ' . $oID . "n" . EMAIL_TEXT_INVOICE_URL . ' ' . tep_catalog_href_link(FILENAME_CATALOG_ACCOUNT_HISTORY_INFO, 'order_id=' . $oID, 'SSL') . "n" . EMAIL_TEXT_DATE_ORDERED . ' ' . tep_date_long($check_status['date_purchased']) . "nn" . sprintf(EMAIL_TEXT_STATUS_UPDATE, $orders_status_array[$status]);

 

 

Does something seem wrong? It is a snapshot dated 6/18/02. does anyone know if this was a problem, and an updated snapshot of that file would help?

Link to comment
Share on other sites

  • 1 month later...

Out of interest, the cust. order email from my understanding is built and send via /catalog/checkout_process.php :

 

Starts aroiund here:

 

// 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" .

EMAIL_TEXT_DATE_ORDERED . ' ' . strftime(DATE_FORMAT_LONG) . "nn";

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

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

 

EMAIL_TEXT_INVOICE_URL . ' ' . tep_href_link is the order ref.

 

John

Link to comment
Share on other sites

Oh, I just updated a test order and got this:

 

ITSUPPLIES

------------------------------------------------------

Order Number: 1048

Detailed Invoice: https://www.itsupplies.net/account_history_info.php?order_id=1048

Date Ordered: Saturday 09 November, 2002



Your order has been updated to the following status.



New status: Processing



Please reply to this email if you have any questions.

 

So that part seems to work for me!?

 

This is the code from orders.php

 

 if ($HTTP_POST_VARS['notify'] == 'on') {

         $email = STORE_NAME . "n" . EMAIL_SEPARATOR . "n" . EMAIL_TEXT_ORDER_NUMBER . ' ' . $o

ID . "n" . EMAIL_TEXT_INVOICE_URL . ' ' . tep_catalog_href_link(FILENAME_CATALOG_ACCOUNT_HISTORY_

INFO, 'order_id=' . $oID, 'SSL') . "n" . EMAIL_TEXT_DATE_ORDERED . ' ' . tep_date_long($check_sta

tus['date_purchased']) . "nn" . sprintf(EMAIL_TEXT_STATUS_UPDATE, $orders_status_array[$status])

 

Version : $Id: orders.php,v 1.103 2002/11/01 05:55:36 hpdl Exp $

 

 

John

Link to comment
Share on other sites

Prob stoopid idea, but I take it you've got all your config file setup?

 

ie.

 

define('HTTP_SERVER', 'http://www.itsupplies.net'); 

define('HTTP_CATALOG_SERVER', 'http://www.itsupplies.net');

define('HTTPS_CATALOG_SERVER', 'https://www.itsupplies.net');

 

John

Link to comment
Share on other sites

Def. worth ago, this is how I solve most of my issues :(... But I reckon you/others may need to look at whats going wrong.

 

Are you on the new snapshot , ie NOVEMBER one!?.. If not, it may be worth considering.

 

John

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...