Hello,
I need to delete an item from the cart, but the default methods of magento doesn't works.
Do anyone know some query?
Can anyone tell me in wich table is the itemId stored?
Thanks for any help
Regards
Solved! Go to Solution.
ok, i finally find the answer
$write = Mage::getSingleton('core/resource')->getConnection('core_write'); $write->delete("sales_flat_quote_item", "item_id = $_itemId");
I hope it can help others
regards
View solution in original post