WooCommerce, Remote Work & Other Fancy Stuff

Just another WordPress site

Translate the WooCommerce Subscriptions “Sign Up Now” Button Text

June 15, 2016 by Will Leave a Comment

Because WooCommerce Subscriptions provides a way to easily customize the “Add to Cart/Sign Up Now”  button text via the admin dashboard it is impractical and unfeasible to translate that button text on the front end of your shop. WooCommerce provides a filter named woocommerce_product_add_to_cart_text which can be used to translate this text, however. Below is an example:

 

Not sure what to do with code snippets? See What Do I Do With These Code Snippets?

Filed Under: WooCommerce, WooCommerce Subscriptions Tagged With: snippet

Leave a Reply Cancel reply

You must be registered and logged in to post a comment.

© 2023 · WooCommerce, Remote Work & Other Fancy Stuff · Epstein didn't kill himself