Php Woocommerce HTML电子邮件模板添加产品图像
我需要添加产品图像到我的html电子邮件模板,这是由我自定义构建 我无法找到任何钩子,将产品图像添加到我的html电子邮件模板与下面的共享代码 如果你能帮忙,我将不胜感激Php Woocommerce HTML电子邮件模板添加产品图像,php,html,wordpress,woocommerce,Php,Html,Wordpress,Woocommerce,我需要添加产品图像到我的html电子邮件模板,这是由我自定义构建 我无法找到任何钩子,将产品图像添加到我的html电子邮件模板与下面的共享代码 如果你能帮忙,我将不胜感激 <table style="width: 70%" > <tr> <th style="font-weight: normal; width: 24%" > <p style="margin-left: 30px;">Produkt Artikel :</p> <
<table style="width: 70%" >
<tr>
<th style="font-weight: normal; width: 24%" >
<p style="margin-left: 30px;">Produkt Artikel :</p>
</th>
<th style="width: 150%; height: 25px;font-weight: normal; text-align: left;" >
<div class="inputt" class="inputt" style="background-color: #e9ecef; padding: 7px; margin-left: 15px;border-radius: 0.55rem; height: 30px;" >
<?php echo $product_name; ?>
</div>
</th>
</tr>
</table>
<table style="width: 70%">
<tr>
<th style="font-weight: normal; width: 22%" >
<p style="margin-left: 30px;">Produktdetail :</p>
</th>
<th style="width: 150%; height: 25px;font-weight: normal; text-align: left;" >
<div class="inputt" style="background-color: #e9ecef; padding: 7px; margin-left: 15px;border-radius: 0.55rem; width: 50%;">
<?php wc_display_item_meta($item, array('label_before' =>esc_attr( $text_align), ) ); ?>
</div>
</th>
</tr>
</table>
<table style="width: 70%" >
<tr>
<th style="font-weight: normal; width: 22%" >
<p style="margin-left: 30px;">Vorname : </p>
</th>
<th style="width: 30%; height: 25px;font-weight: normal; text-align: left;" >
<div class="inputt" class="inputt" style="background-color: #e9ecef; padding: 7px; margin-left: 15px;border-radius: 0.55rem; height: 30px;" >
<?php echo wp_kses_post( wptexturize( $order->get_billing_first_name() ) ); ?>
</div>
</th>
<th style="font-weight: normal; width: 22%" >
<p style="margin-left: 30px;">Nachname :</p>
</th>
<th style="width: 150%; height: 25px;font-weight: normal; text-align: left;" >
<div class="inputt" class="inputt" style="background-color: #e9ecef; padding: 7px; margin-left: 15px;border-radius: 0.55rem; height: 30px;" >
<?php echo wp_kses_post( wptexturize( $order->get_billing_last_name() ) ); ?>
</div>
</th>
</tr>
</table>
Produkt Artikel:
Produktdetail:
Vorname:
Nachname:
您可以发布一些代码来获取更多问题的参考资料和详细信息吗?您到底想要哪封电子邮件?新订单邮件。