• Resolved mindykatzen

    (@mindykatzen)


    This is not in production yet. I see a place to print a demo label and do not want to charge the credit card for this next step.

    QUESTION: Can you show me exactly what the Order Notes have entered as a message when a label is purchased?

    We need that to capture the info and put it into a custom code where each item has shipping data such as date, tracking number, etc.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Shaun Kuschel a11n

    (@shaunkuschel)

    Automattic Happiness Engineer

    Hey @mindykatzen – When a shipping label is purchased, nothing is currently added to the Order Notes, other than the automated note when Order Status changes to “Completed”, if that box is checked when purchasing the label.

    The tracking number(s) is currently added to the Shipment Tracking widget, rather than the Order Notes, so it sounds like you might be looking for the shipping label meta? Can you share a bit more more info about what you’re wanting to achieve?

    Thread Starter mindykatzen

    (@mindykatzen)

    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!

    Plugin Support Mahfuzur Rahman(woo-hc)

    (@mahfuzurwp)

    Hi @mindykatzen,

    If the “Mark this order as complete and notify the customer” checkbox is ticked, the order status will automatically change when the label is purchased. This is the recommended approach, as it allows you to reliably capture the shipping date using the order status change as a trigger. This method is straightforward and avoids the need for more complex solutions like custom hooks or cron jobs.

    For partial shipments, I recommend using the Advanced Shipment Tracking Pro extension. This allows you to add tracking information for multiple shipments within the same order.

    I hope this helps, let us know if you have any more questions.

    Thread Starter mindykatzen

    (@mindykatzen)

    Thank you.

    Are there any other recommended plugins for partial shipments that track the item shipping status?

    Plugin Support Zubair Zahid (woo-hc)

    (@doublezed2)

    Hello mindykatzen,

    Thank you for your reply.

    Are there any other recommended plugins for partial shipments that track the item shipping status?

    I suggest you post this question in Woo Community Slack where other WooCommerce merchants and developers might be able to help you out.

    Please don’t hesitate to contact us again if you have more questions or concerns.
    We are here to help ??

    Best regards.

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