For styling reasons I need to move street.0 and street.1 out of their fieldset. I use street.0 for streetname and street.2 as a house number field.
I want to change the sortorder to have Zipcode, House number (which is street.1 in my case), streetname (street.0), city.
Similar to this screenshot:
I know it should probably be done in the layoutProcessor but i'm not exactly sure how.
I tried to following:
$shippingFields = $jsLayout['components']['checkout']['children']['steps']['children']['shipping-step']['children']['shippingAddress']['children']['shipping-address-fieldset'];
$jsLayout['components']['checkout']['children']['steps']['children']['shipping-step']['children']['shippingAddress']['children']['shipping-address-fieldset']['children']['street'] = $shippingFields;
Which results in an error:
VM92087:4 Uncaught SyntaxError: Unexpected token } in JSON at position 92