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