出厂的Prestashop邮件模板不显示订单ID

时间:2018-08-31 07:06:53

标签: email templates prestashop

大家好,我对prestashop电子邮件模板有疑问。

将订单设置为类似于发送给快递公司时,该电子邮件为shipped.html,但不希望显示order_id。

哪里有问题?

当我使用order_name时,它可以工作。

themes / theme_name / mails / sk / shipped.html中的代码

<td style="padding: 7px 0;">
<p style="border-bottom: 1px solid #D6D4D4; margin: 3px 0 7px; text-transform: uppercase; font-weight: 500; font-size: 18px; padding-bottom: 10px;" data-html-only="1">objedn&aacute;vka {order_id} - BUDE ZAJTRA odovzdan&aacute; kuri&eacute;rovi na doručenie&nbsp;.</p>
<p><span style="color: #555454; font-family: Open-sans,sans-serif; font-size: small;"><span style="color: #777;">Va&scaron;a objendn&aacute;vka ID:<span style="color: #333;"><strong>{order_id}</strong></span> bola zabalen&aacute;&nbsp;a bude nasleduj&uacute;ci deň odovzdan&aacute; kuri&eacute;rovi na doručenie.</span></span></p>
<p><strong><span style="color: #555454; font-family: Open-sans,sans-serif; font-size: small;"><span style="color: #777;">Va&scaron;a objedn&aacute;vka bude doručen&aacute; prostredn&iacute;ctvom spoločnosti GEIS do 48 hod&iacute;n od prijatia tohto emailu.</span></span></strong></p>
<p><span style="color: #555454; font-family: Open-sans,sans-serif; font-size: small;"><span style="color: #777;">V pr&iacute;pade, že ste si zvolili platbu v hotovosti, pros&iacute;m, nachystajte si potrebn&uacute; hotovosť.</span></span></p>
<p><em><strong><span style="color: #777777; font-family: Open-sans, sans-serif; font-size: small;">Ďakujeme za objedn&aacute;vku v e-shope www.odevypracovne.sk</span></strong></em></p>
<p></p>
</td>

1 个答案:

答案 0 :(得分:0)

解决,错误代码,用id_order替换order_id,一切正常