I am following along with the depot app and am slightly modifying it for the animal services department to sell pet licenses. They sell 1 year, 5 year, and lifetime licenses for a specific pet. I have it working up to adding a license to the cart. Now for this iteration (loosely based on iteration E in the book) I want to require each line item to have the pet’s name and a description of the pet. I am pretty sure I want to have those fields on the store#index page but am unsure how to include those fields in the ‘Add to Cart’ button’s form.
Any suggestions are appreciated.