Home Forums WC Vendors Pro Support Intercepting tracking details entered by vendor

NOTICE: We've Moved to a Ticket System for Support

As of August 31, 2017 (12am EST) our support forums will be retired (read-only), and we will be moving to a support ticket system.  This will allow us to better organize and answer support requests, and provide a more personalized experience as we assist our customers.

For the time being, we will leave our forums open for reading and learning while we work on creating a more robust Knowledge Base for everyone to use.

If you are a WC Vendors Pro customer please open a support ticket here. 

If you are a WC Vendors user please open a support ticket on the Wordpress.org forums.

The information on this forum is outdated and in most instances no longer relevant. Please be sure to check our documentation for the most up to date information.

https://docs.wcvendors.com/

Thank you to all of our customers!

 

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #59659
    DELETE
    Participant

    Hi,

    Is there a way to intercept the package tracking data entered by a vendor on the Pro dashboard?
    I see that it’s processed by WCVendors_Pro_Order_Controller::update_shipment_tracking() and inserted as the keys _wcv_shipping_provider, _wcv_tracking_number, _wcv_date_shipped, and I would like to catch them and pass along the data to Aftership so that our customers can track their packages easily.

    Are you able to add a hook or something that I could use to do that?

    Thanks,

    Avishai

    #59880
    Jamie
    Keymaster

    Hello,

    Not at the moment but I just added an action at the end of that function that you can call in the next release.

    do_action( 'wcv_update_shipment_tracking', $$vendor_tracking_details );

    cheers,

    Jamie.

    #59919
    DELETE
    Participant

    @digitalchild Hi Jamie, that’s great — thanks for the quick reply and adding that! I’ll add a stub for now and look forward to the release.

    -Avishai

    #61574
    DELETE
    Participant

    Hey @digitalchild, thanks for adding that filter! I guess I spoke too soon — in the next release would it be possible to add additional params for vendor_id and order_id? Otherwise you can’t tell which order it belongs to 🙂

    Thanks,

    Avishai

Viewing 4 posts - 1 through 4 (of 4 total)
  • The forum ‘WC Vendors Pro Support’ is closed to new topics and replies.