Select Options wording of wocomomerce product won;t suit your need. Yeah, My client also said to change it as “Add to Cart” immediately. So, this is the way or the snippet I used to make that change immediately. You can past the following code on function.php of your child theme. Else, you can use the Code Spinet plugin to make it easy.

add_filter( 'woocommerce_product_add_to_cart_text', function( $text ) {
global $product;
if ( $product->is_type( 'variable' ) ) {
$text = $product->is_purchasable() ? __( 'Custom options text', 'woocommerce' ) : __( 'Read more', 'woocommerce' );
}
return $text;
}, 10 );

Write A Comment