Results 1 to 3 of 3
  1. #1
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    12,399
    Plugin Contributions
    87

    Default [Done v1.6.0] zen_mail doesn't use default template

    The FAQ How does the HTML email template system work? includes the following section:

    MULTIPLE LANGUAGES
    You can duplicate the template files into language-specific folders using the language "short" code, using the following format:

    /email/ = this is your english/master set of files
    /emai//fr/ = french
    /email/de/ = german
    /email/es/ = spanish
    ...

    If you don't copy a certain file into the language folder, the english master will be used.

    The bit in red is, unfortunately, not the case. In a multi-language shop, if an HTML email is to be sent in a language other than english (e.g. Spanish, with a languages_code of es) and the requested email template doesn't exist in the language's email folder (e.g. email/es) then the email will be sent in TEXT without regard to the customer or admin TEXT vs. HTML email selection.

    Either the FAQ should be changed to describe the current behavior (processing in function zen_build_html_email_from_template in /includes/functions/functions_email.php) or the function should be changed to provide the behavior described in the FAQ.

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

    Default Re: zen_mail doesn't use default template

    Acknowledged.

    Will dig into why the code that's supposed to use the main default isn't doing what it's supposed to do.
    .

    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.

  3. #3
    Join Date
    Jan 2004
    Posts
    66,364
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: [Done v1.6.0] zen_mail doesn't use default template

    .

    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. how to use zen_mail 's attachments ?
    By greenlight in forum General Questions
    Replies: 0
    Last Post: 13 May 2009, 11:40 AM
  2. Replies: 0
    Last Post: 27 Nov 2008, 06:36 PM
  3. Replies: 2
    Last Post: 27 May 2006, 02:21 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