All templates you want to override are in
\vendor\magento\module-checkout\view\frontend\web\template
.
EDIT:
To find .html
template and .js
component: first you need to find the .html
template, which is pretty easy. You inspect element, and you search in above folder for this elements. When you have the name of the template you go to checkout_index_index.xml
file, which define whole layout for checkout page.
For example:
You inspect 'Order summary' and you realized that this element has class name opc-block-summary
, so you search for this class in above folder. Div with this class is in web/template/summary.html
. When you have name of this template you can search for it in checkout_index_index.xml
. Template file is specify by
<item name="template" xsi:type="string">Magento_Checkout/summary</item>
, notice that there is no .html
. And you also skip web/template
. So Magento_Checkout/summary
means module-checkout /view/frontend/web/template/summary.html
.
Summarizing :
<item name="template" xsi:type="string">Magento_Checkout/summary</item>
tells You about template file, and
<item name="component" xsi:type="string">Magento_Checkout/js/view/summary</item>
tells You about Js file.
You have to notice, that M2 uses knockout JS to render elements on checkout.