Results 1 to 5 of 5
  1. #1
    Join Date
    May 2006
    Posts
    134
    Plugin Contributions
    0

    help question Change Email Subject of Status Update Messages e.g. Order Update XXXX

    Hi Zenners,

    Whenever I update an orders status I tick a checkbox to insert a certain comment
    The EMAIL SUBJECT is always "Order Update XXXX"

    Is there any way to change this subject, such as what if I want it to say "Order XXXX Shipped" or "invoice and testimonial" depending on what messages I am sending through the system?

    cheers,
    ApeShop.com - Mobile Cell Phones, Digital Cameras, Camcorders, Lenses, iPods, PSPs, Watches & more!
    http://www.apeshop.com/

  2. #2

    Default Re: Change Email Subject of Status Update Messages e.g. Order Update XXXX

    I, too, would like to know if anyone knows of a way to do this?

    I'd like my order status email subjects to be able to show:

    Order #----- Shipped

    Order #----- Canceled

    etc.

    according to the status I assign them in admin.

    Thanks!

  3. #3
    Join Date
    Nov 2009
    Location
    Chennai, India
    Posts
    24
    Plugin Contributions
    2

    Default Re: Change Email Subject of Status Update Messages e.g. Order Update XXXX

    Hi

    You can browse the admin/orders.php and change the following code (line number 124) from

    zen_mail($check_status->fields['customers_name'], $check_status->fields['customers_email_address'], EMAIL_TEXT_SUBJECT . ' #' . $oID, $message, STORE_NAME, EMAIL_FROM, $html_msg, 'order_status');

    to

    zen_mail($check_status->fields['customers_name'], $check_status->fields['customers_email_address'], EMAIL_TEXT_SUBJECT . ' #' . $oID . 'order_status', $message, STORE_NAME, EMAIL_FROM, $html_msg, 'order_status');

    Please have the backup of the file getting edited.

    Thanks

  4. #4

    Default Re: Change Email Subject of Status Update Messages e.g. Order Update XXXX

    Hi, thanks for your reply. I tried the code you suggested:

    zen_mail($check_status->fields['customers_name'], $check_status->fields['customers_email_address'], EMAIL_TEXT_SUBJECT . ' #' . $oID . 'order_status', $message, STORE_NAME, EMAIL_FROM, $html_msg, 'order_status');
    but it makes the subject look like this:

    Order Update #10192order_status
    I am using Fast and Easy checkout by Numinex which comes with an order.php, but that part of the code is the same as your original.

    Thanks!

  5. #5

    Default Re: Change Email Subject of Status Update Messages e.g. Order Update XXXX

    OK, I've figured it out (after a lot of lol)

    For anyone who is trying to do the same thing --

    Instead of:

    'order_status'

    as suggested by Balaji, I plucked the New Order Status bit from the body of the Order Status Email part of order.php:

    $html_msg['EMAIL_TEXT_NEW_STATUS']

    So the final code that changes the order status email subject to read:

    Order #xxxxx Shipped

    zen_mail($check_status->fields['customers_name'], $check_status->fields['customers_email_address'], EMAIL_TEXT_SUBJECT . ' #' . $oID . ' ' . $html_msg['EMAIL_TEXT_NEW_STATUS'], $message, STORE_NAME, EMAIL_FROM, $html_msg, 'order_status');
    But if not for pointing me toward order.php, I couldn't have figured this out, so thanks, Balaji.

 

 

Similar Threads

  1. v154 Change Email Subject of Status Update Messages To Show Assigned Status
    By ShopVille in forum Managing Customers and Orders
    Replies: 12
    Last Post: 27 Oct 2015, 02:43 PM
  2. v138a Append "Order Status" to the end of the Order Update Email Subject Line
    By kamokid in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 5 Jun 2013, 10:18 AM
  3. Replies: 1
    Last Post: 27 Mar 2009, 02:05 PM
  4. Where to change subject on Order update emails.
    By Balboa in forum General Questions
    Replies: 1
    Last Post: 14 Feb 2007, 12:34 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR