A few weeks ago I ran into a situation where a client wanted different text instead of the standard “Add to Cart” or “Add to Bag” in WooCommerce. Here is the code to add to functions.php to change the text:
add_filter( 'woocommerce_product_single_add_to_cart_text', 'woo_custom_cart_button_text' );
function woo_custom_cart_button_text() {
return __( 'My Button Text', 'woocommerce' );
}