When the user selects their quantity and clicks the add to cart button, the item is added to the cart with the correct quantity. However, if the user clicks add to cart again for the same item but with a different quantity, then that will be added to the original quantity.
What I want to happen is the original item quantity to be removed and updated with the new item quantity.
How would this be possible?