How to overwrite vendor/magento/module-checkout/view/frontend/web/template/onepage.html ?

Plus, I have my own theme module.

1 Answer 1


It's easy to overwrite it.

  1. Add the new file.


  2. Copy the onepage.html content to the added file.

  3. Customize it.

  • is it possible to use requirejs-config.js ? Because I saw some developers are using. var config = { map: { '*': { 'Magento_Checkout/template/onepage.html': Own_moduley/template/onepage.html' } } } Oct 4, 2022 at 14:24

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.