My collections in strapi
My goal
Collection Items
example of a order
My situation
My solution was to use many to many relations between collections orders and items. So when i create a order like the example from above, i got the following result:
It seems that strapi can't handle repeatable (same id) items in a collection. Am i doing something wrong or is there just no way to make this kind of relations between collections.
In your case, I suggest you use a component (repeatable) to do that.
In the Content Type Builder create a new component. With a number field and a relation field with your products.
In your Order Content Type you add a component field, select the repeatable option and use the component you just created.
With that, in your Orders, you will be able to add a new item, specify which item and the numbers of items (with the interfere field)