
Originally Posted by
dabone
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!
Bookmarks