Added jquery validate logic and count of products,