Viewing 9 replies - 1 through 9 (of 9 total)
  • @smilyanp – I’m looking for the very thing. I used to have a bookmark for it. I’ll follow your thread, and post back when I have a solution.

    Howdy @smilyanp

    It looks like Skyverge has a good tutorial on their site:
    https://www.skyverge.com/blog/how-to-add-a-custom-woocommerce-email/

    The tutorial linked above sends a custom email based on the type of shipping selected. For your use case, you would simply change the query

    // bail if shipping method is not expedited
        if ( ! in_array( $this->object->get_shipping_method(), array( 'Three Day Shipping', 'Next Day Shipping' ) ) )
            return;

    to reference email_order_items_table and in your array, add the slug for your product category.

    That should do the trick, but I won’t be trying to implement this for a few more days. Let me know if this was helpful or not.

    GL

    Thread Starter smilyanp

    (@smilyanp)

    Hi @nebulatechnologies,

    Thank you for the quick replies. I have found a plugin available for WooCommerce called Follow Up Emails: https://www.woothemes.com/products/follow-up-emails/

    This plugin lets me set an email, once a product is purchased and time when it should be sent. This is sufficient for what I needed and is quicker than coding it. I hope this might help your needs as well.

    All the best and thanks again!
    Smilyan

    @nebulatechnologies

    So if the product slug was ‘owls’ then the correction would be? I don’t think I have it right?

    // bail if shipping method is not expedited
        if ( ! in_array( email_order_items_table(), array( 'owls' ) ) )
            return;

    I am using WC Follow up emails and having a hard time linking an email to a specific product. It is a free class and if i use subscriptions it has a renewal, which I do not have for this class. The subscription set up is nice because it gives me the option of assigning a product but the other options do not.

    How can I attach an email to my specific class/product?

    Thank you in advance! Jillian

    Or how can I use the subscription but turn off renewals?

    Never mind, I found what I was looking for under Storewide emails.

    Lohith M

    (@lohith-m)

    Is there anyway to set the from email address to based on location. Suppose i have [email protected] and [email protected]. If a customer from the place orders the product from zzz place for him the send address should be [email protected] and if a customer place an order from the xxx place for him from address should be [email protected]. Is there any way to do this.

    Plugin Contributor Mike Jolley

    (@mikejolley)

    Lohith M not out of the box. Custom solution needed.

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘WooCommerce – Custom emails per product’ is closed to new replies.