Skip to content

Admin Order - Email is Now Required - Magento 2.2.6 #22251

Closed
@trucatchtraps

Description

@trucatchtraps

Important information after discussion with Product Departmen

This issue has been discussed with Magento Product Manager(PO).

Changes from b1eece2 were made by the Core team intentionally.
It was based on several reports and escalations/complaints from different clients through Magento Support channel.
The main idea was that specific of their businesses did not allow to accept any auto-generated email addresses in the case when field is empty(previous behavior).

Please see for more details: #22648 (comment)

But after a couple of additional meetings with PO was found compromise and solution how it can be fixed/implemented to be approved. Details and requirements here: #22648 (comment)

Preconditions (*)

  1. Magento 2.2.6 and newer

Steps to reproduce (*)

  1. Sales -> Orders
  2. Create New Order
  3. Create New Customer
  4. Select Store View or if Single-Store Mode it brings you to the Order Information Page
  5. Email field is now required

Expected result (*)

  1. Email field is NOT required (like versions prior to 2.2.6)

Actual result (*)

  1. Email field is required

Additional Information (*)

The email field has never been required prior to 2.2.6 even going back to Magento1. Now the email field is required when placing an order on the backend of Magento. There is absolutely no documentation about this change or at least I have not found any. I will revert it with a custom module myself if someone points me to the code that makes it a required field. This needs to be a Config option to have the email required or not required. This is causing us major issues because now we have to try and make up random email address for customers. Not all the people in this world have an email address and some just prefer not to give it out. This is a bug not a feature. Please do not tell me this is normal function of Magento when it hasn't been since the beginning of Magento.

Screenshots (*)

Magento 2.2.4
IxikJ

Magento 2.2.6
iWVci

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions