Method for producing product from glass