1_Add the free plugin called Code Snippet
2_Insert the code below
Enjoy!
// Code Start
// To change add to cart text on single product page
add_filter( ‘woocommerce_product_single_add_to_cart_text’, ‘woocommerce_custom_single_add_to_cart_text’ );
function woocommerce_custom_single_add_to_cart_text() {
return __( ‘Buy Now’, ‘woocommerce’ ); // Replace “By Now” text with your own text
}
// To change add to cart text on product archives(Collection) page
add_filter( ‘woocommerce_product_add_to_cart_text’, ‘woocommerce_custom_product_add_to_cart_text’ );
function woocommerce_custom_product_add_to_cart_text() {
return __( ‘Buy Now’, ‘woocommerce’ ); // Replace “By Now” text with your own text
}
// Code End
Then go to :
Extension>Cart All In One For WooCommerce>setup>Add To Cart Button>Add to Cart button label
save
and it’s done