Try this code to change it for you desired title. Add it to the functions.php of your child theme.
/**
* Change the Shop archive page title.
* @param string $title
* @return string
*/
function wc_custom_shop_archive_title( $title ) {
if ( is_shop() ) {
return str_replace( __( 'Products', 'woocommerce' ), 'My title', $title );
}
return $title;
}
add_filter( 'wp_title', 'wc_custom_shop_archive_title' );
Thanks for the other code, I tried the link you sent for page 2 without the page and it didn’t worked. Just saying that the permalinks changes can give a lot of headaches.
-Rui