sbodak/magento2-checkout-custom-form

Form Fields showing above checkout Fields like first name and last name

myselfgaurav opened this issue · 2 comments

I have installed module , but other information form fields shows above customer form fileds like first name , last name and so on.

How can i show this below customer fields

You can check available default placements in:
/vendor/magento/module-checkout/view/frontend/layout/checkout_index_index.xml

You can see there that before-form is name of item.

<item name="shippingAddress" xsi:type="array">
	...
   
	<item name="children" xsi:type="array">
		<item name="customer-email" xsi:type="array">
			...
		</item>
		<item name="before-form" xsi:type="array">
		   ...
		</item>
		<item name="before-fields" xsi:type="array">
		   ...
		</item>
		<item name="address-list" xsi:type="array">
			...
		</item>
		<item name="address-list-additional-addresses" xsi:type="array">
		  ...
		</item>
		<item name="before-shipping-method-form" xsi:type="array">
		  ...
		</item>
		<item name="shipping-address-fieldset" xsi:type="array">
			...
		</item>
	</item>
</item>

You can change a place of custom form using a correct node name.