Add quantities to the cart separately

Hi All,

When a customer orders a certain quantity of an item (for example) “Item A”. And then adds more quantity it just adds it together when I would need it on a seperate line.

For example… I have clothing which comes in different sizes. Medium and small.

How do I go about so the items go on seperate lines in the cart.

I.E: Customer adds to cart 3 quantity of item A (In Medium) and then adds 2 Quantity of Item A in Small.

In the cart it just shows 5 quantity. How would I place these on seperate lines so it shows the different quantities on different lines.

Kind Regards,