Add placeholder to all input in checkout

Add placeholder to all input in checkout


Today I will help you add a placeholder for all inputs in the checkout.

To do so you only need to do a few steps as follows.

I will start with the luma theme.



Step 1: 

Copy the file by following path 



Step 2:

-Go to the directory :vendor/magento/theme-frontend-luma.

-Create the corresponding folders and paste the file you copied above into it as shown in the picture.


Step 3 : 

Change placeholder: placeholder =>  placeholder: label  .



In addition to the steps above, you can also do the following.

    Copy the file above and paste it directly into:




To make sure everything works well, be sure to run the following commands.

+ : php bin/magento setup:static-content:deploy -f 

+ : php bn/magento cache:flush



Expect results.