I need to change magento 2 checkout field order and rename existing input field labels in default shipping address form.
How can I change field order in checkout page?
I've tried from editing
checkout_index_index.xml but have no luck. I need to change order fields like Name company, Street address, City. Have no luck with
checkout_index_index.xml and also I couldn't find some fields like zip code, city fields in xml file.
Is there any way for me to change the order and rename fields?
checkout_index_index.xml file is pasted below. Can someone help me?
I've renamed the corresponding labels using inline translation. (uing csv files per locale). I've put en_US.csv and en_GB.csv files with following content and following locations.
app/design/<custom_vendor_name>/<custom_theme-Name>/Magento_Checkout/i18n/en_US.csv app/design/<custom_vendor_name>/<custom_theme-Name>/Magento_Theme//i18n/en_US.csv app/design/<custom_vendor_name>/<custom_theme-Name>/i18n/en_US.csv
State/Province,County "Zip/Postal Code","Post Code" "State/Province","County" Zip/Postal Code,Post Code