No, there isn't a tag for customer comments, but I like the idea! I'll include it in my next version of the mod...but, unless I find any new bugs that could be awhile as I am very happy with how things are working right now. Here's the code you need to add to send_pos.php on line 236 right below the {po_comments} line:
Code:
$oatmeal = $db->Execute("select comments from " . TABLE_ORDERS_STATUS_HISTORY . " WHERE orders_id = '" . zen_db_input($row4[31]) . "' order by date_added");
$catmeow = nl2br(zen_db_output($oatmeal->fields['comments']));
$catmeow=strip_tags($catmeow);
$zawartosc2[$i]=str_replace("{customers_comments}",$catmeow,"$zawartosc2[$i]");
You'll want to add {customers_comments} somewhere in email_header.txt after making this change. I haven't tested this, but it should work fine. Let me know if it doesn't work and I will fix it.
By the way, there is no documentation that lists the tags, but there are many to choose from that are not in the example email. Just look around send_pos - you'll find them.
Again, you don't need support for fpdf. It is working fine if you installed my mod correctly. You can even check it -- find the last pdf file in your admin directory and you'll see that it works. The problem is with attaching to the email in 1.3.7.1, not creating the pdf file.
Bookmarks