Results 1 to 7 of 7

Hybrid View

  1. #1
    Join Date
    Aug 2011
    Posts
    199
    Plugin Contributions
    0

    Default Change the contents of email sent to me on new customer creation

    Hi,

    I have installed "how did you hear about us" add on to my zencart. Now on new customer creation I also wanted the referral information to be sent in the email under the "office use only" section.
    Which file should I edit for that? I could not find such an option thru the admin control.

    Thanks
    Devyani.

  2. #2
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: Change the contents of email sent to me on new customer creation

    I could not find such an option thru the admin control.
    Most probably because this is a 3rd party addon and they have not included this

    Best to ask in the support thread for that plugin

    http://www.zen-cart.com/showthread.php?35623
    Zen-Venom Get Bitten

  3. #3
    Join Date
    Aug 2011
    Posts
    199
    Plugin Contributions
    0

    Default Re: Change the contents of email sent to me on new customer creation

    Quote Originally Posted by kobra View Post
    Most probably because this is a 3rd party addon and they have not included this

    Best to ask in the support thread for that plugin

    http://www.zen-cart.com/showthread.php?35623

    Thanks !
    The reason I asked this was because i wanted to understand which file ( that is used to send new customer email) to customize to put this variable in..

  4. #4
    Join Date
    Aug 2011
    Posts
    199
    Plugin Contributions
    0

    Default Re: Change the contents of email sent to me on new customer creation

    I guess i found that file - its email_extras.php
    There one in my admin and one under the english folder.

  5. #5
    Join Date
    Aug 2011
    Posts
    199
    Plugin Contributions
    0

    Default Re: Change the contents of email sent to me on new customer creation

    I have posted the query in that thread, I was hoping if i know the variable under which the referral source gets stored then i can edit the email_extras.php and add that info there.
    Not sure if this is the right way. Any pointers ?

  6. #6
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    Default Re: Change the contents of email sent to me on new customer creation

    It's a lot more complicated than that.
    You'll need to hack the core functions_email.php file and add your custom code to pull the extra data again from the database and format the data to be included when the function passes it back in the office-use "extra info" return data.
    .

    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.

  7. #7
    Join Date
    Aug 2011
    Posts
    199
    Plugin Contributions
    0

    Default Re: Change the contents of email sent to me on new customer creation

    yes Dr. Byte, I saw the code and got the point.
    Each time a new account is created, i wanted to see, who referred the new customer.
    I can get this info through the admin also. Just wanted everything in one place thru email...

    Thanks

 

 

Similar Threads

  1. Replies: 2
    Last Post: 24 Dec 2013, 08:05 PM
  2. Change the logo on sent email from Zencart
    By Parley in forum General Questions
    Replies: 2
    Last Post: 1 Mar 2010, 07:14 PM
  3. Order Ststus - how do I change the email thats sent
    By kitcorsa in forum General Questions
    Replies: 0
    Last Post: 5 Mar 2008, 05:26 PM
  4. EMail Admin the same Email message that is sent to customer
    By dubya01 in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 21 Aug 2007, 03:47 AM

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