2

I want to add a new checkout step, and It checks whether the user is logged in or not. If yes, the user can skip this step and go to next step (shipment step), if not, the user needs to register in this step.

I am very new in Magento so I need your help on how to do it. I have read this

http://devdocs.magento.com/guides/v2.0/howdoi/checkout/checkout_new_step.html

but I don't know how to collect the input field and create a customer. I want this happen only when the place order is clicked and the order can link to this newly created customer.

Could anyone help me on this!!

1 Answer 1

1

I don't know if this qualifies as an answer but you can do what you are trying to do fairly easily in magento admin panel. Go in Store->Configuration->Sales->Checkout->Allow Guest Checkout and set it to no after unchecking the checkbox that disables it.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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