This is the setup:
I have a Matrix field called Breads. There is 1 block called Bread.
Within, I have two fields:
- An Entries field called Selected bread (limited to 1 entry)
- A Number field called Quantity.
Lets say I have 3 rows. Row 1 and 3 have the same entry selected, but different quantities. Is there a way to group by the Bread entry id, but get the different quantities?
The goal is to consider all entries with same id as "one", and to make it easy to sum them together.