• ?Currently, I have plugin set to normal checkout. Products that are purchasable, I defer transactional emails for 45 seconds so I can add product meta from a third party before emails are sent.

    We need to be able to do this with quotes as well. Can you add ability to defer transactional emails with WooCommerce built in feature?

    It appears that WC_Email_RFQ is not based on WC_Emails class so it does not inherit its methods.

    Also, we are using WooCommerce Custom Product Addons to add options to quotes, but this info is not being saved to quotes or sent in emails. Normal checkout works fine.

    Any help would be greatly appreciated.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Neah Plugins

    (@gplsaver)

    the class that sends the email to the customer is located in

    /plugins/woo-rfq-for-woocommerce/includes/classes/emails/class-wc-email-customer-rfq.php

    class WC_Email_Customer_RFQ extends WC_Email

    it should inherit the method, but I will test it myself and let you know.

    I have to check on the third party plugin.

    Plugin Author Neah Plugins

    (@gplsaver)

    are you using WooCommerce notifications plugin to dely the email?

    Thread Starter blurredj

    (@blurredj)

    N0, I am using:

    https://www.damiencarbery.com/2020/04/defer-woocommerce-emails-for-a-few-minutes/

    This works great for all woocommerce emails, but not with the quote request. I added the following code to my theme functions to test and it will work, but the problem is, it sends the quote emails 2 times.. normal (right after order is placed) and deferred (time set in the above plugin):

    if ( apply_filters( ‘woocommerce_defer_transactional_emails’, false ) ) {

    function new_woocommerce_email_actions( $actions ){

    $actions[] = ‘woocommerce_order_status_gplsquote-req’;

    return $actions;

    }

    add_filter( ‘woocommerce_email_actions’, ‘new_woocommerce_email_actions’ );

    }

    Plugin Author Neah Plugins

    (@gplsaver)

    OK. We don’t have access to this plugin. There is probably a filter somewhere in that plugin that collects that the emails that it monitors. If you want, you can contact us at [email protected] to continue support.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Need to defer Quote transactional email and Quote meta data isnt being saved’ is closed to new replies.