Customizing Label on Woocommerce fields
-
On the Address 2 field – you have the label “Apartment, suite, unit, etc. (optional)
https://snipboard.io/3Tzba8.jpg
How do we go about updating this text?
I have tried adding the filter in functions as per private content but this also doesnt seem to work
Hello,
You can translate/rewrite all theme and plugin texts via PO file in WordPress. Here is a video tutorial that should help you translate your website texts with a Loco Translate plugin https://www.youtube.com/watch?v=D3NsDdMzsls&list=PLMw6W4rAaOgKKv0oexGHzpWBg1imvrval&index=3
Please check the video tutorial to see how to save the translation file correctly. You can remove the plugin and translations would remain. Also, translations would remain after each theme update.
In order to rewrite Woocommerce strings, you need to create the translation in Loco > Plugins > Woocommerce.
Best Regards