When you setup your database you will create a data type that you might label as ‘merchant’ and then when you create a page in your application you might label the page as ‘merchant’…when creating that page, you can set the page content type to the ‘merchant’ data type you created in the database.
When using the slug feature, which is a built in data field on all data-types, but you have to manually setup the process to create the slug value, the slug will be in the URL and when the user has a slug value of say ‘merchant-123’ the url would read like
All the elements you place onto the page can use the dynamic expression ‘current page merchant’ to access the data fields you have on the merchant data type (name, address etc).
What you would do is when the user creates an account as a merchant you create the ‘merchant’ data type entry for them, and automatically there will be the ability to have a link to the page ‘merchant’ with that merchants data fields.
When using the go to page action you can use the send data feature to pass the correct ‘merchant’ data type to the page.
You do need to pass any merchant-specific data to the page via url parameters, because Bubble will automatically pass the slug value as a path to the URL.
Boston85719 is an expert Bubbler with a decade experience as an educator. Real name Matthew, he has been actively building SaaS apps, marketplace apps, scheduling apps and more for clients, himself and for sale as templates.
As an official Bubble Bootcamp Instructor, he leads Bubble Bootcamps on a regular basis.
Always willing to offer advice via the Bubble Forum, Matthew also offers Private Personal and Group Training Sessions.
Through his site, NoCodeTrainer, Matthew provides a range of tutorials with editor access to help you jumpstart your Bubble development.
Always accessible you can send Matthew a private message via the forum or send an email directly with your requests.
Be sure to checkout the Stripe Integration Course when you are ready to integrate Stripe payments to start monetizing your application via product sales or subscriptions.