Results 1 to 6 of 6
  1. #1
    Join Date
    Jun 2008
    Posts
    187
    Plugin Contributions
    0

    Default Recover Cart Sales Custom HTML Email

    Hello,
    how do i set up these emails to send from the custom html email folder?

    having looked at the code it looks like a lot of its hard coded rather than in a template.

    any help greatly received.

    thanks
    Andy.

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

    Default Re: Recover Cart Sales Custom HTML Email

    What do you mean by "custom html email folder"? Zen Cart doesn't have template-specific overrides for that folder yet.
    .

    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
    Jun 2008
    Posts
    187
    Plugin Contributions
    0

    Default Re: Recover Cart Sales Custom HTML Email

    Hi Doc,

    when i say custom i mean the html emails folder that zen-cart uses as templates.

    e.g. /email/email_template_checkout.html

    it seems that the html email for Recover cart is hard coded into the the recover cart file it would appear.

    regards

    Andy.

  4. #4
    Join Date
    Jun 2008
    Posts
    187
    Plugin Contributions
    0

    Default Re: Recover Cart Sales Custom HTML Email

    For all of those like me looking for an email that is only used for Recover Cart will be out of luck.

    It uses the following 3 files to compile the HTML email:

    1) store/email/email_template_default.html <= email template

    2) store/admin/includes/languages/[the language your using]/recover_cart_sales.php <= email language file

    3) store/admin/recover_cart_sales.php <= content layout of email

    if your wanting to change the core layout of email e.g. all the actual 'content' of this email you'll need to battle your way through 3).

    hope this helps someone else.

    regards
    Andy.

  5. #5
    Join Date
    Oct 2009
    Posts
    89
    Plugin Contributions
    0

    Default Re: Recover Cart Sales Custom HTML Email

    I have worked around the "recover_cart_sales.php" and still can't get a line break after the subject line before the "Dear". Is there any way anyone can help with that.

    Thanks,

  6. #6
    Join Date
    Jun 2008
    Posts
    187
    Plugin Contributions
    0

    Default Re: Recover Cart Sales Custom HTML Email

    Hi Jorsara,

    well i think you should look in:
    3) store/admin/recover_cart_sales.php <= content layout of email

    then look for:

    PHP Code:
    $email .= EMAIL_TEXT_SALUTATION $basket->fields['fname'] . ","

    i'm not entirely sure how heavyily modded ours was before i got hold of this file but if yours is similar to the top try something like:

    PHP Code:
    $email .= EMAIL_TEXT_SALUTATION $basket->fields['fname'] . ",<br /><br />"
    this may fix your issue, let me know as i'm no pro :)

    regards
    Andy.

 

 

Similar Threads

  1. v151 recover cart sales su zc 151
    By favjola in forum Customization from the Admin
    Replies: 13
    Last Post: 15 Feb 2016, 07:13 PM
  2. Recover Cart Sales How to set sent from email?
    By marcopolo in forum All Other Contributions/Addons
    Replies: 0
    Last Post: 4 Dec 2015, 01:36 AM
  3. Recover Cart Sales
    By kevinc66 in forum All Other Contributions/Addons
    Replies: 1
    Last Post: 21 Aug 2008, 12:46 AM
  4. Recover Cart Sales
    By silvito in forum General Questions
    Replies: 3
    Last Post: 19 Apr 2007, 03:16 PM

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