How to modify magento 2 submission form?
-
14-04-2021 - |
Solution
Address fields already have label on checkout page but it sets hide in css by default.
So you just need to put below css in your theme's css file.
.field.street .field .label { display :block !important }
For the quick change of label text, you should use language csv file to convert text as below
"Street Address: Line 2","Line 2"
Here, i have shared screenshot that i have done for my client.
Thanks Amit
Licensed under: CC-BY-SA with attribution
Not affiliated with magento.stackexchange