0

After updating core to 8.7, the input fields for shipping and billing information are now hidden and Edit buttons are in their place. This has allowed users to checkout without entering shipping and billing information. How can I show the required fields by default and get rid of the Edit button?

2

It looks like you have Commerce AutoSKU installed. The authors of the module modify one of Drupal's validation constraints which checks if fields are empty or not. This causes the addressbook form element to break, which what you're seeing, on top of other problems.

The issue is reported here, https://www.drupal.org/project/commerce_autosku/issues/3086828

The solution is to either uninstall the commerce_autosku module or apply the patch in comment #3: https://www.drupal.org/files/issues/2019-10-18/3086828-3.patch

  • 1
    What a wonderfully prompt and accurate answer, the issue is resolved. Thank you so much! – 460des Dec 5 '19 at 18:49
  • @460des can you accept the answer (it helps show the question is resolved.) I also believe the patch should be merged soon and a release should be coming. – Matt Glaman Dec 8 '19 at 1:18
  • Oops. This was my first question and I didn't realize about accepting. Tnx! – 460des Dec 11 '19 at 15:07

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.