first, you need to create a new column in the eCart object for each input field. you should set the unique attribute for each of them.
Then in the eCart Add to Cart button behavior, select each of these columns and set them to be Updateable From a Text Box.
This will add the needed input fields to the page.