top flash message and add to cart UI side functionality.