Hello,
Please add the following code to the functions.php file located in your child theme:
// Change "Add to Cart" button text on the single product page
add_filter( 'woocommerce_product_single_add_to_cart_text', 'custom_cart_button_text' );
// Change "Add to Cart" button text on product archive pages
add_filter( 'woocommerce_product_add_to_cart_text', 'custom_cart_button_text' );
function custom_cart_button_text() {
return __( 'Add to Bag', 'woocommerce' );
}
We hope this helps.
Best regards,
8Theme Team















