Forum Academy Marketplace Showcase Pricing Features

Auto create a new page base on new merchant sign up

Hi All,
I am working on this platform easy-q.co (A online queuing system). I am exploring on a new feature whereby whenever a new merchant sign ups, a page linked to the merchant profile will be auto created.

Is this possible? This page will be unique to that merchant profile. So anyone (without the need to log in) can browse their profile.

Hope to get some direction and advice on this~ thanks!

Maybe I am misunderstanding the question, but can’t you just create the page and pass the merchant-specific data to the page via url parameters? So whenever a new merchant profile is created, other users can see the merchant profile page (linked from a directory page or some other mechanism, not sure about your requirements).

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

www.yourapp.com/merchant/merchant-123

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.

Learn More

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.

Stripe Integration Course

NoCodeTrainer.com

Yes, that is a better method for this use case!

thanks!! got it~

1 Like