如何自定义woocommerce产品订单电子邮件表格?
问题描述:
我是woocommerce的初学者,我已经从电子邮件模板中删除了数量列,其值为/themes/mytheme/woocommerce/emails/email-order-details.php &/themes/mytheme/woocommerce/emails/email-order如下面的代码如何自定义woocommerce产品订单电子邮件表格?
<th class="td" scope="col" style="text-align:left;"><?php _e('Product', 'woocommerce'); ?></th>
<!--<th class="td" scope="col" style="text-align:left;"><?php _e('Quantity', 'woocommerce'); ?></th>-->
<th></th>
<th class="td" scope="col" style="text-align:left;"><?php _e('Price', 'woocommerce'); ?></th>
并经过
<tr>
<th class="td" scope="col" style="text-align:left;"><?php _e('Product', 'woocommerce'); ?></th>
<th class="td" scope="col" style="text-align:left;"><?php /*_e('Quantity', 'woocommerce'); */ ?></th>
<th class="td" scope="col" style="text-align:left;"><?php _e('Price', 'woocommerce'); ?></th>
</tr>
通过-items.php 简评看起来像
答
删除齐全价格优惠的HTML代码和PHP代码:
<th class="td" scope="col" style="text-align:left;"><?php _e('Product', 'woocommerce'); ?></th>
<th class="td" scope="col" style="text-align:left;"><?php _e('Price', 'woocommerce'); ?></th>
+0
@Pravin,如果你删除完整的代码,如上所示? –
+0
Thnaks ..我的问题已经解决,这是由于下一行的rowspan属性。 – Pravin
相反评论全线,只是删除PHP标签之间的部分。 – RST