How to calculate price for all products in form?