Results 1 to 2 of 2
  1. #1
    Join Date
    Jan 2009
    Location
    Saint-Petersburg, Russia
    Posts
    21
    Plugin Contributions
    0

    Default Remove one of the addresses

    Hey everyone,

    Is there a way to remove one of the addresses - either billing or shipping address from the confirmation email?

    We do not use credit cards, so do not really need the billing address - it just takes space in the confirmation email stretching it to two pages.

    Thanks heaps!


  2. #2
    Join Date
    Feb 2009
    Location
    Mogadore, Ohio
    Posts
    32
    Plugin Contributions
    0

    Default Re: Remove one of the addresses

    Quote Originally Posted by dabone View Post
    Hey everyone,

    Is there a way to remove one of the addresses - either billing or shipping address from the confirmation email?

    We do not use credit cards, so do not really need the billing address - it just takes space in the confirmation email stretching it to two pages.

    Thanks heaps!

    Hi dabone,

    In order to remove the Billing Address for the confirmation email you will have to edit your order.php file. This can be done easily via ftp. Please be sure to back up your file before editing!

    In ftp find /public_html/includes/classes/order.php (make your back up) then open for editing. Some where around line #977 you should see a comment that reads "//addresses area: Billing". You can comment out that section by putting "//" in front of each line.
    Code:
        //addresses area: Billing
    //    $email_order .= "\n" . EMAIL_TEXT_BILLING_ADDRESS . "\n" .
    //    EMAIL_SEPARATOR . "\n" .
    //    zen_address_label($_SESSION['customer_id'], $_SESSION['billto'], 0, '', "\n") . "\n\n";
    //    $html_msg['ADDRESS_BILLING_TITLE']   = EMAIL_TEXT_BILLING_ADDRESS;
    //    $html_msg['ADDRESS_BILLING_DETAIL']  = zen_address_label($_SESSION['customer_id'], $_SESSION['billto'], true, '', "<br />");
    Update and save the file.
    Cheers!

 

 

Similar Threads

  1. Changing the shipping addresses coming from one source
    By ellivir in forum Built-in Shipping and Payment Modules
    Replies: 4
    Last Post: 9 Feb 2012, 12:40 PM
  2. One user id but two different IP addresses
    By justin2010 in forum General Questions
    Replies: 4
    Last Post: 15 Feb 2011, 05:13 AM
  3. Remove country from all addresses?
    By Jeff G in forum General Questions
    Replies: 0
    Last Post: 25 Sep 2008, 06:39 AM
  4. showing 2 logos need to remove the top one
    By sin3 in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 6 Jun 2008, 03:55 PM

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