For example with milk there's chocolate, strawberry, skim, etc.
Even if they're added as separate items it'd be nice to have a way to link them.
Potential easy solution would be a product-subgroups.
Allow nesting product groups.
Dairy > Milk (with w.milk, choc.milk, straw.milk)
Ingredients > Sugar (brown, white, icing)
Would allow for much more granular sorting, and wouldn't complicate anything by creating a "master product" that holds multiple actual products.
I'll be working on this issue in my down time
This is now done like @Wdavery proposed: :)
​/stock​/products​/{productId} returns additional fields for the aggregated amount(s): stock_amount_aggregated and stock_amount_opened_aggregated - contains the same for "normal" products, is_aggregated_amount indicates if aggregation has happenedDemo product is "Chocolate" with the variations "Milk Chocolate" and "Dark Chocolate": https://demo-prerelease.grocy.info


I'm not fully happy with the UI part, but it works - if you have further ideas on this, always welcome... :)
Most helpful comment
I'll be working on this issue in my down time