I need to add two different fields to the Magento checkout page. For that, I created one of the attributes using the admin panel [Stores -> Attributes - > Customer Address Attributes].

In this case, added attribute display in the checkout page. But I need to add a placeholder to it.

I tried to add a placeholder by using LayoutProcessor.php. but it was not a success.

or is there any way to added two text fields. anyone can provide me with the solution?

enter image description here

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.