在订单确认电子邮件中添加产品简短说明-Prestashop 1.7

在订单确认电子邮件中添加产品简短说明-Prestashop 1.7,prestashop,prestashop-1.7,Prestashop,Prestashop 1.7,我需要在订单确认电子邮件中单独显示产品简短说明 有人能帮我吗 谢谢 运行PS 1.7.5.0时,您可以使用“ActionEmailAddAfterContent”挂钩来添加/更新Prestashop中任何电子邮件的内容 钩子是在Mail.php类中定义的 对于Prestashop 1.6: Hook::exec('actionEmailAddAfterContent', array( 'template' => $template, 'template_html' =>

我需要在订单确认电子邮件中单独显示产品简短说明

有人能帮我吗

谢谢

运行PS 1.7.5.0时,您可以使用“ActionEmailAddAfterContent”挂钩来添加/更新Prestashop中任何电子邮件的内容

钩子是在Mail.php类中定义的

对于Prestashop 1.6:

Hook::exec('actionEmailAddAfterContent', array(
   'template' => $template,
   'template_html' => &$template_html,
   'template_txt' => &$template_txt,
   'id_lang' => (int)$id_lang
   ), null, true);
$template
是类似于order\u conf的模板名称

$template\u html
是模板html内容

请阅读并查看,同时提供您迄今为止尝试过的内容以及遇到的问题?要求完整的工作代码并希望有人为您编写它是不好的。