User story: The end-users should be able to pick an image from an image gallery and attach that image to a product before adding it to cart
In Commerce v1 this was possible via line items by defining an entity reference field, along with a couple of other modules e.g. entityreference view widget. A sample, although not 100% finished, can be found in d7demo when you click on the 'add item' button.
I used entity reference since the images are actually nodes with a file field, so that i could also categorise them via term references.
Is the above functionality somehow possible on commerce v2? I cannot find 'line items' as used in v1, but only attributes and variants. However i cannot seem to find the way (configuration or contribs) to achieve the above functionality.
Any pointers to the above issue are very much appreciated.