Woocommerce quantites of a category

Hi does anyone know how this would work?

I have a category in my shop called ‘boxes’. In this category I want the user to choose a box size - for example 10, 20, 30 etc.

Then the user can add that many number of products from the category to the cart. So if they choose box size = 10, they can add 1 x product A, 5 x product B, 4 x product C (in other words totalling up to the box size of 10).

Is there any plugin that can help with this?