added a loop to list product options but still not working as expected