added popups and error state for field on page cart.html