Commiting migrations and rollbacks to allow quantities in cart to be grouped together.