Docly Child

Add custom order statuses for Delivery automation

Overview

In TrackShip for WooCommerce, when the shipment status is marked as Delivered, the corresponding order status is automatically updated. By default, the order status can be set to Completed, Updated-Tracking, or Shipped based on your store’s workflow.

If you’ve implemented custom order statuses and want to automate the process when a shipment is marked as delivered, you’ll need to modify your store’s functionality. Below is a simple code snippet to help you achieve delivery automation for your custom order statuses.

You can add custom order statuses to trigger the Delivered status by adding the following code snippet to your theme’s functions.php file or by using a plugin like Code Snippets.

Code Snippet for Delivery Automation:

Please note: Incorrect editing of the functions.php file can cause your WordPress site to crash, leading to potential downtime and data loss.

If you’re uncomfortable modifying the functions.php file directly, consider using a dedicated code snippets plugin, or seek assistance from a professional developer.

Download Now

CONTENTS