Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter caesarnay

    (@caesarnay)

    I think I found it. it’s in woocommerce>include>abstracts>abstract-wc-order.php file.

    In email_order_items_table function,
    ‘show_download_links’ => $this->is_download_permitted() && ! $args[‘sent_to_admin’],

    But instead of modifying the code there, possible to overwrite it in theme>functions.php file?

    Thread Starter caesarnay

    (@caesarnay)

    Thanks guys. When I looked at woocommerce>template>email>admin-new-order.php and customer-completed-order.php the codes look the same.
    template file

    Here is the customer received email
    customer completed order email

    Here is the admin received email
    admin new order emai

    Sorry, I’m new to wordpress templating and I don’t know which file is responsible for outputting that download link line. Or is it in woocommerce>include>emails>class-wc-email-customer-completed-order.php and class-wc-email-new-order.php files?

Viewing 2 replies - 1 through 2 (of 2 total)