Hi everyone! I need some help with the structure of my data type for the web app. I try to build a marketplace and I want some advise for the data.
this i want to do:
3 types of user (buyer/seller/admin) - buyer by default. I will have 2 different sign up forms for this 2 types of user
if you choose to be a buyer, u will be a buyer with that email.
for location: i don t need to use geolocation, i want the seller/buyer select the location from a dropdown or autocomplete input
For each user assign them a role as seller or buyer,
Then on different inputs like geo field have a condition that if the current user role is buyer display will be true etc
Instead of creating different pages for sellers and buyers, I would include some type of switch on the signup page that the user can choose from.
To handle the different user type options, I would create an option set with the values Admin, Buyer, and Seller.
For the location, you can use a searchbox element with Geolocation. This will provide the autocomplete as the user types, but keep in mind you need to set up the Google Maps API for this.
I’ve launched a community (https://nocodebuffs.com) if you’d like to join and connect with people also working on their Bubble apps. Cheers!