Results 1 to 10 of 13

Hybrid View

  1. #1
    Join Date
    Aug 2012
    Posts
    331
    Plugin Contributions
    0

    Default Change Email Subject of Status Update Messages To Show Assigned Status

    I'm opening this thread in response to this closed thread

    I'm looking to change the email subject of status update messages to show assigned status
    E.X
    Order Update #### Shipped

    I tried the method in the reference thread but was not able to get it working, below is the 2 lines in my orders.php file,
    PHP Code:
    zen_mail($check_status->fields['customers_name'], $check_status->fields['customers_email_address'], EMAIL_TEXT_SUBJECT ' [CP' $oID.']'$messageSTORE_NAMEEMAIL_FROM$html_msg'order_status',$url);
                
    $customer_notified '1'
    How would I update this to accomplish the above.

    TIA

  2. #2
    Join Date
    Jul 2012
    Posts
    16,816
    Plugin Contributions
    17

    Default Re: Change Email Subject of Status Update Messages To Show Assigned Status

    Quote Originally Posted by ShopVille View Post
    I'm opening this thread in response to this closed thread

    I'm looking to change the email subject of status update messages to show assigned status
    E.X
    Order Update #### Shipped

    I tried the method in the reference thread but was not able to get it working, below is the 2 lines in my orders.php file,
    PHP Code:
    zen_mail($check_status->fields['customers_name'], $check_status->fields['customers_email_address'], EMAIL_TEXT_SUBJECT ' [CP' $oID.']'$messageSTORE_NAMEEMAIL_FROM$html_msg'order_status',$url);
                
    $customer_notified '1'
    How would I update this to accomplish the above.

    TIA
    PHP Code:
    zen_mail($check_status->fields['customers_name'], $check_status->fields['customers_email_address'], EMAIL_TEXT_SUBJECT ' [CP' $oID.'] ' $orders_status_array[$status], $messageSTORE_NAMEEMAIL_FROM$html_msg'order_status',$url);
                
    $customer_notified '1'

    That should modify your existing content to include the words associated with the status to which it was changed...
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  3. #3
    Join Date
    Aug 2012
    Posts
    331
    Plugin Contributions
    0

    Default Re: Change Email Subject of Status Update Messages To Show Assigned Status

    Thanks so much working!

    How would i do the same for the admin copy

    PHP Code:
    //send extra emails
                
    if (SEND_EXTRA_ORDERS_STATUS_ADMIN_EMAILS_TO_STATUS == '1' and SEND_EXTRA_ORDERS_STATUS_ADMIN_EMAILS_TO != '') {
                  
    zen_mail(''SEND_EXTRA_ORDERS_STATUS_ADMIN_EMAILS_TOSEND_EXTRA_ORDERS_STATUS_ADMIN_EMAILS_TO_SUBJECT ' ' EMAIL_TEXT_SUBJECT ' #' $oID$messageSTORE_NAMEEMAIL_FROM$html_msg'order_status_extra');
                }
              } elseif (isset(
    $_POST['notify']) && ($_POST['notify'] == '-1')) {
                
    // hide comment 

  4. #4
    Join Date
    Jul 2012
    Posts
    16,816
    Plugin Contributions
    17

    Default Re: Change Email Subject of Status Update Messages To Show Assigned Status

    Quote Originally Posted by ShopVille View Post
    Thanks so much working!

    How would i do the same for the admin copy

    PHP Code:
    //send extra emails
                
    if (SEND_EXTRA_ORDERS_STATUS_ADMIN_EMAILS_TO_STATUS == '1' and SEND_EXTRA_ORDERS_STATUS_ADMIN_EMAILS_TO != '') {
                  
    zen_mail(''SEND_EXTRA_ORDERS_STATUS_ADMIN_EMAILS_TOSEND_EXTRA_ORDERS_STATUS_ADMIN_EMAILS_TO_SUBJECT ' ' EMAIL_TEXT_SUBJECT ' #' $oID$messageSTORE_NAMEEMAIL_FROM$html_msg'order_status_extra');
                }
              } elseif (isset(
    $_POST['notify']) && ($_POST['notify'] == '-1')) {
                
    // hide comment 
    By similar modification:

    Code:
    //send extra emails
                if (SEND_EXTRA_ORDERS_STATUS_ADMIN_EMAILS_TO_STATUS == '1' and SEND_EXTRA_ORDERS_STATUS_ADMIN_EMAILS_TO != '') {
                  zen_mail('', SEND_EXTRA_ORDERS_STATUS_ADMIN_EMAILS_TO, SEND_EXTRA_ORDERS_STATUS_ADMIN_EMAILS_TO_SUBJECT . ' ' . EMAIL_TEXT_SUBJECT . ' #' . $oID . ' ' . $orders_status_array[$status], $message, STORE_NAME, EMAIL_FROM, $html_msg, 'order_status_extra');
                }
              } elseif (isset($_POST['notify']) && ($_POST['notify'] == '-1')) {
                // hide comment
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  5. #5
    Join Date
    Aug 2012
    Posts
    331
    Plugin Contributions
    0

    Default Re: Change Email Subject of Status Update Messages To Show Assigned Status

    Did not work, is the part I quoted the right part for the admin status notification emails?

  6. #6
    Join Date
    Jul 2012
    Posts
    16,816
    Plugin Contributions
    17

    Default Re: Change Email Subject of Status Update Messages To Show Assigned Status

    Quote Originally Posted by ShopVille View Post
    Did not work, is the part I quoted the right part for the admin status notification emails?
    Well, atquick glance it appeared to be the correct code from admin/orders.php for the email sent when changing the status and "appeared" that the variable was still in focus and unchanged. On that last part I couuld have been wrong.I don't have the code quickly available atthe moment to answer that part.
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

 

 

Similar Threads

  1. v150 Customize order status email subject line to include status name
    By ShopVille in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 19 Oct 2015, 09:24 PM
  2. Text email order status subject
    By Akasashasha in forum General Questions
    Replies: 1
    Last Post: 28 Dec 2010, 11:24 AM
  3. Change Email Subject of Status Update Messages e.g. Order Update XXXX
    By apemusic in forum Managing Customers and Orders
    Replies: 4
    Last Post: 13 Oct 2010, 08:42 AM
  4. Replies: 1
    Last Post: 27 Mar 2009, 02:05 PM

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