0

In my checkout page,i need to rename shipping address.i used IWD free extenstion for one step checkout.here with i enclose the screenshot and link to IWD free one step checkout link.Refer(https://www.iwdagency.com/extensions)enter image description here

4 Answers 4

1

You can do it easily from backend -

1) Navigate to Stores > Configuration > Developer > Translate Inline in magento admin and set YES to Enable for Storefront.

as shown in below image -

enter image description here

2) Now go to frontend checkout page, it will be shown like this-

enter image description here

click on book icon underneath "Shipping Address" text.

3) A panel will be shown like below image, there you can change text "Shipping Address" and click Submit button and refresh the page. You will see the changed text.

enter image description here

enter image description here

4) At last set "No" to field "Enabled for Storefront".

put your comments if you get any problem.

2
  • great!!!!it's working....
    – manjula k
    Oct 5, 2018 at 10:38
  • sounds good!!! please mark this as correct answer then . Oct 5, 2018 at 10:46
1

Go to app/design/frontend/YourTheme/default/i18n/en_US.csv and add

"Shipping Address","Delivery Address"

after that run below command

php bin/magento cache:clean && php bin/magento cache:flush

OR

if you don't have custom theme then just get from here and run below command

php bin/magento setup:upgrade && php bin/magento setup:static-content:deploy -f

2
  • it's not working..i copy i18n into my custom theme..
    – manjula k
    Oct 5, 2018 at 8:06
  • Did you run php bin/magento cache:clean && php bin/magento cache:flush command? also try with run php bin/magento setup:upgrade && php bin/magento setup:static-content:deploy -f command it should work I tested it.
    – Hitesh
    Oct 5, 2018 at 9:36
1

The easiest way to change the label is by Translation.

You only need to create i18N folder in your app/code/namespace/module_name and just create one CSV file named en_US.csv write translation script in it. Do something like this:

"Shipping Address","Delivery Address"
0

Override Below template in your theme like as

app/design/frontend/vendor/themename/IWD_Opc/frontend/web/template/shipping.html

and change one line on that file

<div class="iwd_opc_universal_wrapper iwd_opc_column_name" data-bind="i18n: 'Shipping Address'"></div>

to

<div class="iwd_opc_universal_wrapper iwd_opc_column_name" data-bind="i18n: 'Delivery Address'"></div>

Or do it by translation like as below process

1.create en_US.csv or en_GB.csv as your requirement in the path app/design/frontend/vendor/theme/i18n

2.then run below command for generate translate csv

php bin/magento i18n:collect-phrases --output="/var/www/html/magento2/app/design/frontend/vendor/theme/i18n/en_GB.csv" /var/www/html/magento2/app/design/frontend/vendor/themename

3.Now write row in csv "Shipping Address","Delivery Address"

Bow run commands like as below

 php bin/magento setup:upgrade
 php bin/magento setup:static-content:deploy en_US en_GB -f
 php bin/magento cache:flush

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.