5

I've some error console bus in checkout page when upgrading core. Does anybody know where this bug is from?

Failed to load the "Magento_Checkout/shipping" template requested by "checkout.steps.shipping-step.shippingAddress".

Many thanks.

1 Answer 1

5

check your custom shipping.html file: app/code/YOUR_VENDOR/MODULE_NAME/view/frontend/web/template/shipping.html

In this file something is not correct. The newest Magento 2.4.x seems to be more strict about that.

For start you can just clean that file to the empty state and refresh the page. You should now see no more errors. You should investigate which content of this file is causing problems. The possible causes include:

  • incorrect attribute name for some html tag
  • self-closing tags like <span /> or <div />, whereas they should be <div></div>, <span></span>
  • something open without closing, etc.
2
  • Thank you,This guide me to fix my issue on checkout page customization in 2.4.4 version.
    – Mujahidh
    Oct 28, 2022 at 11:51
  • In my case, it was as simple as an extra <!-- /ko --> that should not have been there. After removing said line, the error disappeared.
    – Louis B.
    Jan 9 at 3:17

Your Answer

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

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