Woocommerce - How to send custom emails based on payment type

前端 未结 2 1580
再見小時候
再見小時候 2021-01-05 17:26

Here is the problem. My woocommerce website has 3 different payment options -

  • Check Payment
  • Western Union
  • Cash On Delivery

I

2条回答
  •  庸人自扰
    2021-01-05 17:59

    1) At first, you should ask WP question at wordpress.stackexchange.com

    2) In general, the easier way is to send an email, where is listed ALL options (divided with paragraphs, or even links), like this:

    Hello....
    .....
    .....
    ===== Payment Methods =======
    1) Western union - follow this instruction: http://example.com/how-to-1
    2) Paid by check - follow this instruction: http://example.com/how-to-2
    3) Cash on Delivery - follow this instruction: http://example.com/how-to-3
    .....
    .....

    3) If you know a bit more,then here is listed all hooks - https://docs.woocommerce.com/wc-apidocs/hook-docs.html (search for word EMAIL) and then customize the desired hook.

提交回复
热议问题