Search

Change add to cart button text

Please note: These snippets change all of the “Add to Cart” buttons to “My Button Text”. If you wish to have a variable setup for your buttons, this will require conditionals and custom code, making it beyond the scope of this document.

Change the add to cart text on single product pages ↑ Back to Top

Add the following to your functions.php file.

Change the add to cart text on product archives ↑ Back to Top

Add the following to your functions.php file.

Please note: If both snippets are added, please use a unique name like “woo_custom_cart_button_text_archive” as using both without the change will cause a conflict and create issues with your site.
Back to the top