Drupal Commerce: Commerce Core 2.32 released October 19, 2022

Commerce Core 2.32 is a maintenance release providing PHP 8.1 compatibility fixes, a requirements bump to Drupal 9.3, and a handful of test fixes. A dozen folks contributed code and patch review to make it happen, with maintainer Jonathan Sacksick (jsacksick) landing a variety of quality of life improvements during the course of Centarro’s development sprint at DrupalCon Prague.

One notable addition is the definition of an entity label for draft orders, which includes shopping carts, alongside an update to the label for placed orders. Orders are “placed” via a customer completing the checkout process or a store manager placing it via the order management interface, at which time they are assigned order numbers. Placed orders now have a label of “Order ###”, where ### is that assigned order number. Draft orders will use “Draft ###” or “Cart ###”, where ### is the serial numeric order ID.

Prep for the U.S. midterm elections with these online tools

Prep for the U.S. midterm elections with these online tools

Avoiding misinformation online can be tricky, especially during election season. And while the media cycle may be more low-key than it would be for a U.S. presidential election (coming up soon in 2024), this November’s midterm has not been immune to internet discord. Americans have got some big decisions to make after all, like how […]

The post Prep for the U.S. midterm elections with these online tools appeared first on The Mozilla Blog.

When life gives you lemons, write better error messages

Error messages are part of our daily lives online. Every time a server is down or we don’t have internet, or we forget to add some info in a form, we get an error message. “Something went wrong” is the classic. But what went wrong? What happened? And, most importantly, how can I fix it? I really enjoyed this article detailing a massive project at Wix to go through and rephrase every single error message to make them easier to parse and overall less… Useless. A lot of developers can learn from this article.