you have a whole lot of hand coding happening in this file that is causing it not to work.
your are not following these steps:
in the add to cart button, do not bind the option column to anything
Set the option column to be update able from a select list.
after the select list has been added to the page, populate it with the appropriate options.
you are adding in your own code instead. this is why it is not working.