I am working on magento 1.7 . I need to insert data in sales_flat_quote_item_option table.I tried with following code:-
$customerId= Mage::helper('customer')->getCustomer()->getId();
$product_id = $_REQUEST['id1'];
$model = Mage::getModel('catalog/product');
$_product = $model->load($product_id);
$quoteObj=Mage::getModel('sales/quote')->assignCustomer($customerId);
$option = array('options'=>array(
"option_id1" => 'option_value1',
"option_id2" => 'option_value2'
));
$request = new Varien_Object();
$request->setData($option);
$quoteObj->addProduct($productObj,$request);
but not able to insert data in this table. Actually this table contains custom options value.I I don't have custom options so just insert another values in this table which is coming from another form.Can anybody help me?