1

I am trying to add the company name of customer to the shipping address. I tried overriding the template in the "Magento_Checkout" module under

design/frontend/../../Magento_Checkout/view/frontend/web/template/billing-address/details.html

Also tried

design/frontend/../../Magento_Checkout/view/frontend/web/template/shipping-information/address-renderer/default.html

But neither of them seem to work.

Is there any other way of overriding this template in Magento 2.3? -

1 Answer 1

2

You can override this file

vendor/magento/module-checkout/view/frontend/web/template/shipping-information/address-renderer/default.html

here in your custom theme..

app/design/frontend/Vendor/Theme/Magento_Checkout/web/template/shipping-information/address-renderer/default.html

And, You can override below file

vendor/magento/module-checkout/view/frontend/web/template/billing-address/details.html

here in your custom theme..

app/design/frontend/Vendor/Theme/Magento_Checkout/web/template/billing-address/details.html

Then you can add company name there and then you need to run below commands

php bin/magento setup:upgrade
php bin/magento cache:clean
php bin/magento cache:flush

Hope this will help you!

2
  • Let me know if this will helpful to you. Commented Nov 6, 2019 at 13:36
  • 1
    It worked, thanks for the help! Commented Nov 6, 2019 at 14:41

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.