I have a custom option for a product. I would like to retrieve that data after add to cart is pressed but before the product is actually added to the cart.
I want the data '12345'.
I used the checkout_cart_add event observer but I can't get the product as a variable in the observer.php file because the product hasn't been added to the cart yet.
Custom option added from admin backend.
What event should I use? and what function to use to get this custom option data?
Any help would be appreciated.