Support » Plugin: Advanced Shipment Tracking for WooCommerce » Trigger “delivered” email when updating order status programmatically

  • Resolved ssoulless

    (@ssoulless)


    I’m changing the order status programmatically to delivered I have enabled from admin settings the delivered email template. I thought the email would be sent even if I update the order status to delivered using the default woocommerce function $order->update_status although it updates the status correctly the delivered email template is not sent to the customer. What am I missing here?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author zorem

    (@zorem)

    Hi, it’s a Custom order status, it works the same as and other status in WC.
    Thanks.

    ssoulless

    (@ssoulless)

    Okay but how to trigger the delivered email? Im updating the order status this way:

    $order->update_status('delivered')

    However the order delivered email is not sent, and I have it enabled from the plugin settings…

    Plugin Author zorem

    (@zorem)

    Hi, you need help with custom development, you will have to advice with a developer to customize AST or you can use TrackShip to automate the orders flow and automatically set order to Delivered status when they are delivered to your customers.

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.