Skip to content

Commit 50e4745

Browse files
committed
Update migration banner copy
1 parent 2c59a33 commit 50e4745

File tree

1 file changed

+20
-12
lines changed

1 file changed

+20
-12
lines changed

classes/class-wc-connect-nux.php

Lines changed: 20 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -566,19 +566,31 @@ public function show_contextual_after_connection_banner( $banner_type ) {
566566

567567
$banner_title = '';
568568
$banner_description = '';
569+
$banner_button_text = '';
570+
$banner_button_link = null;
569571

570572
switch ( $banner_type ) {
571573
case 'after_cxn_us_no_wcs_plugin':
572-
$banner_title = __( 'US Store: WooCommerce Shipping Plugin Not Active - Title', 'woocommerce-services' );
573-
$banner_description = __( 'US Store: WooCommerce Shipping Plugin Not Active - Description.', 'woocommerce-services' );
574+
$banner_title = __( 'WooCommerce Shipping & Tax has been renamed to WooCommerce Tax', 'woocommerce-services' );
575+
$banner_description = __( 'Your tax functionality will continue to work as expected. The shipping functionality in this plugin will be discontinued on September 1, 2025. Please migrate to the new WooCommerce Shipping extension to get discounted labels for UPS, USPS, DHL Express— and more coming soon!', 'woocommerce-services' );
576+
$banner_button_text = __( 'Try WooCommerce Shipping ', 'woocommerce-services' );
577+
$banner_button_link = '';
574578
break;
575579
case 'after_cxn_us_with_wcs_plugin':
576-
$banner_title = __( 'US Store: WooCommerce Shipping Plugin Active - Title', 'woocommerce-services' );
577-
$banner_description = __( 'US Store: WooCommerce Shipping Plugin Active - Description.', 'woocommerce-services' );
580+
$banner_title = __( 'WooCommerce Shipping & Tax has been renamed to WooCommerce Tax', 'woocommerce-services' );
581+
$banner_description = __( 'Your tax functionality will continue to work as expected. Use WooCommerce Shipping to access deeply discounted UPS, USPS, and DHL shipping labels, reliable shipments, and on-time delivery options.', 'woocommerce-services' );
582+
$banner_button_text = __( 'Ship with UPS on WooCommerce', 'woocommerce-services' );
583+
$banner_button_link = '<pending>';
578584
break;
579585
case 'after_cxn_non_us':
580-
$banner_title = __( 'Non-US Store - Title', 'woocommerce-services' );
581-
$banner_description = __( 'Non-US Store - Description.', 'woocommerce-services' );
586+
$banner_title = __( 'WooCommerce Shipping & Tax has been renamed to WooCommerce Tax', 'woocommerce-services' );
587+
$banner_description = __( 'Your tax functionality will continue to work as expected. No action is required.', 'woocommerce-services' );
588+
$banner_button_text = __( 'Close', 'woocommerce-services' );
589+
$banner_button_link = add_query_arg(
590+
array(
591+
'wcs-nux-notice' => 'dismiss',
592+
)
593+
);
582594
break;
583595
default:
584596
// Fallback for an unknown banner type, though this shouldn't be reached with current logic.
@@ -589,12 +601,8 @@ public function show_contextual_after_connection_banner( $banner_type ) {
589601
array(
590602
'title' => $banner_title,
591603
'description' => esc_html( $banner_description ),
592-
'button_text' => __( 'Got it, thanks!', 'woocommerce-services' ),
593-
'button_link' => add_query_arg(
594-
array(
595-
'wcs-nux-notice' => 'dismiss',
596-
)
597-
),
604+
'button_text' => $banner_button_text,
605+
'button_link' => $banner_button_link,
598606
'image_url' => plugins_url(
599607
'images/wcs-notice.png',
600608
__DIR__

0 commit comments

Comments
 (0)