• Resolved pressiwordi

    (@pressiwordi)


    Hi guys
    I use Kadence Theme and the “Kadence email designer” plugin for the design of the email.
    My problem is that the all orders are handled the same regardless of the shipping type.
    I would like to trigger two different emails after I receive an order.
    If I receive an order on with the shipping type “local pickup” I want it to trigger a specific email for the customer and me. If I receive an order with all other shipping types, I want to use the default email triggers.
    Where can I add a filter or an if statement to change this?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support Stuart Duff – a11n

    (@stuartduff)

    Automattic Happiness Engineer

    Hi @pressiwordi,

    The easiest approach to send out custom emails based on the shipping method which was selected during checkout would be an extension called AutomateWoo. This configuration below would send an email to anyone who purchased an order and selected the Local Pickup Shipping method.

    Image Link: https://cloudup.com/cHud2lpCffn

    Thread Starter pressiwordi

    (@pressiwordi)

    I am aware that I can go and hire somebody if I can’t figure something out, I rather would like to understand and be able to do it myself. I guess I have to modify the woocommerce_thankyou hook with an if statement to point to different emails based on the shipping method. That’s as far as I came now. Can someone tell me how to differentiate between the shipping methods.

    • This reply was modified 4 years, 8 months ago by pressiwordi.
    Plugin Support Stuart Duff – a11n

    (@stuartduff)

    Automattic Happiness Engineer

    Hey @pressiwordi,

    Whilst I’m not a developer who could directly assist with modifying hooks I’ll leave this forum topic open to see if someone from the community can offer any guidance for you.

    Hi @pressiwordi

    This thread has been inactive for a while, so I’m going to mark this as resolved – if you have any further questions, you can start a new thread.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Email trigger based on shipping method’ is closed to new replies.