我是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 簡評看起來像
相反評論全線,只是刪除PHP標籤之間的部分。 – RST