Custom product options coded in code editor WONT ADD OPTION TO CART!

I am a amateur learning every day. I have created a custom product in the code editor. here https://www.customsolutionsuk.uk/products/custom-worktops?_pos=1&_psq=work&_ss=e&_v=1.0

The problem i can not fix is making it so it adds to cart and the custom option are included in the order details. the main purpose of this is to quote the job and it creates a job number.

any help will be appreciated.

Jamie