• Resolved zackeryfretty

    (@zackeryfretty)


    I’m trying to remove this section from the WooCommerce “Processing Order” email template – but – can’t seem to find an easy way to do it:

    View post on imgur.com

    Does anyone have insight on a quick/easy way to remove that line on the emails?

    Thank you so much!

Viewing 3 replies - 1 through 3 (of 3 total)
  • This is located in the thankyou.php
    You need to remove the lines 44-52 and then upload the template to the following directory
    yourtheme/woocommerce/checkout/thankyou.php

    Please make sure to test this on a staging enviroment first

    I think braehler’s suggestion works, but for the checkout process. For the email, it’s line 36 of templates/emails/email-order-details.php and line 25 of templates/emails/plain/email-order-details.php. You’d do the same thing on those, putting your customized version in the matching directory path within your child theme.

    Thread Starter zackeryfretty

    (@zackeryfretty)

    I had already modified the thankyou.php endpoint template, so, that was good to go. I was just looking in the “customer-processing-order.php” template for this specific modification (acting on some bad information, clearly!) but switching to the “email-order-details.php” did exactly what I needed. I was able to remove that and pull in some different custom meta.

    Thank you both for the help, consider this one solved. ??

    • This reply was modified 5 years, 3 months ago by zackeryfretty.
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Remove [Order #] (Order Date) from Order Processing Email’ is closed to new replies.