• Resolved swanepoelsaskia

    (@swanepoelsaskia)


    New quote requests have not been sending to the site/shop admin. Customers receive confirmation email, but not admin. It seems that RFQ changing the order status to Quote Request was bypassing WooCommerce’s New Order email trigger. I have overridden this with a snippet but this is not a good problem to be having!

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support mirawar001

    (@mirawar001)

    Thanks for reporting. We are not able to duplicate the problem and currently don’t have another report. Have you checked in the error log if there is an error possibly. Can you share with us the snippet you used. That might give us a clue as to where the problem might be. Thank you.

    Thread Starter swanepoelsaskia

    (@swanepoelsaskia)

    Thank you for your response.

    Here is the snippet:

    add_action(‘woocommerce_order_status_gplsquote-req’, ‘send_admin_email_for_quote_requests’, 20, 2);

    function send_admin_email_for_quote_requests($order_id, $order) {

    $mailer = WC()->mailer();
    $emails = $mailer->get_emails();
    
    if (isset($emails['WC_Email_New_Order'])) {
        $emails['WC_Email_New_Order']->trigger($order_id);
    }

    }

    Plugin Support mirawar001

    (@mirawar001)

    I understand now. The way the plugin works is that when a customer requests a quote, two emails are generated.

    We are generating the second one, since the order is not paid yet and it is easier to differentiate quote request from paid new orders. Are you receiving the admin email for new quote requests?

    • This reply was modified 3 days, 12 hours ago by mirawar001.
    • This reply was modified 3 days, 12 hours ago by mirawar001.
    Plugin Support mirawar001

    (@mirawar001)

    Have not heard back. Marking resolved.

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

You must be logged in to reply to this topic.