mailbeez:
Since MailBeez V2.7 the option "Override Zencart Email Template System" seem not to work anymore: The Email content generated by MailBeez is shown inside the Zencart Email Template.
To make Zen Cart compatible with MailBeez V2.7 please perform following change:
Open
includes/functions/functions_email.php
line 101:
$email_html = (!is_array($block) && substr($block, 0, 6) == '<html>') ? $block : zen_build_html_email_from_template($module, $block);
>
> change to
>
> ```php
$email_html = (!is_array($block) && stristr($block,'<html') )? $block : zen_build_html_email_from_template($module, $block);
Background:
zencart checks if the mailcontent STARTS with a html-tag. With MailBeez V2.7 the htmlemailboilerplate template is introduced, which improves the visual presentation of the emails in different email clients. This template does not start with a html-tag.
The code change checks if the template CONTAINS a html-tag, which is a much more flexible approach.
When I change to this, this causes blank boxes instead product images and Review button. What do I do? Otherwise the mail beez email is shown inside the Zen cart email, but with all of images. Zen Crat 1.5.0, MailBeez 2.7.5