As given in this link, I have given the following code in the Snippets
add_filter( ‘woocommerce_product_add_to_cart_text’, ‘bbloomer_change_select_options_button_text’, 9999, 2 );
function bbloomer_change_select_options_button_text( $label, $product ) {
if ( $product->is_type( ‘variable’ ) ) {
return ‘View Product’;
}
return $label;
}
But there is no change for the select option button of variable products in the shop page, now also it is displaying as select option button
screenshot : https://snipboard.io/XCEeK0.jpg
Thank You