S
S
Sergey2014-11-18 11:42:55
PHP
Sergey, 2014-11-18 11:42:55

How can I make it possible to order from a guest if the e-mail is already registered without disabling auto-registration?

When the "buyer auto-registration" option is enabled in Bitrix, and when a person, NOT logging in to the site, tries to place an order,
but at the same time enters the e-mail with which he previously registered on the site,
then Bitrix tries to register him again, and an error appears: "User registration failed. User with this e-mail already exists."
It is necessary that in this case it does not try to register a person, but gives him the opportunity to place an order as a guest. Or to issue an offer to log in without disabling auto-registration (it is needed).
What are the solutions to this problem?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander, 2014-11-18
Madzhugin @Suntechnic

The order as a guest is performed with automatic registration. Those. the buyer actually registers, which is why the email is asked. Those. There is only one option - to offer to log in. By the way, this is how it should be. Try switching to the built-in component template. Maybe something was twisted in it. Well, if not, then you need to intercept the submit and check the email, and if there is an email, offer to log in.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question