Results 1 to 4 of 4
  1. #1
    Join Date
    Jan 2007
    Posts
    2
    Plugin Contributions
    0

    Default office use only doesnt send "phone number"

    Hello,

    when new customer created any accunt(with their phone number), admin also receive an "welcome email" including "office use only", admin see at the email following :

    Office Use Only:
    From: Savas Kavas
    [FONT=Courier New TUR]
    Email: savas_kavas89##########################
    Login Name: Savaş Kavas
    Login Email: savas_kavas89##########################
    IP Address: 89.247.66.87 - 89.247.66.87
    Host Address: 89.247.66.87
    Date and Time: Mon Jan 22 2007 3:09:19 PST
    [/FONT]
    admin can't see "telephone number" on email, but admin can see their phone number at customer information on the admin panel (i mean at the system). Why admin coldnt see customer phone number on email and is there any way to adding phone number to part of "office use only" Thanks in advance .

    Note: my zencar version is 1.3.7
    Last edited by censon; 22 Jan 2007 at 12:41 PM. Reason: add version

  2. #2
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: office use only doesnt send "phone number"

    /includes/modules/create_account.php
    around line 397 you have:
    Code:
        // send additional emails
        if (SEND_EXTRA_CREATE_ACCOUNT_EMAILS_TO_STATUS == '1' and SEND_EXTRA_CREATE_ACCOUNT_EMAILS_TO !='') {
          if ($_SESSION['customer_id']) {
            $account_query = "select customers_firstname, customers_lastname, customers_email_address
                                from " . TABLE_CUSTOMERS . "
                                where customers_id = '" . (int)$_SESSION['customer_id'] . "'";
    
            $account = $db->Execute($account_query);
          }
    
          $extra_info=email_collect_extra_info($name,$email_address, $account->fields['customers_firstname'] . ' ' . $account->fields['customers_lastname'], $account->fields['customers_email_address']);
    replace that with this:
    Code:
        // send additional emails
        if (SEND_EXTRA_CREATE_ACCOUNT_EMAILS_TO_STATUS == '1' and SEND_EXTRA_CREATE_ACCOUNT_EMAILS_TO !='') {
          if ($_SESSION['customer_id']) {
            $account_query = "select customers_firstname, customers_lastname, customers_email_address, customers_telephone, customers_fax
                                from " . TABLE_CUSTOMERS . "
                                where customers_id = '" . (int)$_SESSION['customer_id'] . "'";
    
            $account = $db->Execute($account_query);
          }
    
          $extra_info=email_collect_extra_info($name,$email_address, $account->fields['customers_firstname'] . ' ' . $account->fields['customers_lastname'], $account->fields['customers_email_address'], $account->fields['customers_telephone'], $account->fields['customers_fax']);
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  3. #3
    Join Date
    Jan 2007
    Posts
    2
    Plugin Contributions
    0

    Default Re: office use only doesnt send "phone number"

    Dr Byte,
    I just say many many thanks. have a nice day. again thanks.
    Last edited by censon; 23 Jan 2007 at 10:19 AM. Reason: for solved

  4. #4
    Join Date
    Sep 2007
    Posts
    9
    Plugin Contributions
    0

    Default Re: office use only doesnt send "phone number"

    this hack don't run in other languages... only on english... why?

 

 

Similar Threads

  1. v150 Remove "Office Use" section from Admin copy of Order Confirmation email
    By mkyle in forum Managing Customers and Orders
    Replies: 17
    Last Post: 19 May 2012, 11:05 PM
  2. Discreet Order "office only" comments Module
    By philip_clarke in forum All Other Contributions/Addons
    Replies: 27
    Last Post: 19 Dec 2008, 07:36 PM
  3. Replies: 7
    Last Post: 26 Aug 2007, 07:08 AM
  4. Replies: 4
    Last Post: 12 Jan 2007, 03:37 PM
  5. Adding Information to "Office Use Only" Email Footer
    By leonardawilson in forum General Questions
    Replies: 16
    Last Post: 15 Nov 2006, 05:21 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