This plugin will migrate tracking information from the AfterShip plguin for WooCommerce into the Advanced Shipment tracking plugin meta fields.
Once installed, navigate to WooCommerce > Migrate from Aftership to AST and you'll be able to choose the number of days to go back in orders and run the migration and click "Migrate".
To install:
- Download the latest version of the plugin here
- Go to Plugins > Add New > Upload administration screen on your WordPress site
- Select the ZIP file you just downloaded
- Click Install Now
- Click Activate
You can use this code snippet in functions.php to map the shipping provider names in case the shipping provider name on AfterShip does not match the name of the provider on the AST shipping providers list.
function mfata_tracking_provider( $provider ) {
//Provider name on AfterShip
if ( 'usps-webhook' == $provider ) {
//Provider name on AST
return 'usps';
}
//Provider name on AfterShip
if ( 'usps-api' == $provider ) {
//Provider name on AST
return 'usps';
}
return $provider;
}
add_filter( 'mfata_tracking_provider', 'mfata_tracking_provider' );