providing flash notice, using the logger, getting total sum of products in cart