In Magento 2, on the `registration.HTML file, I have enabled the address fields.
But when I try to create or register a new customer, it shows "We can't save the customer".
Can anyone tell me where I am lacking?
It will be very helpful for me.
customercustomer-addressmagento2
In Magento 2, on the `registration.HTML file, I have enabled the address fields.
But when I try to create or register a new customer, it shows "We can't save the customer".
Can anyone tell me where I am lacking?
It will be very helpful for me.
Best Answer
You most probably have an error somewhere.
In order to find out what the problem is you can add this code.
Instead of the line
in
Magento\Customer\Controller\Account\CreatePost::execute()
.This should give you the exception message on the screen and you will have a place to start.