Not able to link 2 databases

HI
I am new to Bubble. Trying to learn. I have 2 databases as follows:-

image

image

On the app I have a button which is Add to Cart. So once a user clicks the button I want data from Product_desc and Product_image fields in Product database to be added to Order_Product_Desc and Order_Product_image fields in Order_Detail database. I have also created the following workflow on the Add to Cart button:-
image
image
image
image

Somehow this workflow(Make changes to things) is not working. Kindly advise great bubblers.

Thanks
Vijay Zutshi

Just to clarify, these are separate data types/tables with in the same app? It would usually make sense to store the Product ID to the transaction, that way it can be referenced from the data base.

Thanks for a quick reply. Yes these are 2 separate tables in the app.

Thanks
Vijay Zutshi

So what do you mean by store the Product ID to the transaction. That means I should create a unique identifier of the selected item in the Product database. But the question still remains the same how do I read that info from Product database and add that to the order database.

Thanks
Vijay Zutshi

Just use a single field to store the Product.

1 Like

This topic was automatically closed after 70 days. New replies are no longer allowed.