Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Changing Labels and Button Text #152

Open
Endracion opened this issue Oct 30, 2023 · 2 comments
Open

Changing Labels and Button Text #152

Endracion opened this issue Oct 30, 2023 · 2 comments
Labels

Comments

@Endracion
Copy link

Hello, nifty little plugin you have here!

I was wondering how to go about changing the text on the labels and buttons.
I tried adding code to the functions.php file to change what checkout fields are, and under my account, but it doesn't seem to be able to change the labels of this plugin.

I don't believe the functionality is there, which is fine, but is there a file that can be edited that would achieve the same result? I'll just use it as an override if so.

Thanks!

@matt-h
Copy link
Member

matt-h commented Nov 7, 2023

If you are just looking to change the wording on things, all text in the plugin in Translatable so you can use the Loco Translate plugin to provide a translation to whatever text you would like.

If you want more changes to the My Account Address Book section you can copy the my-address-book.php file to your theme at yourtheme/woocommerce/myaccount/my-address-book.php and make whatever changes you would like to that.

If either of those don't meet your needs, let us know what specifically you are looking to change and we can see what can be done to make that easier.

@matt-h matt-h added the question label Nov 7, 2023
@Endracion
Copy link
Author

Endracion commented Nov 9, 2023

It's really just to change the text to just say Shipping Address everywhere - I used the combine billing and shipping option of Woocommerce, but it makes everything default to billing, so I want to either remove the word billing or rename everything to shipping. In your plugin, that meant enabling Billing Address Book only since it's the one that actually shows up, and thus, it shows Billing everywhere as well right now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants