- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-15-2016
12:45 PM
10-15-2016
12:45 PM
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.
Labels:
1 ACCEPTED SOLUTION
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-15-2016
02:18 PM
10-15-2016
02:18 PM
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
1 REPLY 1
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-15-2016
02:18 PM