Hi
I am building a shopping cart app for my small business and I am designing it such that users dont have to necessarily log in to place an order.
Will that work?
Thanks
Hi @Moayad,
Technically that’s possible but complicated.
Adalo doesn’t allow you having any local storage, and you have somehow to link your shopping cart to a particular person who is doing the shopping. Otherwise how will you find the correct cart?
You can try avoid using Users collection at all, but this approach will require some “hacks” to connect the particular app instance to a shopping cart.
Another approach could be creating a “pseudo-user” - the record in Users collection which is created automatically, without asking a user to enter their real email. Then you can convert it to a “real user” account later on. This approach has been discussed in the forum, you can search with the keyword “anonymous users” or “pseudo users”, there are several quite useful threads.
Best,
Victor.
Hi Victor!
Thank you very much for your reply.
I am new to adalo but the idea I have in mind is that the user will add items to the cart and will then be prompted to enter their name & address etc and upon pressing “Ok” an order will be created and saved in the “Orders” collection and I can then retreive the order details from there.
The way I set it up is that the user will hit “Enter” on the welcome screen and will be directed to the catalogue screen where he can create order items and add them to the basket. He will then enter his personal details and an order will be created capturing all relevant details.
At the moment it works fine in the preview but I am not sure if it will work in real life?! In particular, I am not sure if the app will handle each user separately and not mix orders together even though I tried to set up relashionships properly
This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.