• Resolved johanlinder

    (@johanlinder)


    Hi.

    I need to add this code from Trustpilot to the order-processing template.

    do_action( 'add_trustpilot_invitation', $order, $sent_to_admin, $plain_text, $email );

    How do I best edit your templates?

    Rgds / Johan

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support michael-levelup

    (@michaeltarongoy)

    Hi Johan,

    We can assist you on that.

    We don’t recommend editing the template files directly. If you want to modify an existing template, you need to go through the child theme route.

    So for example, if you want to override the email template for order processing, you would need to replicate the file from /wp-content/plugins/woocommerce/templates/emails/customer-processing-order.php

    Copy and paste that on a “new folder” on your child theme. Rename the “new folder” into the name of the plugin you copied it from. In this case, it should be something like /wp-content/themes/your_child_theme/woocommerce/customer-processing-order.php

    Let us know how we could help you further.

    Kind Regards,
    Michael Taro

    Plugin Support michael-levelup

    (@michaeltarongoy)

    Hi Johan,

    We just want to follow-up if you managed to resolve this already.

    This topic has been inactive for almost a month.

    I will close this topic and if you have further questions or need additional assistance, feel free to start a new topic or refer to our Kadence Help Center here: https://www.kadencewp.com/help-center

    Please note that you can also submit a support ticket via these channels.

    Thank you for your understanding!
     
    Kind Regards,
    Michael Taro

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