I need a custom field in cart in with I can display uploaded file link. I am uploading file at product view page and handling this in observer. although I have change product custom price and quantity in observer and it working fine. Now further I want to show uploaded file link with each item in cart and want this link in order also.
Code which I am using for this is
$item->addOption(array( "product_id" => $item->getProduct()->getId(), "product" => $item->getProduct(), "code" => "FilePath", "value" => $fileSavedPath )); $item->save();
I want to keep $fileSavedPath in a FilePath field. I am a bigginger and not sure about flow that how would I achieve this. Can any one help. Thanks