• Resolved smajorino

    (@smajorino)


    I want to create a new email template to be automatically sent via WooCommerce when the status is changed to “Payment Received”. This status would be a new status added to WooCommerce via PHP code.

    How can I link the new email template to the new status so that it automatically sends email just like all other statuses?

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Support angelagrey

    (@angelagrey)

    Hi,

    The status “Payment Received” has the same definition as the status “Processing” of WooCommerce. https://nimb.ws/I5K70V
    So I think you don’t have to create a new status for this.

    In case you want to add a new custom status, if you can make that status appear in the Email list of WooCommerce (WooCommerce settings > Email), then the Default Template will be assigned. You can check the template assigned to each status here: https://nimb.ws/yHQ1hv

    Best regards.

    Thread Starter smajorino

    (@smajorino)

    I am already using the status “Processing” so this cannot also be used for “Payment Received”.

    I managed to get the “Payment Received” status to appear in the Email list of WooCommerce –> settings –> Email exactly like your screenshots HOWEVER when I click on the edit (pencil icon) button to open the Email Template Customizer I end up with a view of “not found” and the only option I have is to Add New Template button on top… but when I try that I am unable to link a template to the WooCommerce status “Payment Received”.

    What am I missing? or what do I need to do now?

    Kind Regards.

    Plugin Support angelagrey

    (@angelagrey)

    I supposed you have no Default template yet. In this case, please create one: https://prnt.sc/jmM4thYHthhD

    The emails that are not from WooCommerce originally can’t be assigned to any template other than Default Template.

    Thread Starter smajorino

    (@smajorino)

    The template worked, thank you. However when the order status is changed to “Payment Received” the email template does not get triggered. No email going out…

    Thoughts?

    Plugin Support angelagrey

    (@angelagrey)

    For this, I would need to know if the email “Payment Received” is sent when our plugin is deactivated?
    If yes, please check if the email is sent or not with only WooCommerce, our plugin, and the plugin which created the status “Payment Received” activated.
    Thank you.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘How to send new template with WooCommerce’ is closed to new replies.