diff --git a/plugins/woocommerce-admin/client/customize-store/index.tsx b/plugins/woocommerce-admin/client/customize-store/index.tsx index a1d1a4eb2a7b..33a3a2c1093e 100644 --- a/plugins/woocommerce-admin/client/customize-store/index.tsx +++ b/plugins/woocommerce-admin/client/customize-store/index.tsx @@ -83,9 +83,15 @@ const redirectToWooHome = () => { }; const redirectToThemes = ( _context: customizeStoreStateMachineContext ) => { - window.location.href = - _context?.intro?.themeData?._links?.browse_all?.href ?? - getAdminLink( 'themes.php' ); + if ( isWooExpress() ) { + window.location.href = + _context?.intro?.themeData?._links?.browse_all?.href ?? + getAdminLink( 'themes.php' ); + } else { + window.location.href = getAdminLink( + 'admin.php?page=wc-admin&tab=themes&path=%2Fextensions' + ); + } }; const markTaskComplete = async () => { diff --git a/plugins/woocommerce/changelog/45288-45284-cys-on-core-ensure-the-user-is-directed-to-the-in-app-marketplace-whenever-clicking-on-browse-all-themes b/plugins/woocommerce/changelog/45288-45284-cys-on-core-ensure-the-user-is-directed-to-the-in-app-marketplace-whenever-clicking-on-browse-all-themes new file mode 100644 index 000000000000..b140e047126c --- /dev/null +++ b/plugins/woocommerce/changelog/45288-45284-cys-on-core-ensure-the-user-is-directed-to-the-in-app-marketplace-whenever-clicking-on-browse-all-themes @@ -0,0 +1,4 @@ +Significance: minor +Type: update + +Ensure the user is directed to the in-app marketplace whenever clicking on 'Browse all themes' within the Customize Your Store flow. \ No newline at end of file