Commerce 2: customizing checkout form

I need to fill Billing Info form with data that the user has filled in another page of my commerce site. I’ve made a hook_form_alter with the following weird code (with the help of kint): function HOOK_form_alter(&$form, $form_state, $form_id) { switch ($form_id) { case ‘commerce_checkout_flow_multistep_default’: $form[“payment_information”][“add_payment_method”][“billing_information”][“address”][“widget”][0][“address”][“#default_value”][“given_name”]=”NAME”; $form[“payment_information”][“add_payment_method”][“billing_information”][“address”][“widget”][0][“address”][“#default_value”][“country_code”]=”IT”; It works with name but it does not…

Update Symfony components

There are many posts and articles that make vague references to upgrading Symfony 3 to Symfony 4 in Drupal 8. But nothing specific. For example this one by Ryan Weaver “Symfony 4 and Drupal” I’ve installed a fresh copy of Drupal 8.8.1 and updated with composer update drupal/core –with-dependencies Then, I ran composer outdated “symfony/*”…

Update Symfony components

There are many posts and articles that make vague references to upgrading Symfony 3 to Symfony 4 in Drupal 8. But nothing specific. For example this one by Ryan Weaver “Symfony 4 and Drupal” I’ve installed a fresh copy of Drupal 8.8.1 and updated with composer update drupal/core –with-dependencies Then, I ran composer outdated “symfony/*”…

Update Symfony components

There are many posts and articles that make vague references to upgrading Symfony 3 to Symfony 4 in Drupal 8. But nothing specific. For example this one by Ryan Weaver “Symfony 4 and Drupal” I’ve installed a fresh copy of Drupal 8.8.1 and updated with composer update drupal/core –with-dependencies Then, I ran composer outdated “symfony/*”…