diff --git a/includes/admin/class-wc-admin-setup-wizard.php b/includes/admin/class-wc-admin-setup-wizard.php index 918145889b8..17044f7fc06 100644 --- a/includes/admin/class-wc-admin-setup-wizard.php +++ b/includes/admin/class-wc-admin-setup-wizard.php @@ -467,56 +467,6 @@ class WC_Admin_Setup_Wizard { exit; } - /** - * Tout WooCommerce Services for North American stores. - */ - protected function wc_setup_wcs_tout() { - $base_location = wc_get_base_location(); - - if ( false === $base_location['country'] ) { - $base_location = WC_Geolocation::geolocate_ip(); - } - - if ( ! in_array( $base_location['country'], array( 'US', 'CA' ), true ) ) { - return; - } - - $default_content = array( - 'title' => __( 'Enable WooCommerce Shipping (recommended)', 'woocommerce' ), - 'description' => __( 'Print labels and get discounted USPS shipping rates, right from your WooCommerce dashboard. Powered by WooCommerce Services.', 'woocommerce' ), - ); - - switch ( $base_location['country'] ) { - case 'CA': - $local_content = array( - 'title' => __( 'Enable WooCommerce Shipping (recommended)', 'woocommerce' ), - 'description' => __( 'Display live rates from Canada Post at checkout to make shipping a breeze. Powered by WooCommerce Services.', 'woocommerce' ), - ); - break; - default: - $local_content = array(); - } - - $content = wp_parse_args( $local_content, $default_content ); - ?> - - array( 'name' => __( 'Live Rates', 'woocommerce' ), - 'description' => __( 'Shipping rates updated in realtime. Powered by Jetpack.', 'woocommerce' ), + 'description' => __( 'WooCommerce Services and Jetpack will be installed and activated for you.', 'woocommerce' ), ), 'flat_rate' => array( 'name' => __( 'Flat Rate', 'woocommerce' ), @@ -770,7 +720,7 @@ class WC_Admin_Setup_Wizard { } elseif ( $wcs_carrier ) { $intro_text = sprintf( /* translators: %1$s: country name including the 'the' prefix, %2$s: shipping carrier name */ - __( "You're all set up to ship anywhere in %1\$s, and outside of it. We recommend using live rates to get accurate %2\$s shipping prices to cover the cost of order fulfillment.", 'woocommerce' ), + __( "You're all set up to ship anywhere in %1\$s, and outside of it. We recommend using live rates (which are powered by our WooCommerce Services plugin and Jetpack) to get accurate %2\$s shipping prices to cover the cost of order fulfillment.", 'woocommerce' ), $prefixed_country_name, $wcs_carrier ); @@ -784,7 +734,7 @@ class WC_Admin_Setup_Wizard { ?>

-

+