I am trying to add a checkbox to the checkout shipping form using plugins and it is printing the label twice, code below:
$jsLayout['components']['checkout']['children']['steps']['children']['shipping-step']['children']['shippingAddress']['children']['shipping-address-fieldset']['children']['delivery_address_different'] = [ 'component' => 'Magento_Ui/js/form/element/abstract', 'config' => [ 'customScope' => 'shippingAddress', 'template' => 'ui/form/field', 'elementTmpl' => 'ui/form/element/checkbox', 'options' => , 'id' => 'delivery-address-different' ], 'dataScope' => 'shippingAddress.delievery_address_different_check', 'label' => 'test', 'provider' => 'checkoutProvider', 'visible' => true, 'validation' => , 'sortOrder' => 130, 'id' => 'delivery-address-different' ];
Since this has been posted several days ago, I would like to know if you were able to find the solution.
Please let us know.
Thanks for checking, no I wasn't able to find any solution I'm afraid.