- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Edit PHTML template in Magento2
I would like to edit Checkout Page. I need the location of the HTML Template of Checkout Page.
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: Edit PHTML template in Magento2
By default most of the content is coming from Knockout js in magento 2.
Main entry point of checkout page phtml file is,
vendor/magento/module-checkout/view/frontend/templates/onepage.phtml
But its doen't contain all logic of checkout page, Its just initialization of Magento 2 Knockout templates,
You can got it from
/vendor/magento/module-checkout/view/frontend/web/template and /vendor/magento/module-checkout/view/frontend/web/js
Hope you will helpful.
Magento 2 Blogs/Tutorial
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: Edit PHTML template in Magento2
Thanks @Rakesh Jesadiya for your reply. Actually I am looking for the HTML of the below Form to Edit the Form.
But I am not getting any HTML at the location you mentioned.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: Edit PHTML template in Magento2
Above all of the field is coming from Magento_Ui module.
Just go to folder at below path,
vendor/magento/module-ui/view/frontend/web/templates/form/element
All textfield is coming from input.html file, Dropdown field is coming from select.html file.
Above all the field is coming dynamically so one input.html file is responsible for all textfield of shipping and billing form.
Magento 2 Blogs/Tutorial