I need to create product option that has two inputs (first name and last name). Customer should be able to dynamically add multiple rows of these in product view.
Re: First name and last name as product option * n
You can go and just use JS to manually create new fields with the name = “firstname[]” and “lastname[]” and Magento will throw it in the buyRequest field. (test it, not 100% sure).
if you want it to be validated or do more with hat information (pricing etc) it might be worth looking into creating your own product type.