WooCommerce: How to change “Add to cart” button text?

WooCommerce: How to change “Add to cart” button text?

Are you looking for a way to change the default "Add to cart" button text in WooCommerce? This code snippet will let you change the text to "Buy Now", "Add to Bag", "Book Now", or whatever custom text you like.

STEPS TO CHANGE DEFAULT ADD TO CART TEXT

  1. Open Wordpress admin panel, go to Appearance > Theme Editor 
  2. Open functions.php theme file
  3. Add the following code at the bottom of function.php file
  4. Save the changes and check your website. The custom text in add to cart button should show up now.

Try Shopify for Free

Buy Me A Coffee

CodeGear Themes
CodeGear Themes

Branding, Web Design & Development, Digital Marketing, WordPress & Shopify Development Team