Hi everyone, has anyone had any experience with creating an app where a user (customer) sends a request to a user category (merchant) that falls within a set radius?
Does Adalo allow this?
Thanks in advance
Mirco
Hi everyone, has anyone had any experience with creating an app where a user (customer) sends a request to a user category (merchant) that falls within a set radius?
Does Adalo allow this?
Thanks in advance
Mirco
Welcome to Adalo!
What I think you are looking to do is possible with Adalo. It basically boils down to two topics:
I’ve done a similar thing for a client where job seekers can message companies advertising jobs within a certain distance- so it all can work! Good luck!
Hi! Thanks for you promt reply!
So first I basically have to divide the users into Client and Merchant as in the picture?
Then how do I set that the only way of communication via chat is between Client and Merchant and not between those of the same type?
Thanks in advance!
Well I wouldn’t divide users between client and merchant as you have done- after all a client could also be a merchant and vice versa. Instead I’d have a separate collection for merchant (shops) which have users “managing” them. So instead of your merchant flag, I’d have a relationship “manages” with a many-to-many relationship to your shops collection. That way you can have a user managing several shops and a shop can have several managers.
When a user declares they are (also) managing a shop, they fill out the details (logo, name etc), and address and that creates a location for the shop that’s independent of the manager. After all your manager may be moving around, but your shop isn’t. Also your manager is also a regular user and may also buy from other shops so their location must be independent from the shop(s) they manage.
So your chat is now between a user and shop_within_radius>managers>all.
I’d then add a flag for “off duty” but then I like to get fancy
Hello, and thanks again for the information and advice. We have set it up this way as a matter of simplicity, for what we have in mind, the users who will have access on the consumer side will only be able to send messages to the shops and not to each other, the same goes for the shops will not be able to communicate with each other, but only with the users who have sent the request
As far as the distance filter is concerned, is it possible to insert a filter indicating walking or cycling distance? what would be the google api to use?
Thanks in advance
This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.