문제

How can I add labels to the address fields. Example: Field 1: Field 2: Field 3: enter image description here

도움이 되었습니까?

해결책

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.

enter image description here

Thanks Amit

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 magento.stackexchange
scroll top