Results 1 to 8 of 8
  1. #1
    Join Date
    May 2006
    Location
    Japan
    Posts
    326
    Plugin Contributions
    1

    Default Remove Company from Email and Invoice

    I have changed my address order of things so that the company name comes before the customers name using the a sql of $company before the name. The problem is that the email comes up like this:

    COMPANY NAME(THIS I WANT TO GO AWAY)
    ADDRESS
    ADDRESS
    ADDRESS
    COMPANY NAME (THIS IS THE ONE I WANT)
    NAME

    I am guessing that the order.php file is the one adding this, just can't find the right part of the code to change. Any help would be great.

    Thanks,
    Godspeed27
    Skin Evolution.
    Lynda.com,its a great place to learn.
    Camelot Hosting,it's where my site calls home!

    E-Start your Zen-Cart,KH is the Man, Thanks for all the hard work!

  2. #2
    Join Date
    Aug 2004
    Posts
    1,590
    Plugin Contributions
    1

    Default Re: Remove Company from Email and Invoice

    You can also edit your /email directory and remove these initials from your HTML files (which would be much safer than editing includes/classes/order.php file).

    Doing a backup before proceeding would also be a good idea in this case.

  3. #3
    Join Date
    May 2006
    Location
    Japan
    Posts
    326
    Plugin Contributions
    1

    Default Re: Remove Company from Email and Invoice

    I don't use HTML emails, as I had problems with them for Japanese, that was a while back, I could try again but I am trying to update the Japanese language pack to 1.3.6.

    Here the company name doesn't come 1st.

    Thanks for the idea but I really would like to remove it all together.
    Skin Evolution.
    Lynda.com,its a great place to learn.
    Camelot Hosting,it's where my site calls home!

    E-Start your Zen-Cart,KH is the Man, Thanks for all the hard work!

  4. #4
    Join Date
    Aug 2004
    Posts
    1,590
    Plugin Contributions
    1

    Default Re: Remove Company from Email and Invoice

    In your includes/classes/order.php file,

    you can customize this line:

    //intro area
    $email_order = EMAIL_TEXT_HEADER . EMAIL_TEXT_FROM . STORE_NAME . "\n\n" .
    Of course, you'd want to backup the file first, since this is not part of the overrides. :)

  5. #5
    Join Date
    May 2006
    Location
    Japan
    Posts
    326
    Plugin Contributions
    1

    Default Re: Remove Company from Email and Invoice

    If I could get more info on this that would be great. I can't seem to find the right thing to remove.
    Skin Evolution.
    Lynda.com,its a great place to learn.
    Camelot Hosting,it's where my site calls home!

    E-Start your Zen-Cart,KH is the Man, Thanks for all the hard work!

  6. #6
    Join Date
    Aug 2004
    Posts
    1,590
    Plugin Contributions
    1

    Default Re: Remove Company from Email and Invoice

    //intro area
    There's only one line called like that under your includes/classes/order.php file. Simply find that particular line on that file and apply the modifications above.

  7. #7
    Join Date
    May 2006
    Location
    Japan
    Posts
    326
    Plugin Contributions
    1

    Default Re: Remove Company from Email and Invoice

    TheOracle, I see the area you are talking about, but I don't see where company is being called from. I will try to mess around with it and see what I come up with.
    Skin Evolution.
    Lynda.com,its a great place to learn.
    Camelot Hosting,it's where my site calls home!

    E-Start your Zen-Cart,KH is the Man, Thanks for all the hard work!

  8. #8
    Join Date
    May 2006
    Location
    Japan
    Posts
    326
    Plugin Contributions
    1

    Default Re: Remove Company from Email and Invoice

    You know I really don't need to remove it, just change the order of where it is. That would work too, almost better.
    Skin Evolution.
    Lynda.com,its a great place to learn.
    Camelot Hosting,it's where my site calls home!

    E-Start your Zen-Cart,KH is the Man, Thanks for all the hard work!

 

 

Similar Threads

  1. Replies: 7
    Last Post: 21 Aug 2015, 01:07 AM
  2. Remove Detailed Invoice Link from Email
    By pinksparklegirl in forum General Questions
    Replies: 11
    Last Post: 4 Nov 2011, 07:34 PM
  3. VAT and Company Reg no on Invoice
    By hamid84 in forum Currencies & Sales Taxes, VAT, GST, etc.
    Replies: 0
    Last Post: 23 Nov 2009, 03:24 PM
  4. remove invoice link in email
    By bean_2k1 in forum General Questions
    Replies: 5
    Last Post: 3 May 2009, 07:43 PM
  5. Looking to add print invoice and shipp invoice from admin---> orders
    By r4fdud in forum Upgrading from 1.3.x to 1.3.9
    Replies: 0
    Last Post: 15 Mar 2009, 11:21 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