• fcueva08

    (@fcueva08)


    I want to customize order emails content. According to woocommerce i need to do this in Woocommerce > Settings > Emails > Manage

    Here i have the option to Copy file to theme. The file copies in
    theme-child/woocommerce/emails/admin-new-order.php

    But woocommerce does not send the customized email template that i have in my child theme.

    Also in View Template option i can edit template code apparently, but when i Save Changes appears Could not write to template file.

    How can i solve this?

    • This topic was modified 5 years ago by fcueva08.
    • This topic was modified 5 years ago by fcueva08.
    • This topic was modified 5 years ago by fcueva08.
Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support AW a11n

    (@slash1andy)

    Automattic Happiness Engineer

    Hey there!

    Copying the template and editing it using a code editor in the theme folder would be the way to do this, yes.

    You cannot edit the template using the “View Template” button there, that is not editable.

    You say it’s not sending the custom templates, how did you customize them?

    Thread Starter fcueva08

    (@fcueva08)

    I’m just changing some plain text to test the custom template.

    I’ve tested some possible solutions that i’ve found:

    • Setting Template debug mode as FALSE
    • Change file permissions

    But same result.

    • This reply was modified 5 years ago by fcueva08.
    Plugin Support AW a11n

    (@slash1andy)

    Automattic Happiness Engineer

    How are you making these changes? What tools are you using to make them?

    Thread Starter fcueva08

    (@fcueva08)

    To change template content in admin-new-order.php just a code editor(Visual Studio Code).

    Setting Template debug mode as FALSE i changed it via wp-config.php file with the following code: define( 'WC_TEMPLATE_DEBUG_MODE', false ); .

    Change file permissions via FTP.

    • This reply was modified 5 years ago by fcueva08.
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Email Override does not work’ is closed to new replies.