• Resolved tomtom9898

    (@tomtom9898)


    I added the shipstation custom code to display on line 2 to pull package 1 data so that when the order is printed on the packing slip, the package for fed ex for example shows what box the packer needs and how much the orders weight is. Here is the code for the functions/php:

    // Add this code to your theme functions.php file or a custom plugin
    add_filter( 'woocommerce_shipstation_export_custom_field_2', 'shipstation_custom_field_2' );
    
    function shipstation_custom_field_2() {
    	return 'Package 1'; // Replace this with the key of your custom field
    }
    
    // This is for custom field 3
    add_filter( 'woocommerce_shipstation_export_custom_field_3', 'shipstation_custom_field_3' );
    
    function shipstation_custom_field_3() {
    	return 'Package 2'; // Replace this with the key of your custom field
    }

    But is not pulling the data from what I can see, anyone have something for me to try?

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘ShipStation and Dimensions’ is closed to new replies.