hhuijser/liferay-portal — pull request #1536 by jonathanmccann (2013-10-09 18:24:17+00:00)
Title: LPS-40388

Hey Hugo,

Just a couple of comments on this one:

We went with an alert because there is another alert in the cart.jsp and we would have to refactor the whole jsp in order to use aui:validation stuff.

I wasn't sure about the private static int method. The code would have to be duplicated (as far as I could tell) since it's used in two separate for loops and on each individual item within an array.

Let me know if you have any other questions.

Thanks.