October 2025

Customizing the address fields on Drupal Commerce checkouts

I ran into a problem recently where, on the checkout form, a Drupal 10 site running Commerce wanted to have the addresses always put the customer's name before the company name.

After digging into it I first opened a support request for the Addressing library from Commerce Guys / Centarro. After a little more digging I worked out a pull request that changed the address formats for all countries to have the customer's name before the organization.

Tags: 

Error starting ddev with custom dockerfile

Ran into a problem this morning where starting a ddev project resulted in this error:

2.677 Preparing to unpack .../libmcrypt-dev_2.5.8-7_amd64.deb ...
2.681 Unpacking libmcrypt-dev (2.5.8-7) ...
2.718 E: Sub-process /usr/bin/dpkg received a segmentation fault.
------
', stderr='Dockerfile:37

I searched for this error but only found a few results, one of the results suggested rebooting.

Tags: