- Edit your post to add the result of the following SQL query to get records that contain 'Your ':
- Run the following SQL query and add the result to your original question to let me know your total translation records at this time:
- For point 4 in the previous answer: "Which environment (local/dev(test)/staging/production) you are doing this task in?" I mean which environment you are working on, it can be local/dev(test)/staging site or production (live) site? Looks like you are doing this task on your production site, isn't it?
- Run the following command from your Magento root directory and put the result in your original question:
grep -r "Your First Name" app vendor - For the translation field labels in the delivery address and billing address, they use the same field, so you can'tcan't use the translation feature to change these labels. The solution for that is changing field labels. I'll write that solution soon.
I will post the solution for your need (different label for the delivery address and billing address) soon, maybe some hours later.
You need to changeYour requirements is changing the delivery address field labels and, the billing address field labels and they should be different labels (ie, the shipping field city label should different from the billing field city label). But
Because these field labels use the same text so you can't use the translation feature. To achieve your need, you should changing shipping and billing address field labels. Please take the following steps:
StepStep 1:
** Case 1: For Magento version >= 2.4.4 which do not have Amazon_Payment module:**
Check if your theme has app/design/frontend/<Vendor>/<theme>/Magento_Checkout/web/template/form/element/email.html file or not. If it does not exist, create a new one by copy the file vendor/magento/module-checkout/view/frontend/web/template/form/element/email.html to app/design/frontend/<Vendor>/<theme>/Magento_Checkout/web/template/form/element/email.html
Step 2:Case 2: For Magento version < 2.4.4 which have Amazon_Payment as build-in module or Magento version >= 2.4.4 installing Amazon_Payment as 3rd-party module:
Check if your theme has app/design/frontend/<Vendor>/<theme>/Amazon_Payment/web/template/form/element/email.html file or not.
If it does not exist, create a new one by copy the file vendor/amzn/amazon-pay-module/view/frontend/web/template/form/element/email.html to app/design/frontend/<Vendor>/<theme>/Amazon_Payment/web/template/form/element/email.html
Step 2. Open the file email.html mentioned in the above step to replace Email Address with Your Email Address.
Done
Done.
You need to create a new custom module for that. Assume you named the vendor name Vendor, and the module name Checkout (You can change the vendor name and module name). Take the following steps:
Create app/design/frontend/Smartwave/porto_child/en_US/Amazon_Payment/web/template/form/element
app/design/frontend/Smartwave/porto_child/Amazon_Payment/web/template/form/elementfolder.Copy
vendor/amzn/amazon-pay-module/view/frontend/web/template/form/element/email.htmltoapp/design/frontend/Smartwave/porto_child/en_US/Amazon_Payment/web/template/form/element/email.html.Open the file
email.htmlmentioned in the above step to replaceEmail AddresswithYour Email Address.Re-deploy static content for frontend. To do that, run the following commands: