Answer the question
In order to leave comments, you need to log in
How to implement a purchase for unregistered users?
Hi people!
I am making an online store, customers said that it is necessary to make it so that unregistered users can buy goods without any problems and all this would be reflected in the database.
It is interesting to hear your ideas on what is needed for this and how best to do it :)
Answer the question
In order to leave comments, you need to log in
If you are satisfied with this option:
(three fields)
1. Pickup / Courier
2. Phone number
2. Buyer's name
The operator will contact the client and in the process of communication specifies the data. Puts an order in a queue.
Well, as an option, automatically identify the user - if there is no cookie, set it and write the user id ..
then if the user registers, then you associate this user id with the account, so you can find out his old history .. but no, well, let it swell .. something like this. ..
well, you can stupidly ID = 0 this is not a registered user .. but you never know what cuts will need to be made later ...
well, make a basket not for a system user, but for some random GUID user-id, to which soap / mobile / delivery address will be nailed. well, or again create a new user, suddenly it will come
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question