Forum Academy Marketplace Showcase Pricing Features

How do I link my order items to my order?

Hi everyone!

First time building my app on bubble. It is pretty simple, I have a list of items, the user adds these items to an order. I want to show the order items as line items, and then have these roll up to the actual order using an order number.

My data tytpes are:

image

image

In my workflow I have:

image

image

The order number shows up in my Orders data type like so:

image

But in my order items data type, I want to show the order number, but it is blank:

image

How can this be achieved? Have I connected my data types correctly?