I am trying to add custom headers to the checkout process to break the forms up into sensible sections.
I have already modified checkout_index_index.xml
to alter the sort order of my form. It now looks like this
<?xml version="1.0"?>
<body>
<referenceBlock name="checkout.root">
<arguments>
<argument name="jsLayout" xsi:type="array">
<item name="components" xsi:type="array">
<item name="checkout" xsi:type="array">
<item name="children" xsi:type="array">
<item name="steps" xsi:type="array">
<item name="children" xsi:type="array">
<item name="shipping-step" xsi:type="array">
<item name="children" xsi:type="array">
<item name="shippingAddress" xsi:type="array">
<item name="children" xsi:type="array">
<item name="shipping-address-fieldset" xsi:type="array">
<item name="children" xsi:type="array">
<item name="telephone" xsi:type="array">
<item name="sortOrder" xsi:type="string">40</item>
</item>
<item name="company" xsi:type="array">
<item name="sortOrder" xsi:type="string">45</item>
</item>
</item>
</item>
</item>
</item>
</item>
</item>
</item>
</item>
</item>
</item>
</item>
</argument>
</arguments>
</referenceBlock>
</body>
How do you go about adding headers in to break the form up in the following way
In the attached image I have converted the labels to placeholders within the fields.