Help with shopping cart

Bubble uses cookies to track users and if the user is not a registered user they will keep those cookies for up to 3 days. This means any data that the user creates in your database, the built in ‘created by’ field will reference that user. However, keep in mind this will look empty in your app data since the user is not registered and there is not an email address for them. BUT, in the event that they register for your app within those 3 days, Bubble will automatically adjust all the data they created to be linked to their User data type.

So, for your situation, you would create a shopping cart as normal for any other user. You need to ensure you have the database structure for that.

You should have data type of products, datatype of order and data type of line items. Line items is the product related, the number of quantity and the related Order. The order has a list of the line items.

If you are interested in getting a shopping cart setup properly, both from the database structure, workflows and the UI elements, I’d be happy to assist you with the task. I believe we’d be able to cover all the nitty gritty details in an hour session and have time for you to ask any clarifying questions so you’d be ready to implement.

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

1 Like