Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

wang2013

Archived
  • Posts

    11
  • Joined

  • Last visited

Profile Information

  • Real Name
    jianwang

wang2013's Achievements

  1. Just make sure that your hosting server support cURL function.
  2. I have a same problem: Parse error: parse error, unexpected T_CONSTANT_ENCAPSED_STRING in C:Inetpubwwwrootshop3catalogadminuser_tracking.php on line 60 Anyone has an idea to resolve that problem?
  3. everything is work except text format in email needs change to html format and comments problem. Because comments from admin is in order_status_history in mysql, not in order table, so I need get comments in order_status_history table, not get it from order table. How can you solve that problem? $customer_notified = '0'; if ($HTTP_POST_VARS['notify'] == 'on' & $ups_track_num == '' ) { $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]. "n" . EMAIL_TEXT_COMMENTS_UPDATE . $comments); tep_mail($check_status['customers_name'], $check_status['customers_email_address'], EMAIL_TEXT_SUBJECT, nl2br($email), STORE_OWNER, STORE_OWNER_EMAIL_ADDRESS); $customer_notified = '1'; }elseif ($HTTP_POST_VARS['notify'] == 'on' & tep_not_null($ups_track_num) ) { $email = STORE_NAME . "n" . EMAIL_SEPARATOR . "n" . EMAIL_TEXT_ORDER_NUMBER . ' ' . $oID . "n" . EMAIL_TEXT_UPS_TRACK_NUM . $ups_track_num . "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" . EMAIL_TEXT_TRACKING_NUMBER . ' ' . tep_catalog_href_link(FILENAME_CATALOG_ACCOUNT_HISTORY_INFO, 'order_id=' . $oID, 'SSL') . "nn" . sprintf(EMAIL_TEXT_STATUS_UPDATE, $orders_status_array[$status] . "n" . EMAIL_TEXT_COMMENTS_UPDATE . $comments); tep_mail($check_status['customers_name'], $check_status['customers_email_address'], EMAIL_TEXT_SUBJECT, nl2br($email), STORE_OWNER, STORE_OWNER_EMAIL_ADDRESS); $customer_notified = '1'; } I received email and comments look like: Your order has been updated to the following status. New status: Processing The comments for your order are %s Your order has been processed and will ship in 24 hrs. Please allow 4-8 days to delivery. Thank you For your order. Please reply to this email if you have any questions. How do I to delete %s?
  4. thanks very much, I have more questions: # Step 6 # catalog/includes/classes/order.php find this on line 60 'comments' => $order['comments'], # and put this below it /*Tracking contribution begin*/ 'ups_track_num' => $order['ups_track_num'], /*Tracking contribution end*/ I cannot find 'comments' => $order['comments'], in order.php, how to solve that problem? # Step 15 # admin/includes/classes/order.php find this on line 43 'comments' => $order['comments'], # and place this below it /*Tracking contribution begin*/ 'ups_track_num' => $order['ups_track_num'], /*Tracking contribution end*/ I cannot find 'comments' => $order['comments'], aslo in order.php, how to solve that problem?
  5. Hello, I installed osCommerce 2.2 Milestone 1 in my server (Windows 2000 server), and I followed the instruction of UPS Order Tracking XML Version 2.3 to install, but I found that some files are out of date, for example, the instruction saying: # Step 11 # admin/orders.php find this on line 67 if (tep_not_null($comments)) { tep_db_query("update " . TABLE_ORDERS . " set comments = '" . tep_db_input($comments) . "' where orders_id = '" . tep_db_input($oID) . "'"); $order_updated = true; } # and place this below it /*Tracking contribution begin*/ if (tep_not_null($ups_track_num)) { tep_db_query("update " . TABLE_ORDERS . " set ups_track_num = '" . tep_db_input($ups_track_num) . "' where orders_id = '" . tep_db_input($oID) . "'"); $order_updated = true; } /*Tracking contribution end*/ I cannot find if (tep_not_null($comments)) { tep_db_query("update " . TABLE_ORDERS . " set comments = '" . tep_db_input($comments) . "' where orders_id = '" . tep_db_input($oID) . "'"); $order_updated = true; } in order.php. How to solve that problem? anyone success install the module?
×
×
  • Create New...