Hello,
I added new fields to checkout form by overwriting LayoutProcessor.php file.
Something like this:
$jsLayout['components']['checkout']['children']['steps']['children']['shipping-step']['children']
['shippingAddress']['children']['shipping-address-fieldset']['children']['regulation'] = [
'component' => 'Magento_Ui/js/form/element/abstract',
'config' => [
'customScope' => 'shippingAddress',
'template' => 'ui/form/field',
'elementTmpl' => 'ui/form/element/checkbox',
'options' => [],
'id' => 'regulation'
],
'dataScope' => 'shippingAddress.regulation',
'label' => '',
'provider' => 'checkoutProvider',
'visible' => true,
'validation' => [
'required-entry' => true,
],
'sortOrder' => 250,
'id' => 'regulation',
'description' => __('Regulations')
];
Field in form is properly added, but my question is where data from this fields are stored in database? In which tables?
Thanks for help in advance.