• Resolved globalimageusa

    (@globalimageusa)


    Hi Support,

    We have been using Shipstation for a while with Opencart but now created a new WooCommerce store. We have an issue where ShipStation updates the order in WooCOmmerce as Shipped when the label is created BUT doesn’t transfer over the meta data for tracking number, carrier and shipped date. We use Advanced Shipment Tracking for WooCommerce to insert the tracking information on the My Account page and in Emails.

    We have added the code recommeneded by Advanced Shipment Tracking for WooCommerce developers however no meta data is being transferred and recieved this reply back from them:

    Hi, we gave an example of the code to change since the ShipStation plugin developer ((WooCommerce) is not willing to add compatibility in their plugin, I would suggest contacting the ShipStation plugin developer and ask to add compatibility.

    How do you recommend we get this work?

    Cheers

    The page I need help with: [log in to see the link]

Viewing 7 replies - 16 through 22 (of 22 total)
  • @mikestraw
    Ok, will you at least consider changing the order of actions and provide the add tracking integrations hook before you complete the order?

    Plugin Support Mike Straw

    (@mikestraw)

    @globalimageusa ,

    The only interim fix that might work is to directly modify the ShipStation code in class-wc-shipstation-api-shipnotify.php, either with @zorem ‘s code, or by moving this code block:

    		// Trigger action for other integrations.
    		do_action( 'woocommerce_shipstation_shipnotify', $order, array(
    			'tracking_number' => $tracking_number,
    			'carrier' => $carrier,
    			'ship_date' => $timestamp,
    			'xml' => $shipstation_xml,
    		) );
    

    Above this code block:

    		// Update order status.
    		if ( $order_shipped ) {
    			$order->update_status( WC_ShipStation_Integration::$shipped_status );
    
    			/* translators: 1) order ID 2) shipment status */
    			$this->log( sprintf( __( 'Updated order %1$s to status %2$s', 'woocommerce-shipstation' ), $order_id, WC_ShipStation_Integration::$shipped_status ) );
    		}
    

    If you’re comfortable making that change, that should correct this.

    Thread Starter globalimageusa

    (@globalimageusa)

    HI @mikestraw.

    I did try @zorem code previously and it still didn’t work.
    So I will try moving the code as per your instructions.

    Cheers

    @globalimageusa contact us from the support chat on zorem.com and we will help you set it up.

    Thread Starter globalimageusa

    (@globalimageusa)

    Hi @mikestraw & @zorem,

    I fixed the compatibilty myself by:
    1. Change the order suggested by Mike
    2. Add the code posted by Zrem
    3. Remove the function to add the note to the WooCommerce Order.

    All of these 3 changes need to be implemented for AST (Advanced Shipment Tracking) to work seemlessly with Woocommerce Shipstation Integration plugin.

    Cheers.

    Thread Starter globalimageusa

    (@globalimageusa)

    Hi @mikestraw & @zorem

    I have discovered something strange.
    We have 2 stores:

    One in Seattle using USPS, UPS & DHL and one in Australia using Australia Post & Sendle.

    Both stores have the same modification to the shipstation notify php file but the USA store adds the tracking information to the order and the Australia store does not.

    How is that explained?

    Cheers
    Mark

    Plugin Support Mike Straw

    (@mikestraw)

    Hi @globalimageusa ,

    It looks like you’re working on this with @zorem on their support forum.

    Since this is unique to AST, I’m going to go ahead and mark this thread as resolved. Once the fix to the WooCommerce ShipStation Gateway is made, this customization shouldn’t be required anymore. I can’t provide an estimate at this time for when it will be fixed, but once it is, you’ll be able to see it listed on the changelog.

Viewing 7 replies - 16 through 22 (of 22 total)
  • The topic ‘Compatibility With Advanced Shipment Tracking for WooCommerce’ is closed to new replies.