Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Edit Language for Order Update Email


forummaker

Recommended Posts

Posted

I've been searching for this for about an hour now.... driving me nuts!

Which language file can this be found in?

It's the email that can be sent to the customer when their order status is updated.

I would like to edit the following text highlighted in yellow.

 

(store name)

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

Order Number: 106

Detailed Invoice: blahblah...order_id=106

Date Ordered: Sunday 18 April, 2010

 

The comments for your order are

 

Your order has been shipped.

USPS Tracking Number:

12345678

 

 

 

Your order has been updated to the following status.

 

New status: Shipped

 

Please reply to this email if you have any questions.

That "Can" you're about to open... has worms!

Don't say I didn't worn ya.

n. pl. cans of worms Informal - A source of unforeseen and troublesome complexity.

Posted

In catalog/admin/includes/languages/english/orders.php. Look for

define('EMAIL_TEXT_STATUS_UPDATE', 'Your order has been updated to the following status.' . "\n\n" . 'New status: %s' . "\n\n" . 'Please reply to this email if you have any questions.' . "\n");
define('EMAIL_TEXT_COMMENTS_UPDATE', 'The comments for your order are' . "\n\n%s\n\n");

Posted

Thats it!

I think I looked at every file... but that one.. of course.

Thanks alot!

That "Can" you're about to open... has worms!

Don't say I didn't worn ya.

n. pl. cans of worms Informal - A source of unforeseen and troublesome complexity.

  • 1 month later...
Posted

One more question... from my first question...

 

(store name)

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

Order Number: 106

Detailed Invoice: blahblah...order_id=106

Date Ordered: Sunday 18 April, 2010

 

The comments for your order are

 

Your order has been shipped.

USPS Tracking Number:

12345678

 

 

 

Your order has been updated to the following status.

 

New status: Shipped

 

Please reply to this email if you have any questions.

 

How can I change the (store name) without changing it in the -admin-configuration-store name-.

 

Thanks for any help...

That "Can" you're about to open... has worms!

Don't say I didn't worn ya.

n. pl. cans of worms Informal - A source of unforeseen and troublesome complexity.

Posted

/admin/orders.php

 

 

            $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']) . "\n\n" . $notify_comments . sprintf(EMAIL_TEXT_STATUS_UPDATE, $orders_status_array[$status]);

 

Change it to something like:

 

            $email = 'My Online Store' . "\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']) . "\n\n" . $notify_comments . sprintf(EMAIL_TEXT_STATUS_UPDATE, $orders_status_array[$status]);

If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you.

 

"Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice."

- Me -

 

"Headers already sent" - The definitive help

 

"Cannot redeclare ..." - How to find/fix it

 

SSL Implementation Help

 

Like this post? "Like" it again over there >

Posted

That's it! Thank you very much! I would have never found it.

 

 

One more question... :D

How would I change the text in the "From" in the email notice?

It shows the same as my store name.. I would like to customize that as well.

Thought I could find it in the admin/orders.php too, but couldn't.

Thanks again.

That "Can" you're about to open... has worms!

Don't say I didn't worn ya.

n. pl. cans of worms Informal - A source of unforeseen and troublesome complexity.

Archived

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

×
×
  • Create New...