Hi @shaunkuschel,
Thank you for the quick reply. The Shipping Department has just decided to purchase the labels through your nice plugin.
In the Edit Orders, each item has data for the ship date, tracking number and shipper (custom code). I see in the code, “_wc_shipment_tracking_items” where the tracking_items is saved. The variable that this plugin saves to that field has the data that we need except the date the label was purchased.
I think that we can use the date that the order status changed and capture that action with “woocommerce_order_status_changed”. The date that the order status was changed can be used as the shipping date under certain circumstances.
This relies on the **order status changing** whenever a label is purchased.
The problem is I see where the labels are purchased, “After purchasing a label, mark this order as complete and notify the customer”.
QUESTION 1: What happens if that box is not checked?
If the order status doesn’t change, can you suggest how we can capture the addition of the meta for the tracking_item other than running a cron looking for the tracking_items meta addition (that can get cumbersome on the database to check numerous orders)?
QUESTION 2: How do you recommend “Partial Shipments” be handled?
Thank you for your thoughts on this. We look forward to successfully shipping with your plugin!