2

I want to customize the shipping form, but I don't know how to find that form, I tried but I did not find it!

Comment BY USER

I only want how can i edit this page, i want edit the shipping form. Add a field like number phone or delete the company field... I didnt tried nothing

My shipping form

  • 1
    Oriol, please don't post a single line comment. Please put what you have tried so far? – Amit Bera Sep 13 '18 at 9:16
  • I only want how can i edit this page, i want edit the shipping form. Add a field like number phone or delete the company field... I didnt tried nothing – Oriol Sep 13 '18 at 9:22
0

This template is called in :

vendor/magento/module-checkout/view/frontend/templates/onepage.phtml

<!-- ko template: getTemplate() --><!-- /ko -->

This template is binded via Knockoutjs

vendor/magento/module-checkout/view/frontend/web/template/shipping-address/form.html

vendor/magento/module-checkout/view/frontend/web/template/shipping.html

Now if you want to add some div or classes, you can added them but you have to copy first that files in your current theme, not in the path's noted above !

If you Want to add some custom field (I guess), you have to follow Magento DevDocs procedure

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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