2016-11-23 10 views
0

私は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> 

enter image description here

そして

<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タグの間の部分を削除し、代わりに、行全体をコメントの

<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

enter image description here

RST

答えて

0
は、完全な価格のhtmlコードとPHPコードを削除します。
+0

@Pravin、上記のような完全なコードを削除するとどうなりますか? –

+0

Thnaks ..私の問題は、次の行のrowspan属性のために解決されました。 – Pravin

関連する問題