Results 1 to 9 of 9
  1. #1
    Join Date
    May 2008
    Location
    Ventura Co.
    Posts
    82
    Plugin Contributions
    1

    Default Send Copy of Create Account Emails issue

    How do i get the company name to populate in the email that we recieve telling us we have a new customer registered?

    I have the company name set to true in the customer details, and it does prevent them from registering without a company name.
    The company name shows up in the customer list. but we also need the company name to populate in the email so when my sales guy gets the email he know what company they are from before we give them access.

    Any help

    Thanks Jim

  2. #2
    Join Date
    May 2008
    Location
    Ventura Co.
    Posts
    82
    Plugin Contributions
    1

    Default Re: Send Copy of Create Account Emails issue

    anyone.....bueller,......bueller

  3. #3
    Join Date
    May 2008
    Location
    Ventura Co.
    Posts
    82
    Plugin Contributions
    1

    Default Re: Send Copy of Create Account Emails issue

    anyone!!

  4. #4
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Send Copy of Create Account Emails issue

    You would need to customize the module for the create_account.php to include the company name when the email is sent ...

    Follow the pattern of the: lastname

    and you should see how to add this to the building of the email and all places where you may need to set a variable/array component to do this ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today: v1.5.5]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  5. #5
    Join Date
    May 2008
    Location
    Ventura Co.
    Posts
    82
    Plugin Contributions
    1

    Default Re: Send Copy of Create Account Emails issue

    cool thanks Linda,

    could you give me a bit more details? or is there a tutorial on this?
    I tried to change what I though you were talking about and it gave me an error when I added a new test customer

  6. #6
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Send Copy of Create Account Emails issue

    Not really ...

    Go open the create_account.php module and do a search on:
    lastname

    Do a search on:
    company

    Notice that there are more lastname than company in there?

    You need to have a company for where the lastname are that are related to the email and do it in a manner that uses the right syntax ...

    Without sitting down and writting this, it is really hard to put it all into details ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today: v1.5.5]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  7. #7
    Join Date
    May 2008
    Location
    Ventura Co.
    Posts
    82
    Plugin Contributions
    1

    Default Re: Send Copy of Create Account Emails issue

    ok so basicly add company in the same format that lastname is through out the code on that page in the right sytax and it should do wnat i need i will give that a try thanks!

  8. #8
    Join Date
    May 2008
    Location
    Ventura Co.
    Posts
    82
    Plugin Contributions
    1

    Default Re: Send Copy of Create Account Emails issue

    ok im still getting an error:

    1054 Unknown column 'customers_company' in 'field list'
    in:
    [INSERT INTO customers (customers_firstname, customers_lastname, customers_company, customers_email_address, customers_nick, customers_telephone, customers_fax, customers_newsletter, customers_email_format, customers_default_address_id, customers_password, customers_authorization, customers_gender, customers_dob)

  9. #9
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Send Copy of Create Account Emails issue

    I may not be explaining this well ...

    You need to see where all lastname is used vs company is not, but not necessarily make changes everywhere ...

    Find the line:
    // build the message content

    watch how the lastname is built into the text and HTML email ... and see where the company could be added ...

    The problem is, the company is not necessarily available right there as you may have to pick it up from another peice of the code ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today: v1.5.5]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

 

 

Similar Threads

  1. v154 Send Copy of Order Confirmation Emails
    By stonecoldinc in forum General Questions
    Replies: 3
    Last Post: 9 Apr 2015, 12:44 AM
  2. v139h Send Copy of Admin GV Emails Not Working
    By Lem3 in forum General Questions
    Replies: 1
    Last Post: 27 Dec 2013, 06:56 PM
  3. how can I get a copy of emails I send?
    By mighty midget in forum Basic Configuration
    Replies: 2
    Last Post: 11 Jan 2012, 06:17 PM
  4. Replies: 8
    Last Post: 7 Dec 2011, 04:34 AM
  5. send copy of create account emails to not working
    By charliepingpong in forum Managing Customers and Orders
    Replies: 1
    Last Post: 28 Nov 2011, 01:00 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