How to get custom product line item text field value?
by using commerce customisable products I created a custom product line type to which I added a text field (Machine name field_license_details). By following this excellent video tutorial
I was able to create a node/page which include the text field I mentioned before. However, what I find impossible to do, is to get the value that the user entered to that field. For example, when the user has entered something in the text field and clicks the add to cart button, I want the text he typed, to be 'placed' to a variable so i can do whatever i like with it, for example display it back to the user or write it down to a file etc. I understand that in order to achieve that I would need to write my own module , but I am not sure which hook I should implement in order to do that and how to extract the string.
As you probably already understood by the nature of the question ,I am just getting started on drupal, so any suggestions would be more than welcome.
Thanks in advance
PS I am using drupal 7.22 (the latest stable version and I have installed the drupal commerce module, the commerce file and commerce customisable products.