Thread: HTML email mods

Results 1 to 2 of 2
  1. #1
    Join Date
    Jan 2008
    Posts
    67
    Plugin Contributions
    0

    Default HTML email mods

    I would like to add to the very top of my html email templates a new variable, which is actually called $SNIPPET. It will take the $EMAIL_MESSAGE_HTML and chop it down to 250 characters, so that it displays in the preview section of email clients. I have the $SNIPPET code that I'd like to use, but I'm at a loss as to where to put it in Zen Cart. Can somebody help me out and tell me where the actual $EMAIL_MESSAGE_HTML for the emails gets generated? I think if I put my code there, it should work. I've found quite a few different instances of it with the developers tool kit and am unsure.

    Also is there a way to put a link into the HTML newsletter that allows customers to "view in browser" if they can't see it properly in their client.

  2. #2
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: HTML email mods

    If you're talking about newsletters then the HTML MSG content is built in the admin includes modules newsletters code.

    No, there's no built in facility for "view in browser instead" because they're not stored on the server in HTML pages, let alone personalized versions. They're sent as separate personalized emails. You would need to write custom code for storing them all in a database yourself and create personal links and handle the security etc etc etc.
    .

    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.

 

 

Similar Threads

  1. v154 eMail Templates HTML vs Text and email defines
    By kwright in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 26 Feb 2015, 03:09 AM
  2. Replies: 22
    Last Post: 12 Aug 2009, 06:29 PM
  3. HTML Email
    By geordieboi in forum General Questions
    Replies: 5
    Last Post: 18 Jun 2009, 08:41 PM
  4. Replies: 2
    Last Post: 11 Jan 2008, 10:53 AM
  5. Replies: 3
    Last Post: 28 Mar 2007, 02:39 AM

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