- π«π·France damien laguerre
Applied the patch on Drupal 10.3.5 + commerce 2.40 and everything works fine.
Very useful, thank you!
This is a request to revert a line that was part of this issue: #3072083
The line in question is:
commerce_order.module:330 (https://git.drupalcode.org/project/commerce/-/blob/8.x-2.x/modules/order...)
// Available countries are taken from the store.
$form['settings']['available_countries']['#access'] = FALSE;
The reasoning for the hiding of the available countries is clearly given in the comment, however, the available countries are only taken from the store for the address field used in the order form and not the field used in the customer profile (address book). While this may make the DX a little clearer for simple setups, it is a bad UX experience since the end user is allowed to create any address and is only later not allowed to use these addresses during checkout without any messaging to know why. Allowing the configuration of available countries for the address book field is needed.
2.0
Customer
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.
Applied the patch on Drupal 10.3.5 + commerce 2.40 and everything works fine.
Very useful, thank you!