Support » Plugin: WooCommerce » How to add custom fields and extra info to the New Order emails

  • Resolved ashkanahmadi



    We are using the payment system Redsys and when a payment is done, a few custom fields are added to the order page like this:

    I would like the highlighted fields to be included in the New Order emails as well. How can I do that? Can you please help me with the code?

    Thank you very much


Viewing 4 replies - 1 through 4 (of 4 total)
  • The email templates of Woocommerce can be found in this directory
    The template you need to customize is “customer-completet-order.php”

    Thank you braehler. I know very little coding so I’m not sure what code I need to add to make it work. Can you please let me know? I’d highly appreciate that. Thanks

    Plugin Support Rynald0s


    Automattic Happiness Engineer

    Hi @ashkanahmadi!

    There’s some documentation around that here:

    You’ll need to replace the example meta with the meta key values you’re seeing there, which I assume would be:

    authorisation_code and payment_date


    Plugin Support Three Sons


    Hi there,

    It’s been a while since we last heard from you so I’m marking this topic as resolved. If you have any questions, please open up a new topic.


Viewing 4 replies - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.