Fixes the type of the quantity (always an integer) on the "add product" form submission

In reply to #214