Answer the question
In order to leave comments, you need to log in
Can an unregistered user place an order in sale.order.ajax?
What settings are needed specifically for an unregistered user? unauthorized works fine.
Answer the question
In order to leave comments, you need to log in
//скрытно регить на этапе оформления
$random = randString(10, array(
"ABCDEFGHIJKLNMOPQRSTUVWXYZ"
));
$mailusers = $random.'@test.com';
global $USER; $arResult = $USER->Register($random, $random, "", $random, $random, $mailusers);
ShowMessage($arResult);
$USER->Authorize($USER->GetID());
//на странице завершения заказа в конце
$USER->Logout();
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question