Connecting a single collection item page to WIX data

I would suggest using a repeater still. Container boxes will not scale with your object/array lengths. You would use the same logic as a repeater but you are not using $item, rather $w. You also have to map which item you need to push to the container. The .data call only works on repeaters.

But based on your code, it looks like you are using a repeater anyways?