Edit the text in the fields for delivery address #45808
peerrott
started this conversation in
Checkout Flow
Replies: 3 comments
-
I'm not sure I understand, do you want to make the apartment field behave a like it's VAT field? this should be doable with code. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Hi Seghir
Thank you for your reply.
I just wanted to replace the predefined texts in one of the fields, but I have knowledge in coding.
Are there any plans to update Woo to make this possible?
Or are you able to guide me in how to with coding?
Best regards
Peer Rott
24 mars 2024 kl. 00:33 skrev Seghir Nadir ***@***.***>:
I'm not sure I understand, do you want to make the apartment field behave a like it's VAT field? this should be doable with code.
—
Reply to this email directly, view it on GitHub<#45808 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/BHGIKUUURL3NXYRUSMAQPTLYZYGLJAVCNFSM6AAAAABFB7VSLWVHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM4DQOBZG43TS>.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
0 replies
-
add_filter(
'woocommerce_get_country_locale_base',
function ( $fields ) {
$fields['address_2']['label'] = __( 'VAT number', 'domain' );
return $fields;
},
10,
1
); |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
It would be a big advantage to be able to edit the texts in the different fields within delivery adress. In my case I would like to rename Appartment,suite.. to VAT number.
Perhaps is it the pipeline?
Beta Was this translation helpful? Give feedback.
All reactions